커뮤니티

이평 golden,dead 중

프로필 이미지
cycu
2010-10-24 21:46:39
945
글번호 33032
답변완료
안녕하십니까 이동평균 golden,dead 에서, 9시 30분까지는 매도발생후 10분간은 재매수 금지와 동시 에 14시40분이후는 매수금지 식은 어떻게 쓰는지 부탁합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2010-10-25 09:28:48

안녕하세요 예스스탁입니다. Input : shortPeriod(5), longPeriod(20); value1 = ma(C, shortPeriod); value2 = ma(C, longPeriod); If CrossUP(value1, value2) then { if (stime < 93000 and ExitDate(1) != sdate) or (stime < 93000 and TimeToMinutes(stime) >= TimeToMinutes(exitTime(1))+10 and ExitDate(1) == sdate) or (stime >= 93000 and stime < 144000) then Buy("buy"); } If CrossDown(value1, value2) Then { ExitLong("Exit"); } 즐거운 하루되세요 > cycu 님이 쓴 글입니다. > 제목 : 이평 golden,dead 중 > 안녕하십니까 이동평균 golden,dead 에서, 9시 30분까지는 매도발생후 10분간은 재매수 금지와 동시 에 14시40분이후는 매수금지 식은 어떻게 쓰는지 부탁합니다.