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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    110 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    59 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    37 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    41 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    78 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X