커뮤니티

시스템식

프로필 이미지
erwe343
2011-02-10 10:59:02
810
글번호 35602
답변완료
30일 이평선 위에서만 매수 시그날이 나오도록 아래의 식변형 부탁합니다. var : cnt(0),count(0); if dayindex == 0 Then count = 0; if count < 1 and C < daylow(1) Then{ buy(); count = 0; } if MarketPosition == 1 Then{ if sdate == EntryDate Then var1 = dayhigh; if C > var1 Then ExitLong(); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2011-02-10 14:01:16

안녕하세요 예스스탁입니다. var : cnt(0),count(0); if dayindex == 0 Then count = 0; if count < 1 and C < daylow(1) and c > ma(c,30) Then{ buy(); count = 0; } if MarketPosition == 1 Then{ if sdate == EntryDate Then var1 = dayhigh; if C > var1 Then ExitLong(); } 즐거운 하루되세요 > erwe343 님이 쓴 글입니다. > 제목 : 시스템식 > 30일 이평선 위에서만 매수 시그날이 나오도록 아래의 식변형 부탁합니다. var : cnt(0),count(0); if dayindex == 0 Then count = 0; if count < 1 and C < daylow(1) Then{ buy(); count = 0; } if MarketPosition == 1 Then{ if sdate == EntryDate Then var1 = dayhigh; if C > var1 Then ExitLong(); }