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 |

RealCode Debugging Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
eroberts911
Posted : Tuesday, April 6, 2010 11:55:59 AM
Registered User
Joined: 10/14/2008
Posts: 23
Thanks, Stockguy, You were right - I was trying to compile an indicator with the Rule compiler. Another problem:I'm trying to debug using the LABEL keyword to print out intermediate calculations (for a RealCode indicator). Compiles with no errors, but no labels are printing. Below is a copy of my code. (First stage of Elder's SafeZone indicator): '# Lookback = UserInput.integer = 10 '# Factor = UserInput.single =2.0 Dim SumPenLow As Single = 0 Dim NumPenLow As Integer = 0 Dim AvgPenLow As Single = 0 SumPenLow = 0 NumPenLow = 0 For i As Integer = 1 To Lookback If Price.Low(i - 1) < Price.Low(i) Then SumPenLow = SumPenLow + Price.Low(i) - Price.Low(i - 1) NumPenLow = NumPenLow + 1 End If Next i AvgPenLow = Factor*SumPenLow / NumPenLow Plot = Price.Low - AvgPenLow Label = NumPenLow
Bruce_L
Posted : Tuesday, April 6, 2010 11:58:07 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Edit your RealCode Indicator and make sure Show Custom Labels is checked (it is unchecked by default).

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
eroberts911
Posted : Tuesday, April 6, 2010 3:42:33 PM
Registered User
Joined: 10/14/2008
Posts: 23
Thanks, Bruce. Show Custom Labels was the answer. Another problem:Getting an error message when trying to save chart.First line of error message is "System.NullReferenceException: Object reference not set to an instance of an object." (I'm trying to save a realcode indicator that uses another indicator on the chart.)Can you help me?
eroberts911
Posted : Tuesday, April 6, 2010 3:46:36 PM
Registered User
Joined: 10/14/2008
Posts: 23
Sorry, Guys, should have posted above as new topic. I did that, but created a duplication in your post list
Bruce_L
Posted : Tuesday, April 6, 2010 3:54:02 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please contact technical support.

All e-mail communication sent to support@worden.com during business hours (Monday through Friday 9AM-11PM and Saturday and Sunday 9AM-3PM ET) should be answered within 20 minutes of arrival.

For an even quicker response to tech support questions, we recommend calling our voice line at (919) 408-0542 (there is no phone support on Sundays, some Market Holidays or after 9PM ET on weekdays).

You can also contact us using Live Chat Support during business hours.

-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.