This indicator was created to see the total dollar (or whatever currency pair) amount spread between the upper and lower Bollinger Bands. This knowledge of knowing this spread can be used to indicate upcoming periods of high volatility in a market. The fundamental idea behind predicting periods of high volatility is backed up by the idea that periods of low...
Sapphire looks for standar deviation trade signals and does not filter the results in anyway. You will often be told by the indicator to buy & hold at a loss or to exit positions prematurely and miss out on noteworthy gains (in excess of 15% at times!).
This script was published as an educational example and not suggested for use in trading .
Standard Deviation For Recovery, If you are using martin gale strategy, you can use this, just use the first GREEN line on the indicator, please note once GREEN, does not mean it's always safe to continue...
It's just a tool
I was curious to see what Pine uses to accumulate numbers. It looks like it uses the simple "add em up" approach, rather than a compensated summation. This means that especially for large numbers, there is an inherent error amount.
This script implements the Kahan Summation Algorithm, also known as compensated summation....
This strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65.
The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.
Standard Error Bands - Code by @XeL_arjona
Original implementation by:
Traders issue: Stocks & Commodities V. 14:9 (375-379):
Standard Error Bands by Jon Andersen
For a quick and publicly open explanation of this Statistical indicator, you can refer at Here!
Extract from the former URL:
Standard Error bands are...