Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stops and Profit Targets ( Money Management )

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

    Stops and Profit Targets ( Money Management )

    I'm new to NinjaTrader and using the strategy wizard ive managed to create the basic rules of the strategy that i want to test, however i dont really have much of a clue as how to set up my stop loss and profit targets.

    This is what i want to do;

    Stop loss above/below the high/low of the bar just before entry ( i enter on close of bar).

    Have a user defined variable(say X) that says if the Difference between the entry price and the stop price(say R) is greater than 15 ticks for example, then no trade.

    Profit targets that relate to R rather than fixed number of ticks. eg. 1R, 2R, 3R

    Scale out of positions at Profit targets.

    My programming knowledge is limited but any help i can get would be highly appreciated.

    #2
    Hello kzulu,
    Welcome to the forum and I am happy to assist you.

    Unfortunately you cannot do it using the wizard. You have to unlock the strategy and further custom code it using the NinjaScript Editor.

    If you are new to NinjaTrader and NinjaScript coding then I would suggest looking into the below tutorials first:

    To learn NinjaScript please go through these help guide references first to get some basic knowledge.
    Please go through this YouTube video which demonstrates how to develop a strategy using the Strategy Wizard

    Lastly, view the inbuilt indicator and strategies that comes preloaded with NinjaTrader.
    • In Control Center menu bar, goto Tools>Edit NinjaScript…>Indicator/Strategy
    • In the Indicator/Strategy dialog double click on any indicator/strategy to open the same in the NinjaScript editor and see how the same is coded.


    We have just launched our YouTube channel and are working to expand the base, which will also include tutorials on NinjaScript development.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    572 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X