Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Plot function Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
shabazm
Posted : Friday, July 10, 2009 4:33:49 PM
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
Bruce_L
Posted : Friday, July 10, 2009 4:45:50 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.