• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy closes down

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

    Strategy closes down

    Hello, I am testing a simple strategy that seems to work well but I randomly get the attached message along with another that refers to market orders above price. This shuts down the strategy. Seems to be related to stop loss but every change seems to have no effect. Very frustrating, any way to stop it from shutting down strategy?

    #2
    Hello RickB60,

    Thanks for your post.

    What type of order method are you using for your stop? (SetStopLoss(), SetTrailStop(), etc. etc.) Do you have more than one exit (stop) method in use?

    What is the strategy Calculate setting? (Calculate.OnBarClose, Calculate.OnPriceChange, Calculate.OnEachTick)?

    Does this occur on backtests in the strategy analyzer, market replay in playback, or with live/real time data?

    What specific error messages do you see in the "Log" tab of the control center that relate to the strategy?
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by lunardiplomacy, Today, 11:35 AM
    2 responses
    6 views
    0 likes
    Last Post lunardiplomacy  
    Started by silverm3170, Today, 11:24 AM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by mefTrader, 01-21-2020, 01:07 PM
    2 responses
    9 views
    0 likes
    Last Post mefTrader  
    Started by zimzam, Today, 11:41 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by StevenNelson, Today, 10:14 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X