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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    68 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X