|
Indianapolis, Indiana/ USA
Experience: Advanced
Platform: MT4, Ninjatrader
Broker: AMP / CQG
Trading: Futures
Posts: 64 since Oct 2012
Thanks Given: 112
Thanks Received: 35
|
Need help determining where and how to declare the variables for this chop indicator code. I am having trouble figuring this out from the NT help guide. Code calculation below :
{
double ChopIndicator = ((100 * Log10 (sum(atr(1),14)/maxhi(14)- minlo(14)))/log10(14));
{
Does this go in the variable section, the onbarupdate section, both or neither ? Would all these be double types also ?
Confused ?
After they are defined can I call them with :
Plot0.Set(value);
Plot1.Set(value);
etc, etc,
Thanks,
Richard
|