Harigami
ログイン
LC23 タイトルなし
No License Python
コピー
//@version=3
study("MA20MTF", overlay=true)

//MA
resA = input(title='5M', type=resolution, defval="1")
resB = input(title='15M', type=resolution, defval="1")
resC = input(title='30M', type=resolution, defval="1")
resD = input(title='1H', type=resolution, defval="1")
resE = input(title='4H', type=resolution, defval="1")

//数値
dataA = security(tickerid, resA, sma(close, 100))
dataB = security(tickerid, resB, sma(close, 300))
dataC = security(tickerid, resC, sma(close, 600))
dataD = security(tickerid, resD, sma(close, 1200))
dataE = security(tickerid, resE, sma(close, 4800))


//カラー
plot(dataA , title='5M',color=yellow, linewidth=1)
plot(dataB , title='15M',color=aqua, linewidth=1)
plot(dataC , title='30M',color=orange, linewidth=1)
plot(dataD , title='1H',color=lime, linewidth=1)
plot(dataE , title='4H',color=red, linewidth=1)
//@version=3
study("MA20MTF", overlay=true)

//MA
resA = input(title='5M', type=resolution, defval="1")
resB = input(title='15M', type=resolution, defval="1")
resC = input(title='30M', type=resolution, defval="1")
resD = input(title='1H', type=resolution, defval="1")
resE = input(title='4H', type=resolution, defval="1")

//数値
dataA = security(tickerid, resA, sma(close, 100))
dataB = security(tickerid, resB, sma(close, 300))
dataC = security(tickerid, resC, sma(close, 600))
dataD = security(tickerid, resD, sma(close, 1200))
dataE = security(tickerid, resE, sma(close, 4800))


//カラー
plot(dataA , title='5M',color=yellow, linewidth=1)
plot(dataB , title='15M',color=aqua, linewidth=1)
plot(dataC , title='30M',color=orange, linewidth=1)
plot(dataD , title='1H',color=lime, linewidth=1)
plot(dataE , title='4H',color=red, linewidth=1)
コンソール
現在、コメントはありません。
最初のコメンターになりませんか?