|07-19-2011, 05:37 PM||#1|
Join Date: May 2011
Thanked 0 times in 0 posts
bar out of valid range
I have an indicator that uses DrawArrowDown. It works fine most of the time but occasionally runs into an error:
DrawArrowDown: bar out of valid range 0 through -1 was 0.
If I close the chart and create a new chart it usually goes away.
Any ideas on how I could handle this?
I have put all the suggested:
if (CurrentBar < 1) return;
|Thread||Thread Starter||Forum||Replies||Last Post|
|Stop orders only valid for one bar?||BillyRayValentine||Strategy Development||3||11-06-2010 12:26 PM|
|Value outside of valid range error in beta22||sbgtrading||Version 7 Beta General Questions & Bug Reports||2||10-19-2010 04:43 PM|
|DrawText: startBarsAgo out of valid range||Sleeping Troll||Indicator Development||2||03-16-2010 07:15 AM|
|Bar out of valid range 0 through -1, was 0||Zapzap||General Programming||6||10-17-2008 12:17 AM|
|I want a "Cross" condition to be valid for more than one bar||NinjaTrader_Ray||General Programming||2||11-26-2007 09:27 PM|