Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Crossbelow 0 lookback

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

    Crossbelow 0 lookback

    The default Cross below lookback period is 1, can I use 0 so its looking at the same current bar?
    Will it work at all? thanks

    Code:
    ex: if (CrossBelow(Stochastics1.K, Stochastics1.D, 0))
    {
    exitlong
    }

    #2
    Hi ezrollin that would not work because it needs to be above on the previous bar and below on the next bar. The period should be at least 1.

    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    429 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    281 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    241 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    330 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    290 views
    0 likes
    Last Post CarlTrading  
    Working...
    X