Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Price flatlines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.


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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    62 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X