커뮤니티
문의드립니다
2017-09-21 11:25:13
100
글번호 112955
MACD와Price oscillator지표겹치지 잘부탁드립니다
답변 1
예스스탁 예스스탁 답변
2017-09-21 14:55:08
안녕하세요
예스스탁입니다.
Input : shortPeriod(10), longPeriod(20);
input : short(12),long(26);
var : PriceOsc(0),MACDV(0);
PriceOsc = OSCP(shortPeriod, longPeriod);
MACDV = (ema(C,short)-ema(C,long))/ema(C,long)*100;
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);
PlotBaseLine1(0, "기준선 0");
즐거운 하루되세요
> 용각산 님이 쓴 글입니다.
> 제목 : 문의드립니다
> MACD와Price oscillator지표겹치지 잘부탁드립니다