커뮤니티

부탁합니다.

프로필 이미지
시그너스
2013-02-07 16:06:21
317
글번호 59249
답변완료
Var : value(0); value = 0; # 매수 / 매도청산 If CCI(9) > 0 Then value = 1; If MACD(12,26) > 0 Then value = value+1; If DIPlus(14) > DIMinus(14) Then value = value+1; If StochasticsK(12,5) > StochasticsD(12,5,5) Then value = value+1; # 매수/매도청산 If value >= 3 Then { Buy(); } value = 0; # 매도/매수청산 If CCI(9) < 0 Then value = 1; If MACD(12,26) < 0 Then value = value+1; If DIPlus(14) < DIMinus(14) Then value = value+1; If StochasticsK(12,5) < StochasticsD(12,5,5) Then value = value+1; If value >= 3 Then { Sell(); } 기본 제공되는 위식의 시스템에서 다른지표를 추가하는방법 부탁합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-02-07 17:06:36

안녕하세요 예스스타입니다. buy나 sell의 if조건식 위에 if 조건식 then value = vlaue+1; 로 계속 조건을 추가해 가시면 됩니다. Var : value(0); value = 0; If CCI(9) > 0 Then value = value+1; If MACD(12,26) > 0 Then value = value+1; If DIPlus(14) > DIMinus(14) Then value = value+1; If StochasticsK(12,5) > StochasticsD(12,5,5) Then value = value+1; if 매수조건추가내용 Then value = vlaue+1' If value >= 3 Then { Buy(); } value = 0; If CCI(9) < 0 Then value = value+1; If MACD(12,26) < 0 Then value = value+1; If DIPlus(14) < DIMinus(14) Then value = value+1; If StochasticsK(12,5) < StochasticsD(12,5,5) Then value = value+1; If 매도조건추가내용 Then value = value+1; If value >= 3 Then { Sell(); } 즐거운 하루되세요 > 시그너스 님이 쓴 글입니다. > 제목 : 부탁합니다. > Var : value(0); value = 0; # 매수 / 매도청산 If CCI(9) > 0 Then value = 1; If MACD(12,26) > 0 Then value = value+1; If DIPlus(14) > DIMinus(14) Then value = value+1; If StochasticsK(12,5) > StochasticsD(12,5,5) Then value = value+1; # 매수/매도청산 If value >= 3 Then { Buy(); } value = 0; # 매도/매수청산 If CCI(9) < 0 Then value = 1; If MACD(12,26) < 0 Then value = value+1; If DIPlus(14) < DIMinus(14) Then value = value+1; If StochasticsK(12,5) < StochasticsD(12,5,5) Then value = value+1; If value >= 3 Then { Sell(); } 기본 제공되는 위식의 시스템에서 다른지표를 추가하는방법 부탁합니다.