I want to BUY if a previous value was below the Lower Band and is now above
or if CLOSE is above the Upper Band plus 3%
SELL if a previous value was above the Upper Band and is now below
or SELL if the CLOSE is below the bottom band minus 3%
I want to BUY if a previous value was below the Lower Band and is now above
or if CLOSE is above the Upper Band plus 3%
SELL if a previous value was above the Upper Band and is now below
or SELL if the CLOSE is below the bottom band minus 3%
BUY
SET Bottom = BBB(CLOSE,20,2,EXPONENTIAL)
SET Top = BBT(CLOSE,20,2,EXPONENTIAL)
((REF(CLOSE,1) < REF(Bottom,1)) AND
CLOSE > Bottom) OR
CLOSE > Top * 1.03
SELL
SET Bottom = BBB(CLOSE,20,2,EXPONENTIAL)
SET Top = BBT(CLOSE,20,2,EXPONENTIAL)
((REF(CLOSE,1) > REF(TOP,1)) AND
CLOSE < Top) OR
CLOSE < Bottom * 0.97
I want access to PI, can i please participate in the early adoptors program?
Can you plz tell me how to get Bollinger Band on Pi?
Sir, i have tried ur code but un fortunately getting error.
Could u plz guide me
thanks
Ganapati
For the above given condition
Buy Script:
CLOSE > BBB(CLOSE,20,2,EXPONENTIAL) OR CLOSE > BBT(CLOSE,20,2,EXPONENTIAL) * 1.03
Sell Script:
CLOSE < BBT(CLOSE,20,2,EXPONENTIAL) OR CLOSE < BBB(CLOSE,20,2,EXPONENTIAL) * 0.97
Hi,
I presume your looking to add the bollinger band study on the chart. to do go to your marketwatch, right-click on your desired stock and add a chart. After this is done, add a ‘study’ to your chart and select ‘bollinger band’ as the study. Shortly you’ll see a bollinger band added to your chart.