Registered User Joined: 10/27/2004 Posts: 821 Location: Philly area
|
I would like to write an indicator where the variable is the present number of screen bars currently displayed. For example, if I was using HHV in an indicator, the HHV periods would adsjust as I used the slider to change the screen periods.
Clearly the SF software knows and uses this value - so is there a way for me to use it?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
There is a Block called BarCount which can be accessed in a Block Diagram by right-clicking and selecting Data From Other Tools.
ActiveChart.BarsVisible will return the same thing in RealCode. You will also want to add the following line to your RealCode.
'#RECALC_ON_ZOOM_SCROLL
StockFinder 5 RealCode Reference
-Bruce Personal Criteria Formulas TC2000 Support Articles
|