Thanks to Cone I am able to plot a lovely indicator of the up vs down volume.
The plot requires the loop
for(int bar = 1; bar < Bars.Count; bar++)
I added a Strategy of looking for new highs. It back tested fine with the same code
for(int bar = 1; bar < Bars.Count; bar++)
As I understand it, to turn this Strategy Monitoring I need to change
for(int bar = 1; bar < Bars.Count; bar++)
to
int bar = Bars.Count - 1;
This works but then the indicator plot is lost.
I could create two Strategies to explore the same conditions. For example:
StrategyOneChart &
StrategyOneMonitor
The first one for viewing and the second one for monitoring. Is this the way to go or is there a more eloquent solution?
Once again, thanks for the help !
Tobey
Code below
CODE:
Please log in to see this code.