I look in the downloads and Indicator forums, but dont see anything quite what I need.
I hope there are some suggestions on how to best accomplish this in NTScript.
Basically I am trying to count back from the last drawn bar, until the goal of having equal # of Up bars and Down bars is reached, and then display the values of the # of bars that covers: eventually I would like to be able to have the value sent to an indicator (such as the # of periods field for a moving average). A box drawn including all the bars would be a great assist.
Up bars have close > open
Down bars have close < open
Nil bars have open = close
# of bars covered would be Up bars + Down bars + Nil bars
I am sure this is likely a simple thing to do in NTScript. I have done a little scripting in FDC, hope I can pickup the C# as I explore further.
Thanks very much in advance,
TJ
Comment