커뮤니티

시스템변환

프로필 이미지
한산도
2013-08-29 13:07:48
121
글번호 66944
답변완료
감사드립니다 아래 시스템식(2-77) 변환 부탁드립니다 period1= 5, MA1= 10 shortPeriod = 60 longPeriod = 130 sigPeriod = 9 PERIOD2 = 20 A=PVI(C); B=eavg(A,PERIOD1); F=eavg(A,PERIOD2); G=MACD(shortperiod,longperiod); I=eavg(G,sigperiod); 매수 IF(c>=dayopen(), (A>B and eavg(C,5)>EAVG(C, 10) and G>I), IF((c<DAYOPEN()*0.5 AND C>=(daylow()*1.5)), (A>F and eavg(C,5)>EAVG(C, 10) and G>0), 0)); 매도 A<B and eavg(C,MA1)>C and Crossdown(G,I);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-08-29 14:21:39

안녕하세요? 문의하신 내용 답변드립니다. input : Period1(5), MA1(10), shortPeriod(60), longPeriod(130), sigPeriod(9), PERIOD2(20); var : A(0), B(0), F(0), G(0), I(0); A=PVI(); B=ema(A,PERIOD1); F=ema(A,PERIOD2); G=MACD(shortperiod,longperiod); I=ema(G,sigperiod); //매수 if IFF(c>=dayopen(),(A>B and ema(C,5)>ema(C, 10) and G>I), IFF((c<DAYOPEN()*0.5 AND C>=(daylow()*1.5)), (A>F and ema(C,5)>ema(C, 10) and G>0), 0)) == 1 then buy(); //매도 if A<B and ema(C,MA1)>C and Crossdown(G,I) Then sell(); 즐거운 날 되세요. > 한산도 님이 쓴 글입니다. > 제목 : 시스템변환 > 감사드립니다 아래 시스템식(2-77) 변환 부탁드립니다 period1= 5, MA1= 10 shortPeriod = 60 longPeriod = 130 sigPeriod = 9 PERIOD2 = 20 A=PVI(C); B=eavg(A,PERIOD1); F=eavg(A,PERIOD2); G=MACD(shortperiod,longperiod); I=eavg(G,sigperiod); 매수 IF(c>=dayopen(), (A>B and eavg(C,5)>EAVG(C, 10) and G>I), IF((c<DAYOPEN()*0.5 AND C>=(daylow()*1.5)), (A>F and eavg(C,5)>EAVG(C, 10) and G>0), 0)); 매도 A<B and eavg(C,MA1)>C and Crossdown(G,I);