커뮤니티

시스템 수식부탁합니다

프로필 이미지
거암
2020-04-18 11:53:47
751
글번호 138075
답변완료
수고하십니다 아래수식에 시간을 추가 부탁합니다 9시부터 12시까지 진입 청산 Input: AccelFactor(0.02); Variables: ParabolicValue(0); ParabolicValue = SAR(AccelFactor, 0.2); If High <= ParabolicValue Then Buy ("Pblc", AtStop, ParabolicValue);
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-04-20 11:52:55

안녕하세요 예스스탁입니다. input : StartTime(90000),EndTime(120000); Input: AccelFactor(0.02); Variables: ParabolicValue(0); var : Tcond(false); if (sdate != sdate[1] and stime >= StartTime) or (sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then Tcond = true; if (sdate != sdate[1] and stime >= EndTime) or (sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then Tcond = False; ParabolicValue = SAR(AccelFactor, 0.2); If Tcond == true and High <= ParabolicValue Then Buy ("Pblc", AtStop, ParabolicValue); SetStopEndofday(EndTime); 즐거운 하루되세요 > 거암 님이 쓴 글입니다. > 제목 : 시스템 수식부탁합니다 > 수고하십니다 아래수식에 시간을 추가 부탁합니다 9시부터 12시까지 진입 청산 Input: AccelFactor(0.02); Variables: ParabolicValue(0); ParabolicValue = SAR(AccelFactor, 0.2); If High <= ParabolicValue Then Buy ("Pblc", AtStop, ParabolicValue);