HPotter

Disparity Index

889 vues
285
Disparity Index
The related article is copyrighted materialfrom Stocks & Commodities Dec 2009
Supprimer des scripts favoris Ajouter aux scripts favoris
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 12/09/2014
// The related article is copyrighted materialfrom Stocks & Commodities Dec 2009
////////////////////////////////////////////////////////////
study(title="CMOaDisparity Index")
LengthFirst = input(200, minval=1)
LengthSecond = input(50, minval=1)
LengthThird = input(20, minval=1)
ShowFirst = input(type=bool, defval=true)
ShowSecond = input(type=bool, defval=true)
ShowThird = input(type=bool, defval=true)
xEMAFirst = ema(close,LengthFirst)
xEMASecond  = ema(close,LengthSecond)
xEMAThird  = ema(close,LengthThird)
xResFirst = 100 * (close - xEMAFirst) / close
xResSecond = 100 * (close - xEMASecond) / close
xResThird = 100 * (close - xEMAThird) / close
plot(ShowFirst ? xResFirst : na, color=red, title="DIX 1")
plot(ShowSecond ? xResSecond : na, color=blue, title="DIX 2")
plot(ShowThird ? xResThird : na, color=green, title="DIX 3")

Commentaires

Bitcoin is getting "green" again with the 20 day moving average being on top

Répondre
HPotter ChartArt
Singal for buy )))
Répondre
Accueil Screener d'actions Screener Forex Screener Crypto Calendrier économique Comment ça marche Caractéristiques du graphique Prix Parrainer un ami Règles de conduite Centre d'aide Solutions site web & courtier Widgets Solutions de cartographie Bibliothèque de graphiques allégés Blog & News Twitter
Profil Paramètres du Profil Compte et Facturation Parrainer un ami Mes tickets au support Centre d'aide Idées Publiées Followers Suivi(e) Messages privés Chat Se Déconnecter