Registered User Joined: 8/21/2007 Posts: 29
|
I am new to real code - a quick question: when using the "plot" function I get an error message "plot" not defined .
Further I would like to know how to get calculate and display the overhead resistance which is the difference between the previous max high and the present value. Thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
The most likely reason for getting a Plot not defined message would be using the RealCode for a RealCode Indicator in a RealCode Rule or RealCode Paint Brush. The Plot syntax is only valid within the context of a RealCode Rule.
I'm not sure what the "previous max high" is for sure, but if it is just the High of the previous Bar, this difference between this value and the current Price could be Plotted using the following RealCode Indicator:
Plot = Price.High(1) - Price.Last
-Bruce Personal Criteria Formulas TC2000 Support Articles
|