OPEN-SOURCE SCRIPT

High Low DayBox

//Created By Ahoudori
//High Low DayBox
study(title="High Low DayBox", shorttitle="High Low DayBox", overlay=true)
st = input(true, title="Show Todays OHLC?")
//sy = input(false, title="Show Yesterdays OHLC?")

//Daily
ph = security(tickerid, 'D', high)
//pdh = security(tickerid, 'D', high[1])
pl = security(tickerid, 'D', low)
//pdl = security(tickerid, 'D', low[1])

//Daily Plots
//offs_daily = 0
plot(st and ph ? ph : na, title="Daily High", style=line, linewidth=1, color=blue)
//plot(sy and pdh ? pdh : na, title="Previous Daily High", style=cross, linewidth=1, color=lime)
plot(st and pl ? pl : na, title="Daily Low", style=line, linewidth=1, color=red)
//plot(sy and pdl ? pdl : na, title="Previous Daily Low", style=cross, linewidth=1, color=red)
Breadth Indicators

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明