커뮤니티

[STAD_05] Currency4Day 질문입니다

프로필 이미지
cinamon
2014-04-05 23:04:50
193
글번호 74164
답변완료
Input: RSILen(50), Pcnt(0.2); If DayOfWeek(Date) == 5 then begin #Long Entry & Exits If RSI(RSILen) > 50 then Buy("",atstop,nextbaropen + Pcnt*atr(10)); ------------------------------------------------- If nextbaropen > High then ExitLong("",atstop,High); ---------------------------------------------- 다음봉의시가(b)가 현재봉의고가(a) 보다 크면 현재봉의고가(a)에서 청산 인거 같은데요 이미 (b)가 (a)보다 큰 상태에서 가격이 (a)까지 내려오면 청산한다는 뜻인가요? 부탁드립니다 // ExitLong("",atstop,Low); #Short Entry & Exits If RSI(RSILen) < 50 then Sell("",atstop,nextbaropen - Pcnt*atr(10)); If nextbaropen < Low then ExitShort("",atstop,Low); // ExitShort("",atstop,High); end; #Exits /*If MarketPosition <> 0 then Begin ExitLong("",AtMarket) ; ExitShort("",AtMarket) ; end;*/
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2014-04-07 16:30:06

안녕하세요 예스스탁입니다. 예 맞습니다. 시가가 직전봉 고가보다 크게 시작하면 시가에서 가격이 내려와 직전봉 고가이하가 되면 즉시 청산하는 식입니다. 즐거운 하루되세요 > cinamon 님이 쓴 글입니다. > 제목 : [STAD_05] Currency4Day 질문입니다 > Input: RSILen(50), Pcnt(0.2); If DayOfWeek(Date) == 5 then begin #Long Entry & Exits If RSI(RSILen) > 50 then Buy("",atstop,nextbaropen + Pcnt*atr(10)); ------------------------------------------------- If nextbaropen > High then ExitLong("",atstop,High); ---------------------------------------------- 다음봉의시가(b)가 현재봉의고가(a) 보다 크면 현재봉의고가(a)에서 청산 인거 같은데요 이미 (b)가 (a)보다 큰 상태에서 가격이 (a)까지 내려오면 청산한다는 뜻인가요? 부탁드립니다 // ExitLong("",atstop,Low); #Short Entry & Exits If RSI(RSILen) < 50 then Sell("",atstop,nextbaropen - Pcnt*atr(10)); If nextbaropen < Low then ExitShort("",atstop,Low); // ExitShort("",atstop,High); end; #Exits /*If MarketPosition <> 0 then Begin ExitLong("",AtMarket) ; ExitShort("",AtMarket) ; end;*/