Harigami
ログイン
anonymous タイトルなし
No License Python
コピー
//@version=3
study('コゲクラウド', overlay=true)
EMAorSMA = input(title="平均線の選択", defval="SMA", options=["SMA", "EMA"])
FAST= input(title="FASTMA", type=integer, defval=20, minval=1, maxval=10000)
SLOW = input(title="SLOWMA", type=integer, defval=75, minval=1, maxval=10000)
ma_1 = input(title="MA1", type=integer, defval=5, minval=1, maxval=10000)
ma_2 = input(title="MA2", type=integer, defval=14, minval=1, maxval=10000)
ma_3 = input(title="MA3", type=integer, defval=200, minval=1, maxval=10000)
ma_4 = input(title="MA4", type=integer, defval=320, minval=1, maxval=10000)
ma_5 = input(title="MA5", type=integer, defval=1200, minval=1, maxval=10000)
FASTMA = EMAorSMA == "EMA" ? ema(close, FAST) : sma(close, FAST)
SLOWMA = EMAorSMA == "EMA" ? ema(close, SLOW) : sma(close, SLOW)
ma1 = EMAorSMA == "EMA" ? ema(close, ma_1) : sma(close, ma_1)
ma2 = EMAorSMA == "EMA" ? ema(close, ma_2) : sma(close, ma_2)
ma3 = EMAorSMA == "EMA" ? ema(close, ma_3) : sma(close, ma_3)
ma4 = EMAorSMA == "EMA" ? ema(close, ma_4) : sma(close, ma_4)
ma5 = EMAorSMA == "EMA" ? ema(close, ma_5) : sma(close, ma_5)
ec = FASTMA > SLOWMA ? lime:red
plot(FASTMA, color=ec, linewidth=2)
plot(SLOWMA, color=ec, linewidth=2)
fill(plot(FASTMA), plot(SLOWMA), color = ec)
plot(ma1, color=aqua)
plot(ma2, color=yellow)
plot(ma3, color=blue)
plot(ma4, color=white)
plot(ma5, color=purple)


//@version=3
study('コゲクラウド', overlay=true)
EMAorSMA = input(title="平均線の選択", defval="SMA", options=["SMA", "EMA"])
FAST= input(title="FASTMA", type=integer, defval=20, minval=1, maxval=10000)
SLOW = input(title="SLOWMA", type=integer, defval=75, minval=1, maxval=10000)
ma_1 = input(title="MA1", type=integer, defval=5, minval=1, maxval=10000)
ma_2 = input(title="MA2", type=integer, defval=14, minval=1, maxval=10000)
ma_3 = input(title="MA3", type=integer, defval=200, minval=1, maxval=10000)
ma_4 = input(title="MA4", type=integer, defval=320, minval=1, maxval=10000)
ma_5 = input(title="MA5", type=integer, defval=1200, minval=1, maxval=10000)
FASTMA = EMAorSMA == "EMA" ? ema(close, FAST) : sma(close, FAST)
SLOWMA = EMAorSMA == "EMA" ? ema(close, SLOW) : sma(close, SLOW)
ma1 = EMAorSMA == "EMA" ? ema(close, ma_1) : sma(close, ma_1)
ma2 = EMAorSMA == "EMA" ? ema(close, ma_2) : sma(close, ma_2)
ma3 = EMAorSMA == "EMA" ? ema(close, ma_3) : sma(close, ma_3)
ma4 = EMAorSMA == "EMA" ? ema(close, ma_4) : sma(close, ma_4)
ma5 = EMAorSMA == "EMA" ? ema(close, ma_5) : sma(close, ma_5)
ec = FASTMA > SLOWMA ? lime:red
plot(FASTMA, color=ec, linewidth=2)
plot(SLOWMA, color=ec, linewidth=2)
fill(plot(FASTMA), plot(SLOWMA), color = ec)
plot(ma1, color=aqua)
plot(ma2, color=yellow)
plot(ma3, color=blue)
plot(ma4, color=white)
plot(ma5, color=purple)


コンソール
現在、コメントはありません。
最初のコメンターになりませんか?