Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bollinger bands

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

    bollinger bands

    I'm looking for a way to draw a arrow or diamond above/below bar that has penetrated above/below the bollinger bands

    #2
    What do you mean permanently above/below? You can use the Draw() methods corresponding to the shape you want. If you give each draw a unique name it won't modify the previous draw and keep it on the chart "permanently".
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      bollingers

      Hey Josh,

      I'm just looking to have a arrow or diamond (doesn't matter) pop up on the bar that "penetrates" or "crosses" either the upper/lower bands.

      Comment


        #4
        Code:
        if (CrossAbove(Close, Bollinger(2, 20).Upper, 1))
             DrawDiamond("CrossAbove", false, 0, High[0] + TickSize, Color.Red);
        Give that a try. Haven't tested.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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