커뮤니티

문의드립니다

프로필 이미지
ride
2023-01-20 15:01:07
651
글번호 165615
답변완료
안녕하세요, SetStopTrailing 관련하여 문의드립니다. If MarketPosition==1 Then SetStopTrailing(15,0,PercentStop,1); 의 수식에서, 1. exitlong/exitshort 을 사용하는 수식으로 풀어서 작성하려면 어떻게 해야 하나요? 2. 일봉상에서 SetStopTrailing 신호가 발생한다면, 다음날 시가에 신호가 발생하도록 할 수 있나요? 감사합니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-01-25 10:55:25

안녕하세요 예스스탁입니다. 1 if MarketPosition == 1 Then ExitLong("bx",AtStop,highest(H,BarsSinceEntry)*0.85); if MarketPosition == -1 Then ExitShort("sx",AtStop,lowest(L,BarsSinceEntry)*1.15); 2 if MarketPosition == 1 Then { if L <= highest(H,BarsSinceEntry)*0.85 Then ExitLong("bx",AtMarket); } if MarketPosition == -1 Then { if H >= lowest(L,BarsSinceEntry)*1.15 Then ExitShort("sx",AtMarket); } 즐거운 하루되세요 > ride 님이 쓴 글입니다. > 제목 : 문의드립니다 > 안녕하세요, SetStopTrailing 관련하여 문의드립니다. If MarketPosition==1 Then SetStopTrailing(15,0,PercentStop,1); 의 수식에서, 1. exitlong/exitshort 을 사용하는 수식으로 풀어서 작성하려면 어떻게 해야 하나요? 2. 일봉상에서 SetStopTrailing 신호가 발생한다면, 다음날 시가에 신호가 발생하도록 할 수 있나요? 감사합니다