커뮤니티

수정해주세요---------

프로필 이미지
leekss1
2012-03-16 07:11:30
468
글번호 48988
답변완료
Condition11 == true and sTime>090100 and sTime<143000 and dayPL > -(당일손절/BigPointValue) Then{ if MarketPosition == 0 and Condition1==True Then{ buy("b1",AtStop,상상기준); sell("s1",AtStop,하하기준); 위조건에서느 해당되는데 "highest(H,20)-lowest(L,20) >= C*0.003"조건에 해당되면 이번 "상상기준,하하기준"에서는 진입안하게 해주세요 ("상상기준,하하기준"이 장중 계속나옴)
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-03-16 10:27:17

안녕하세요 예스스탁입니다. 상상기준과 하하기준값이 나타나면 Condition11이 true가 되는 식이시면 아래와 같이 식을 구성하시면 됩니다 if Condition11 == true an highest(H,20)-lowest(L,20) >= C*0.003 Then Condition11 = false; if Condition11 == true and sTime>090100 and sTime<143000 and dayPL > -(당일손절/BigPointValue) Then{ if MarketPosition == 0 and Condition1==True Then{ buy("b1",AtStop,상상기준); sell("s1",AtStop,하하기준); } 즐거운 하루되세요 > leekss1 님이 쓴 글입니다. > 제목 : 수정해주세요--------- > Condition11 == true and sTime>090100 and sTime<143000 and dayPL > -(당일손절/BigPointValue) Then{ if MarketPosition == 0 and Condition1==True Then{ buy("b1",AtStop,상상기준); sell("s1",AtStop,하하기준); 위조건에서느 해당되는데 "highest(H,20)-lowest(L,20) >= C*0.003"조건에 해당되면 이번 "상상기준,하하기준"에서는 진입안하게 해주세요 ("상상기준,하하기준"이 장중 계속나옴)