커뮤니티
수정
2018-10-29 20:20:58
145
글번호 123178
59834번 macd 변수값 순번대로 수정부탁드립니다
답변 1
예스스탁 예스스탁 답변
2018-10-30 10:45:12
안녕하세요
예스스탁입니다.
Input : shortPeriod(10), longPeriod(20);
input : short(12),long(26),sig(9);
var : PriceOsc(0),MACDV(0),MACDS(0);
PriceOsc = OSCP(shortPeriod, longPeriod);
MACDV = (ema(C,short)-ema(C,long))/ema(C,long)*100;
MACDS = ema(MACDv,sig);
if PriceOsc > 0 Then
Plot1(PriceOsc, "OSCP",red);
Else
Plot1(PriceOsc, "OSCP",blue);
if MACDV > 0 Then
Plot2(MACDV, "MACD",red);
Else
Plot2(MACDV, "MACD",blue);
plot3(MACDS,"sig",BLACK);
PlotBaseLine1(0, "기준선 0");
즐거운 하루되세요
> 용각산 님이 쓴 글입니다.
> 제목 : 수정
> 59834번 macd 변수값 순번대로 수정부탁드립니다