커뮤니티

시스템식 질문입니다

프로필 이미지
파인애플
2009-07-02 06:45:49
513
글번호 23212
답변완료
1번지표 if dayindex >= 1 Then{ Plot1((ma(C[150],10))+dayopen*0.35); } 2번지표 if dayindex >= 1 Then{ Plot2(ma(C,5)); } 옵션 2초차트 매매시간 0905 -1400 매매횟수:3회 2번지표가 1번지표 골든크로스 1차 매수 1차매수의 손절,익절 이후 900봉 이후 같은 조건으로 2차 매수 900봉 후 같은 조건으로 3차 매수 감사합니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2009-07-02 16:54:58

안녕하세요 예스스탁입니다. var : cnt(0),count(0); count = 0; for cnt = 0 to 20{ if sdate == EntryDate(cnt) Then count = count+1; } var1 = (ma(C[150],10))+dayopen*0.35; var2 = ma(C,5); If dayindex >= 1 and stime >= 90500 and stime <= 140000 Then{ if count == 0 and crossup(var1,var2) Then buy(); if IsExitName("StopLoss",1) or IsExitName("StopProfittarget",1) Then{ if count == 1 and BarsSinceExit(1) >= 900 and crossup(var1,var2) Then buy(); if count == 2 and BarsSinceExit(1) >= 900 and crossup(var1,var2) Then buy(); } } 즐거운 하루되세요 > 파인애플 님이 쓴 글입니다. > 제목 : 시스템식 질문입니다 > 1번지표 if dayindex >= 1 Then{ Plot1((ma(C[150],10))+dayopen*0.35); } 2번지표 if dayindex >= 1 Then{ Plot2(ma(C,5)); } 옵션 2초차트 매매시간 0905 -1400 매매횟수:3회 2번지표가 1번지표 골든크로스 1차 매수 1차매수의 손절,익절 이후 900봉 이후 같은 조건으로 2차 매수 900봉 후 같은 조건으로 3차 매수 감사합니다