Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EMA CrossOver Robot

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

    EMA CrossOver Robot

    Does anyone knows how to program with the Strategy builder a robot that put a market Buy/Sell order once the candle on 2 Min closes above or below the EMA? Looks pretty simple but I am doing something wrong cause there is no way that can program it.

    Thank you

    #2
    Welcome to the forums francosano!

    If you are new to the Strategy Builder, I highly recommend starting out with the Strategy Builder 301 tutorial and to test out our example conditions and actions before doing anything else. From these, I suggest testing simple logic based on these examples before scaling up a larger strategy.

    Strategy Builder 301 — https://www.youtube.com/watch?v=_KQF2Sv27oE

    Conditions examples —https://ninjatrader.com/support/help...on_builder.htm

    Actions examples — https://ninjatrader.com/support/help...us/actions.htm

    You can reference making crossover conditions and indicator to price comparisons from our Conditions examples. For example, you can check if the current market price (Close[0]) crosses above or below your EMA indicator .

    Under Actions examples, please then see how to enter a market position. You can use EnterLong()/EnterShort() to submit a market order.

    We look forward to assisting.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X