커뮤니티

간단한 질문.

프로필 이미지
sjpapa
2011-01-19 17:18:54
672
글번호 35099
답변완료
매수B, 매수 청산Bx 여기서 청산된 이후 청산된 당일에,그날에 청산가격 회복시 재진입식을 추가해주려고 합니다. Condition1= date==exitdate(1) and marketposition(1)==1; if crossup(c , var1) then buy("B"); if IsEntryName("B") == true and crossdown(c, var2) Then ExitLong("Bx"); if condition1 == true and IsExitName("Bx") == True then buy("B2",atstop,var2); 1) 위 작성식이 맞나요? 신호가 이상하게 뜨네요.. 2) Bx청산식이 재매수 식(B2)에도 그대로 적용이 되는건가요? 아니면 따로 B2 청산식을 작성해줘야하나요? 2) condition1에 marketposition(1)==1 빼도 상관없지 않나요.? 좋은 하루 되세요.
시스템
답변 2
프로필 이미지

예스스탁 예스스탁 답변

2011-01-19 17:45:24

안녕하세요 예스스탁입니다. 아래와 같이 작성하시면 됩니다. if MarketPosition == 0 and ExitDate(1) == sdate and IsExitName("bx",1) and crossup(C,ExitPrice(1)) and MarketPosition(1) == 1 Then buy(); 즐거운 하루되세요 > 휴식 님이 쓴 글입니다. > 제목 : 간단한 질문. > 매수B, 매수 청산Bx 여기서 청산된 이후 청산된 당일에,그날에 청산가격 회복시 재진입식을 추가해주려고 합니다. Condition1= date==exitdate(1) and marketposition(1)==1; if crossup(c , var1) then buy("B"); if IsEntryName("B") == true and crossdown(c, var2) Then ExitLong("Bx"); if condition1 == true and IsExitName("Bx") == True then buy("B2",atstop,var2); 1) 위 작성식이 맞나요? 신호가 이상하게 뜨네요.. 2) Bx청산식이 재매수 식(B2)에도 그대로 적용이 되는건가요? 아니면 따로 B2 청산식을 작성해줘야하나요? 2) condition1에 marketposition(1)==1 빼도 상관없지 않나요.? 좋은 하루 되세요.
프로필 이미지

극과극

2011-02-20 18:24:38

> 휴식 님이 쓴 글입니다. > 제목 : 간단한 질문. > 매수B, 매수 청산Bx 여기서 청산된 이후 청산된 당일에,그날에 청산가격 회복시 재진입식을 추가해주려고 합니다. Condition1= date==exitdate(1) and marketposition(1)==1; if crossup(c , var1) then buy("B"); if IsEntryName("B") == true and crossdown(c, var2) Then ExitLong("Bx"); if condition1 == true and IsExitName("Bx") == True then buy("B2",atstop,var2); 1) 위 작성식이 맞나요? 신호가 이상하게 뜨네요.. 2) Bx청산식이 재매수 식(B2)에도 그대로 적용이 되는건가요? 아니면 따로 B2 청산식을 작성해줘야하나요? 2) condition1에 marketposition(1)==1 빼도 상관없지 않나요.? 좋은 하루 되세요.