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 NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    93 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    152 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    80 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    53 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    65 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X