今日の設定
//@version=4
study(title="Yolochimaru 5 moving average", shorttitle="YolochiSMA", overlay=true)
out1 = sma(close, 5)
plot(out1, color=color.red, title="5MA", linewidth=2)
out2 = sma(close, 20)
plot(out2, color=color.green, title="20MA", linewidth=2)
out3 = sma(close, 60)
plot(out3, color=color.blue, title="60MA", linewidth=2)
out4 = sma(close, 100)
plot(out4, color=color.purple, title="100MA", linewidth=2)
out5 = sma(close, 300)
plot(out5, color=color.orange, title="300MA", linewidth=2)
out6 = sma(close, 200)
plot(out6, color=color.black, title="200MA", linewidth=1)
out7= sma(close, 3)
plot(out7, color=#f16bd0, title="3MA", linewidth=2)
out8 = sma(close, 7)
plot(out8, color=#da7013, title="7MA", linewidth=2)
out9 = sma(close, 1)
plot(out8, color=color.rgb(6, 6, 5), title="1MA", linewidth=2)
この記事が気に入ったらサポートをしてみませんか?