커뮤니티
부탁드립니다
2017-09-06 17:07:10
110
글번호 112559
수고하십니다
*아래수식에서 PINK색으로바뀔때 가격봉챠트 저가 약간아래에 빨간점표시.
LGREEN으로바뀔때 가격봉챠트 고가 약간위에 파랑점표시.수식부탁드립니다
Input : shortPeriod(12), longPeriod(26), Period(9);
Var : value(0),Direction(0) ;
value = MACD(shortPeriod, longPeriod);
if value > value[1] Then
Direction = 1;
if value < value[1] Then
Direction = -1;
if Direction == 1 and Direction[1] != 1 Then
plot1(L,"검색",BLACK);
if Direction == -1 and Direction[1] != -1 Then
plot1(H,"검색",BLACK);
답변 1
예스스탁 예스스탁 답변
2017-09-07 09:50:19
안녕하세요
예스스탁입니다.
Input : shortPeriod(12), longPeriod(26), Period(9);
Var : value(0),Direction(0) ;
value = MACD(shortPeriod, longPeriod);
if value > value[1] Then
Direction = 1;
if value < value[1] Then
Direction = -1;
if Direction == 1 and Direction[1] != 1 Then
plot1(L-PriceScale*2,"검색",BLACK);
if Direction == -1 and Direction[1] != -1 Then
plot1(H+PriceScale*2,"검색",BLACK);
즐거운 하루되세요
> 파생돌이 님이 쓴 글입니다.
> 제목 : 부탁드립니다
> 수고하십니다
*아래수식에서 PINK색으로바뀔때 가격봉챠트 저가 약간아래에 빨간점표시.
LGREEN으로바뀔때 가격봉챠트 고가 약간위에 파랑점표시.수식부탁드립니다
Input : shortPeriod(12), longPeriod(26), Period(9);
Var : value(0),Direction(0) ;
value = MACD(shortPeriod, longPeriod);
if value > value[1] Then
Direction = 1;
if value < value[1] Then
Direction = -1;
if Direction == 1 and Direction[1] != 1 Then
plot1(L,"검색",BLACK);
if Direction == -1 and Direction[1] != -1 Then
plot1(H,"검색",BLACK);
다음글
이전글