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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    77 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X