Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Price flatlines
Collapse
X
-
Price flatlines
Hi, I'm trying to use the Strategy Builder to develop an Entry Strategy. But when I apply it, the candles disappear into a flat line and the scale goes from 0 at the bottom to the current price near the top of the chart. I'd like to copy and paste the code so you could see what I've done, but I can't figure out how to do that. Any suggestions on how to proceed? Thanks for the help.
Tags: None
-
Hello HotCabbage%4823,
Thanks for your post and welcome to the NinjaTrader forums!
As a guess, it sounds like you may be adding draw objects to display on the chart and have set them to Autoscale true but left the Y value at the default of 0 (zero). The autoscale true will force the chart to draw the object and change the scale to make sure it is visible and if at 0 then you will get what you describe.
Here is a short video that covers adding draw objects and how to see all of them as well as locate them for best viewing: https://paul-ninjatrader.tinytake.co...MF8xMTMwNTc0MA
If that is not the issue, please feel free to either post screenshots of the strategy builder screens or attach the strategy builder source code file itself. The strategy source code file is found in Documents>NinjaTrader8>bin>Custom>Strategies> and will be as you named the strategy and will be a .cs file type.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
89 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment