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 jaybedreamin, Today, 05:56 PM
    0 responses
    7 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    4 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    12 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    13 views
    0 likes
    Last Post bltdavid  
    Working...
    X