Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert

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

    Alert

    Ninja,

    I am trying to set up an alert that will trigger when a initial candlestick crosses over and closes above or below the center of a bollinger band on a tick chart..can you help.

    Thanks-Brett

    #2
    Brett, unfortunately we are unable to code out indicators, but I'll give you the pseudo-code for how to check if a bar crossed the middle bollinger band:
    Code:
    if (Open[0] > middleBBand && Close[0] < middleBBand)
    // send alert
    Please take a look at the reference page for Alert() to see what can be done there.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    32 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    34 views
    0 likes
    Last Post love2code2trade  
    Started by cls71, Today, 04:45 AM
    2 responses
    10 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Started by kulwinder73, Today, 10:31 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X