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
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?
//@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)")