Help needing to for indicators with standard deviation (volatility's cycle)
I'm french, sorry for my english (i mean sorry for Sarkozy =D)
I want to check out my set up on a constant range bar chart. Actually i trade on time bars (barchart) using the Pro Realtime software and i'm going to use the metatrader one to test how my set up works with the momentum bars (Constant Range Bar).
But my knowledge in programation even basic, is the worst here i think, so if you have a sec to help me i will send you sun of french riviera =D.
I have two indicators, both based on standard deviation wich help me to estimate the breakout points, volatility pivots, cycles etc. it's a true toolbox
The first one is a channel, i will give more explanation later...
Here's the code and its meaning.
So from the high we add the standard deviation (calculated on the period wich its variable is "param2") multiplied by param1 (wich is the first variable), and from the low we subtract the same thing.
Because of the result, we smooth it with a "param3" (period) moving average. Param4 is the variable to choose the mode of thes averages : param4=1 to get a simple moving average, 2 for an exponential one etc.
So we have 4 variables :
-param1 wich is a coefficient
The second one is an oscillator :
I've just applied the oscillator of Bollinger to the Bandwidth.
What the result ? here are three of one (each one with different settings)
The code :
So as told earlier we apply the oscillator of Bollinger on the Bandwidth.
Then, we smooth twice with two exponential moving averages (period=2) rather than once with a 4 period moving average (as to me, best choice =D)
Finally, to have a faster signal, i do in an other chart Vvv-Vvv to measure the variation of the Vvv's curve.
Thank you all bests regards !!
EDIT :: for the channel i tested aslo with an ATR instead of STD; but i'm not choosy.
Some charts without explanation (sorry) :
© Forex Factory