커뮤니티

수고 많으십니다...질문드립니다..

프로필 이미지
어게인1999
2013-03-21 16:56:53
197
글번호 61047
답변완료
a 매수식이잇다면 A 매수에 대한 EXITLONG식은 정해줄수가잇는지요? A,B,C,D 매수식이 잇다면 A에 대해서만 반응하는 EXITLONG식이 가능한지요 (B,C,D의 매수에는 반응하지 않고) 매수식은 다음과 같습니다 if MarketPosition == 0 and Condition1 == false and Condition2 and stime < 150000 and ((crossup(c,Value19) and crossup(c,value12) ) or (crossup(c,var86) and crossup(c,value12))) or ((c[1]<var86 and c[1]<value12) and (o>var86 and o>value12)) Then buy("b");
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2013-03-22 11:50:46

안녕하세요 예스스탁입니다. 해당 내용은 진입의 이름으로 지정하셔야 하므로 A,B,C,D를 모두 다른 if문과 buy함수를 이용해 지정하셔야 합니다. if A조건 then buy("a"); if b조건 then buy("b"); if c조건 then buy("c"); if d조건 then buy("d"); buy("b"); if MarketPosition == 1 and IsEntryName("a") == true and 청산조건 Then exitlong(); 즐거운 하루되세요 if mar > 어게인1999 님이 쓴 글입니다. > 제목 : 수고 많으십니다...질문드립니다.. > a 매수식이잇다면 A 매수에 대한 EXITLONG식은 정해줄수가잇는지요? A,B,C,D 매수식이 잇다면 A에 대해서만 반응하는 EXITLONG식이 가능한지요 (B,C,D의 매수에는 반응하지 않고) 매수식은 다음과 같습니다 if MarketPosition == 0 and Condition1 == false and Condition2 and stime < 150000 and ((crossup(c,Value19) and crossup(c,value12) ) or (crossup(c,var86) and crossup(c,value12))) or ((c[1]<var86 and c[1]<value12) and (o>var86 and o>value12)) Then buy("b");