Day_Candleインジケータ―
こんにちは、DRGです。
(https://twitter.com/drgxxxx)
日足のopen値,close値+日足のEMA(20)を表示するインジケーターです。
こちらのインジケータは無料です。ご自由にお使いください。
*pineエディタにコピペで使用できます。
study("Day_Candle(white)",overlay=true)
res = input("D", type=resolution)
o = security(tickerid, res, open)
c = security(tickerid, res, close)
col = c[1] >= o ? #00057a : #7a0005
po = plot(o, color=col, title="Open",style=circles,transp=0)
pc = plot(c, color=col, title="Close",style=circles,transp=0)
ema_len=input(20)
EMA = security(tickerid, res, ema(close, ema_len))
BullStatus1 = EMA > EMA[1]
BearStatus1 = EMA < EMA[1]
Color1 = BullStatus1 ? black : BearStatus1 ? black : black
plot(EMA,color=Color1,linewidth=2,transp=0)
この記事が気に入ったらサポートをしてみませんか?