Dynamic Zone RSX

Category: Indicators By: Matriciel Created: March 17, 2018, 5:18 PM
March 17, 2018, 5:18 PM
Indicators
1 Comment

Hello everyone,

I’m trying to make my small contribution to this sharing site about PRT’s knowledge.
It seems to me that the “Dynamic Zone RSX” is not part of the library.
Good trading !

//Dynamic Zone RSX
//Le 15 mars 2018
//Matriciel @ www.prorealcode.com
//Sharing ProRealTime knowledge

prix = close + 0.5 * STD(high[10])
Hausse = MAX(0, prix-prix[1])
Baisse = MAX(0, prix[1]-prix)
MH = wilderaverage[20](Hausse)
MB = wilderaverage[20](Baisse)
RS = MH/MB
MonRSX = endpointaverage (100-( 100/(1 + RS)))

coeff = 1.2
ind = SQUARE(MonRSX)
ind1 = Average[20](MonRSX)
ind2 = Average[20](ind)
 
variance = ind2 - SQUARE(ind1)
ecart = SQRT(variance)
 
UpBand = ind1 + coeff*ecart
DownBand = ind1  - coeff*ecart
 
RETURN MonRSX AS "RSX", UpBand COLOURED (0,255,0) AS "UpBand", DownBand COLOURED (255,0,0) AS "DownBand"

 

Download
Filename: Dynamic-Zone-RSX.itf
Downloads: 158
Matriciel Master
Code artist, my biography is a blank page waiting to be scripted. Imagine a bio so awesome it hasn't been coded yet.
Author’s Profile

Comments

Logo Logo
Loading...