Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set Stop Loss

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

    #16
    Hello Albaz,

    Thanks for your reply.

    With the strategy wizard you can only use SetStopLoss in the initialize section and this is why you would need to set a static stop loss. The strategy wizard is not capable of using SetStopLoss dynamically as you have been attempting.

    Is the sample/link I previously provided there are examples of both a statically SetStopLoss as well as a dynamiaclly adjusted SetStopLoss, however this is not strategy wizard generated code. To use a dynamically SetStopLoss you would need to work directly in Ninjascript code.

    So the bottom line is yes you can write code for a dynamically SetStopLoss, however not in the strategy wizard.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    264 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    168 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    171 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    257 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    209 views
    0 likes
    Last Post CarlTrading  
    Working...
    X