Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart goes off to 0
Collapse
X
-
Chart goes off to 0
Hi i was wondering what causes this char to go off? it starts alirght trades for a while and sometimes indicator goes to 0 value like in the image. how can this be prevented? its the same contract within 2 week period. Nothing drastic changes...
Tags: None
-
I don't know what your indicator is doing, looks like a parabola from middle school math to me. You should check your code. Maybe there is not enough bars to make plots correctly.
You can disable autoscale in the indicator settings so that it won't mess up your bars.
-
Hello tkaboris,
Thanks for your post.
It is likely something in your code that is causing the indicator to calculate in that manner as Leeroy_Jenkins noted.
Debugging prints should be added to your script to understand exactly how your script is calculating logic and plotting values on the chart.
Below is a link to a forum post that demonstrates how to use prints to understand behavior.
https://ninjatrader.com/support/foru...121#post791121<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
62 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment