I found an interesting article by Thomas Stridsman on a variation of bollinger bands for short-term trading. He is addressing 3 problems of the usual bollinger bands.
1.) For calculating the standard deviation one needs at least 20 (some source even say 30) occurrences. This makes it difficult to use bollinger bands on a SMA with lower periods like one would favor for shortchanged-term trading.
2.) Standard bollingerbands only utilize the closing price and ignore everything else.
3.) Standard Bollinger bands address the changes in price in points, meander bands use the daily change in percentage and give so more comparable results.
The original code is for Tradestation which allows the use of arrays. We don’t have this option with PRT so my code became a little ugly. This is also the reason why it is not possible to change the lookback. It is now fixed to 5 bars lookback and has to be adapted manually in the code if you want to change that.
Thank you, very interesting, do you have the TradeStation source code?, as I could see if I can do something about the array limitation you stated.
Have a look in the attached PDF.
Thank you for the document. You already done a great job with the code, it is now featured in our library: Meander Bands by Thomas Stridsman
Bravo pour la réactivité J’ai regardé les graphes postés et j’ai copié colle le code et j’obtiens un message quand je valide qu’est ce que je dois faire por que ca marche
Je dis n’importe quoi mais ne serait ce pas une question de minuscule ou de majuscule je dis n’importe quoi
Bonne soirée
Deviation is a variable you have to add to the indicator. I think this is your problem inspite of I don’t understand a word of what you write. 🙂
@darcgil
Merci de parler Anglais dans le forum Anglais.
Please speak English in English forum.