Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Doji Alert

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

    Doji Alert

    I'm trying to create a doji alert. It's triggering intrabar. I think what's happening is that the alert is checking on each tick instead of at bar completion. Could you please take a look and tell me what I'm doing wrong?

    Thanks.

    Click image for larger version

Name:	Clipboard Image.jpg
Views:	608
Size:	34.9 KB
ID:	1174398

    #2
    Hello sgordet,

    Unfortunately this is as expected. Alerts trigger in realtime, not at the completion of a price bar. The alert will trigger as soon as the last traded price (Close) is equal to the Open of the price bar.

    If you enter a value of 1 for 'Bars ago' on both sides, does it trigger the alert as you like?

    Comment


      #3
      Either check if Close[1] == Open[1] on the first tick of bar or set your indicator to calculate on bar close. Either will work.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        Thanks, Jason and eDanny.

        Jason, the " bars ago" worked.

        For one bar candlestick patterns, I set the "bars ago" to one on both sides of the comparison, e.g., dojo and marabozo, For two bar patterns, I set the bars to one and two bars ago as appropriate, e.g., engulfing pattern. I was also able to use this methodology to set alerts for some other bar patterns I wanted to follow.

        Thanks, again,
        Stephen

        Comment


          #5
          Hi, can someone code doji indicator that would show only doji that has long tail open and close are the same and very short nose on the top of the candle for bullish doji and vice virsa condition for bearish doji ? Thanks

          Comment


            #6
            Click image for larger version

Name:	image.png
Views:	258
Size:	319 Bytes
ID:	1286587​Something like this

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            41 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            20 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            27 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            45 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            37 views
            0 likes
            Last Post CarlTrading  
            Working...
            X