Dynamic Zone Elasticity
I cant seem to make this work in prooder.
//DYNAMIC ZONE ELASTICITY///
once smoothing = max(1, smoothing+1)
once period = max(1, Period)
// Coeficient, change if required
once coef = 0.8
// Signal line
x = std[Period](close)
signam = 1 + (-1* ( ((average[period](close) + (x*2)) - close) / x ) / 2)
// Dynamic Zones
sq = square(signam)
mean = average[period](signam)
vsqrt = sqrt( average[period](sq) - square(mean) )
//top = mean + coef * vsqrt
btm = mean - coef * vsqrt
result = average[smoothing](signam)
////////////////////////////////////
buycond = result crosses over btm
if buycond then
buy 1 contract at market
set stop %loss 1
set target %profit 1
endif
graph buycond
Please can someone tell me what im missing?
Thanks in advance
Found it. I copied from the indicator settings and missed the period and smoothing.
I still want to discuss this indicator since i cant find a forum post about it.
It seems great for scalping. Maybe needs another indicator for confirmation.
If i find something that works ill post it here.