Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Crossover (Intraday)

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

    Crossover (Intraday)

    Hi,

    my indicators are based on 5minute bars entering a trade, i.e. when price crosses an SMA. As I donot trade on bar close but whenever price ticks over (or under) that indicator, I wonder if price ticks above and below that inducator value, if NT would enter multiple positions?

    Or would NT automatically enter only once until this actual 5 minute time span is over as well?

    And than, as crossover means bar[1] under and bar[0] over (or vice cersa), would NT not enter another trade at the next bar after entering as it would not be a crossover? Only if it would cross back for at least another 5 min bar (or another tick?), ant than cross over again?


    And, if I would check for price above that SMA instead of crossover on a 5min bar time-frame but signaling on ticks, would than each tick execute an entry signal, or each first tick within a 5 minute time-frame?

    Thank you!

    #2
    Hello,

    It depends on how you code it. I suggest using if(Position.MarketPosition == MarketPosition.Flat) in a condition before your entry:


    For executions at the first of each bar use FirstTickOfBar:
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    33 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    70 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    228 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    312 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X