Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert for Bar Closing Above EMA

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

    Alert for Bar Closing Above EMA

    I want to create an Alert for when a bar closes above an EMA. I have the condition set for the Data Series with Bars Bars Ago = 1, Offset = 0 > EMA Bars Ago = 1, Offset = 0.

    Is this correct?

    Also, this is going to be a stop for an existing short position which will have only a target order. The alert will trigger a Buy order. I assume that this will be Buy to Cover and not Buy. I'm going to make a corresponding Alert for a long position. I would think that this is a Sell order and not a Sell Short order?
    Last edited by sgordet; 08-06-2022, 07:52 AM.

    #2
    Hello sgordet,

    Yes, you would set 'Bars ago' to a value of 1, so it triggers the alert after the bar closes.

    Yes, please select 'Buy to cover' for an order that will close a short position. Select 'Sell' for an order that will close a long position.
    JasonNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X