Problem with BollingerDown > BollingerDonw [1]

Forums ProRealTime English forum ProBuilder support Problem with BollingerDown > BollingerDonw [1]

This topic contains 2 replies, has 2 voices, and was last updated by avatar Oliviertrader2020 2 days, 7 hours ago.

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 3 posts - 1 through 3 (of 3 total)
  • #137516

    Hello,

    I’m having a problem with a personal indicator.
    I want an arrow to appear on the chart when the lower Bollinger is higher than the lower Bollinger Band of the previous period (BollingerDown > BollingerDonw [1]).

    For the first part of the code (that of the condition), I used the condtion as it appears when using simplified programming with ProOrder.

    For the second part (the arrow part), I used the method used by @nicolas in one of his videos on Youtube and that works with my other indicators.
    The problem is that the arrow is present on the graph all the time, even when the current bollinger is lower than the low bollinger band of the previous period.
    Can someone help me?

     

    Attachments:
    #137520

    Why are you using the Low from the 75th previous bar to plot the arrows?

    Shouldn’t it be coded like this instead?

     

     

    #137526

    Yes, 75 is a mistake. I was using that level to shift the price arrow to another indicator.
    I used your code by inserting BollingerDown [20] instead of PriceB.
    Thank you for your help Nicolas.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login