커뮤니티

문의드립니다.

프로필 이미지
아침
2021-06-04 00:23:45
965
글번호 149625
답변완료
시작시간 오전 8시 부터..다음날 오전5시50분까지.. rsi20상향돌파 매수.매수된 그 캔들의 저가를 하향돌파봉완성후 매도. rsi80상향돌파 매수. 그럼 수고하세요.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2021-06-04 13:16:12

안녕하세요 예스스탁입니다. input : StartTime(80000),EndTime(055000),RSIP(14); var : Tcond(false),Rsiv(0); Rsiv = RSI(RSIP); if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then Tcond = true; if Tcond == true Then { if CrossUp(RSIV,20) Then Buy(); if CrossUp(RSIV,80) Then Buy(); if MarketPosition == 1 Then ExitLong("bx",AtStop,L[BarsSinceEntry]); } IF Endtime > starttime Then SetStopEndofday(Endtime); Else { if sDate != sDate[1] Then SetStopEndofday(Endtime); } if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then { IF Endtime <= starttime Then { SetStopEndofday(0); } } 즐거운 하루되세요 > 아침 님이 쓴 글입니다. > 제목 : 문의드립니다. > 시작시간 오전 8시 부터..다음날 오전5시50분까지.. rsi20상향돌파 매수.매수된 그 캔들의 저가를 하향돌파봉완성후 매도. rsi80상향돌파 매수. 그럼 수고하세요.