How to remove the bollinger band part of the code? Thanks!
Once PercBodyDiff=2//Max.2% body difference
Once PercPriceDiff=2//Max.2% price difference
c1=Open[1]BollingerUp[20][1]//Bullish
c2=Open>BollingerUp[20] and CloseBollingerDown[20][1] and Close[1]BollingerDown[20]//Bullish
BodySize0=Abs(Close-Open)
BodySize1=Abs(Close[1]-Open[1])
c5=Abs((BodySize1-BodySize0)/BodySize1)*100
Once PercBodyDiff=2//Max.2% body difference
Once PercPriceDiff=2//Max.2% price difference
c1=Open[1]BollingerUp[20][1]//Bullish
c2=Open>BollingerUp[20] and CloseBollingerDown[20][1] and Close[1]BollingerDown[20]//Bullish
BodySize0=Abs(Close-Open)
BodySize1=Abs(Close[1]-Open[1])
c5=Abs((BodySize1-BodySize0)/BodySize1)*100
JSParticipant
Senior
There are errors in the BB-conditions (c1 and c2), several “>” and “<” are missing…
If you don’t want the two BB-conditions to work in your code, you can put a comment(out) mark (//) in front of it, and you should also remove the two conditions from your Screener[…]:
…
// c1=Open[1]<BollingerUp[20][1]…
// c2=Open>BollingerUp[20]…
…
Screener[c1 and c2 …] (remove c1 and c2)