Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Market entry and ema exit

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

    Market entry and ema exit

    I am trying to use the Wizzard and create a Market Price Entry and an EMA 5/6 exit.
    The Idea is that the desired EMA crossover entry was not setup and it is now too late to enter using that strategy. This is to be an alternate entry related to Market price.

    Is the following correct for a LONG MARKET entry? I do not think I can back test it.

    Step one: "IF" EntryPrice>=GetCurrentAsk()
    "DO" EnterLong(DefaultQuantity." ")

    Step two: CrossBelow(EMA(5),EMA(6),1)
    ExitShort(" ". " ")

    If I enter at MARKET would this get me in going long and then out when the crossover occurs? I need a stop for this entry if it were to reverse immediately, but I honestly don't know how. If it gets me in I can monitor it until the profit is high enough to allow the crossover to exit normally

    #2
    You would want to do an ExitLong() order not an ExitShort() order to exit your long position.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    332 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X