커뮤니티

추가 질문드립니다.

프로필 이미지
미카엘
2014-11-10 15:06:17
146
글번호 80245
답변완료
Input : Period1(12),LPercent1(32), SPercent1(70); Input : Period2(12),LPercent2(32), SPercent2(70); Input : Period3(12),LPercent3(32), SPercent3(70); Var : RSIV1(0,data1),RSIV2(0,data2),RSIV3(0,data3); var : EntryCnt(0,data1),entry(0,data1),ST(0,data1); # 진입 시간 제한 if data1(stime == 090000 or (stime > 090000 and stime[1] < 090000)) Then{ entry = 0; ST = TimeToMinutes(stime); } # 진입횟수 if MarketPosition != 0 and MarketPosition != MarketPosition[1] Then entry = entry+1; RSIV1 = data1(RSI(Period1)); RSIV2 = data2(RSI(Period2)); RSIV3 = data3(RSI(Period3)); # 첫봉 종가 급등 관련 조치(var1) if data1(dayindex+1 == 1) Then var1 = C; # 매수 If (entry < 1 and TimeToMinutes(stime) < ST+126 ) then { if (dayindex+1 <= 5 and A매수조건 ) or (dayindex+1 >= 6 and B매수조건 ) Then { if (var1 < DayClose(1)*1.9 and dayindex+1 >= 1) Or (var1 >= DayClose(1)*1.9 and dayindex+1 >= 3) Then buy(); } } * 위의 선언부를 적용한뒤 data3의 RSI가 침체로 크로스다운할 때 주종목을 매수하려면,어떻게 매수식을 작성해야 하는건가요? if crossdown(RSIV3,LPercent3) then buy(); } } 가 맞나요?
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-11-10 16:43:00

안녕하세요 예스스탁입니다. 예 작성하신 내용이 맞습니다. if crossdown(RSIV3,LPercent3) then buy(); } 즐거운 하루되세요 > 미카엘 님이 쓴 글입니다. > 제목 : 추가 질문드립니다. > Input : Period1(12),LPercent1(32), SPercent1(70); Input : Period2(12),LPercent2(32), SPercent2(70); Input : Period3(12),LPercent3(32), SPercent3(70); Var : RSIV1(0,data1),RSIV2(0,data2),RSIV3(0,data3); var : EntryCnt(0,data1),entry(0,data1),ST(0,data1); # 진입 시간 제한 if data1(stime == 090000 or (stime > 090000 and stime[1] < 090000)) Then{ entry = 0; ST = TimeToMinutes(stime); } # 진입횟수 if MarketPosition != 0 and MarketPosition != MarketPosition[1] Then entry = entry+1; RSIV1 = data1(RSI(Period1)); RSIV2 = data2(RSI(Period2)); RSIV3 = data3(RSI(Period3)); # 첫봉 종가 급등 관련 조치(var1) if data1(dayindex+1 == 1) Then var1 = C; # 매수 If (entry < 1 and TimeToMinutes(stime) < ST+126 ) then { if (dayindex+1 <= 5 and A매수조건 ) or (dayindex+1 >= 6 and B매수조건 ) Then { if (var1 < DayClose(1)*1.9 and dayindex+1 >= 1) Or (var1 >= DayClose(1)*1.9 and dayindex+1 >= 3) Then buy(); } } * 위의 선언부를 적용한뒤 data3의 RSI가 침체로 크로스다운할 때 주종목을 매수하려면,어떻게 매수식을 작성해야 하는건가요? if crossdown(RSIV3,LPercent3) then buy(); } } 가 맞나요?