I´m new to PRT but have some experience from other trading platforms. I wanted to make a screener in ProScreener using Bollinger%B but I get the message “Indicator not available in ProBuilder language”… I guess it´s still possible to make with “Creation by programming”? I have no knowledge in programming in PRT so I hope someone please can help me!?
Condition1: Bollinger%B crosses under value/line 90
Condition2: Bollinger%B crosses over value/line 10
“Match any of the conditions”
Thanks in advance!
(I wish this indicator could work with ProBuilder language so I could combine it with more conditions in screeners and trading systems. Anyone knows if it´s coming?)
The below code should work as per the conditions you described for the Bollinger%B crosses.
prix=close
p=20
gd2 = average[p](prix)
sd= 2*STD[p](prix)
bollsup= gd2 + sd
bollinf = gd2 - sd
B1 = 100*(close - bollinf)/ ( BOLLSUP -BOLLINF)
//Condition1: Bollinger%B crosses under value/line 90
c1 = b1 crosses under 90
//Condition2: Bollinger%B crosses over value/line 10
c2 = b1 crosses over 10
screener[c1 or c2]