Gold Customer
Joined: 12/30/2004 Posts: 29
|
how do i reference the ParabolicSAR value in realcode?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Parabalic SAR is a child indicator. This means you can't just select Import Indicator in the RealCode Editor to import it into your RealCode. You need to add it to the chart and then drag and drop it from the chart into the RealCode Editor.
This will create something similar to the following line in your RealCode:
PS = chart.ParabolicSAR
This will allow you to reference the RealCode in the same sort of way you can already access price and volume. For example, to just replot the Parabolic SAR in a RealCode Indicator you could use:
Plot = PS.Value
-Bruce Personal Criteria Formulas TC2000 Support Articles
|