TheYangGuizi

DAX Expected High/Low

Uses VDAX (dax volatility index) to calculate the expected daily range of the Dax.
formula: daytrading.about.com...a/VDAXDailyRange.htm

Input the dax previous days close
and
This value: www.investing.com/indices/vdax
and
The indicator will do the rest
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?
//@version=2
study("VDAX Expected High/Low", overlay=true)
VDAX= input(000.0000,title="VDAX")
Timeframe=input("D")
pdc = security(tickerid, Timeframe, close[1])
PREVDAYCLOSE= input(000.0000, title="Previous (Timeframe) Close")
//

sy = input(false, title="Show Previous (Timeframe) Close?")
plot(sy and pdc ? pdc : na, title="Previous Days Close", style=cross, linewidth=1, color=teal)


PERCENTDAILYRANGE= VDAX/20
POINTSAILYRANGE= (PREVDAYCLOSE/100)*PERCENTDAILYRANGE
EXPECTEDHIGH=PREVDAYCLOSE+POINTSAILYRANGE
EXPECTEDLOW= PREVDAYCLOSE-POINTSAILYRANGE

plot(EXPECTEDHIGH, color=red,style=linebr,title="Expected High")
plot(EXPECTEDLOW, color=green,style=linebr,title="Expected Low")
plot(avg(EXPECTEDHIGH,PREVDAYCLOSE), color=black,style=circles,title="Average Expected High")
plot(avg(EXPECTEDLOW,PREVDAYCLOSE), color=black,style=circles,title="Average Expected Low")
plot(PERCENTDAILYRANGE, color=red,style=linebr,title="% (hide this if it messes up the auto scale)")
plot(POINTSAILYRANGE, color=red,style=linebr,title="P DR (hide this if it messes up the auto scale)")