TV 指標 pine v6 ● 免費
[TV 指標] Session Volatility Map — 開源分享
在 TradingView 標記各交易時段的平均波動區間,附 Pine Script 原始碼與參數說明。
01 / 指標用途
在 TradingView 圖表上自動標記 Asia(00–09 UTC)、London(07–16 UTC)與 New York(13–22 UTC)三個時段的高低點區間,幫助判斷當前價格是否已經走完該時段的平均波幅。
//@version=6
indicator("SAMERA // Session Volatility Map", overlay=true)
inAsia = not na(time(timeframe.period, "0000-0900:1234567", "UTC"))
inLondon = not na(time(timeframe.period, "0700-1600:1234567", "UTC"))
inNY = not na(time(timeframe.period, "1300-2200:1234567", "UTC"))
bgcolor(inNY ? color.new(#3dff8b, 94) : inLondon ? color.new(#4fd9ff, 95) : na)