Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MFI + MACD Simple strategy (5 min)

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

    MFI + MACD Simple strategy (5 min)

    Strategy (for longs):
    Buy Under these two conditions (ALL):
    1. MFI is oversold (under 20)
    2. MACD diff went from below 0, to greater than 0.

    Stoploss:
    Below the candle where long was entered

    Take profit conditions (ALL):
    1. MFI is over bought
    2. MACD diff is smaller than previous bar.


    Not sure how to incorporate the stoploss and take profit as it seems to want a specific percentage. Any idea?

    Thank you.

    #2
    Hello mohdhm,

    Thank you for your note.

    You could set your stop loss as the price of the current low which would be the low the trade was submitted, I have attached a screen shot of how this would look.

    For your profit conditions, you would want to create a new set of conditions and actions (press the plus above the view code button when on the conditions and actions page). You would then write the if statements for MFI overbought and MACD diff being smaller than the previous bar (1 bars ago). If these were true you would then set an action for exit long. I attached a screen shot.

    Please let us know if you need further assistance.


    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    93 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    138 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    123 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    73 views
    0 likes
    Last Post PaulMohn  
    Working...
    X