Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
5 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
28 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
Comment