커뮤니티

If 조건 사용법

프로필 이미지
후따오
2015-11-18 16:14:43
163
글번호 92525
답변완료
아래와 같은 조건도 가능한가요? 5틱 손실이면 2수익시 매수청산 If MarketPosition == 1 and PositionProfit <= PriceScale*(-5) Then { If OpenPositionProfit >= PriceScale*2 Then ExitLong("EL"); }
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-11-18 16:20:14

안녕하세요 예스스탁입니다. If MarketPosition == 1 and Lowest(l,BarsSinceEntry) <= EntryPrice-PriceScale*5 Then exitlong("EL",atlimit,EntryPrice+PriceScale*2); 즐거운 하루되세요 > 후따오 님이 쓴 글입니다. > 제목 : If 조건 사용법 > 아래와 같은 조건도 가능한가요? 5틱 손실이면 2수익시 매수청산 If MarketPosition == 1 and PositionProfit <= PriceScale*(-5) Then { If OpenPositionProfit >= PriceScale*2 Then ExitLong("EL"); }