커뮤니티

문의드립니다.

프로필 이미지
바바큰
2017-06-15 13:57:22
134
글번호 110453
답변완료
청산식 부탁드립니다 매수 매도 진입후 청산 30틱 이상이면 파라볼릭신호(하락/상승) 발생시 청산 손절 1. 20틱 이상 상승: 진입가 손절 2. -30틱되면 손절
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2017-06-15 14:21:39

안녕하세요 예스스탁입니다. input : af(0.02),maxaf(0.2); var : para(0); para = sar(af,maxaf); if MarketPosition == 1 then{ if C >= EntryPrice+PriceScale*30 and CrossDown(C,para) Then ExitLong("bx"); if highest(H,BarsSinceEntry) < EntryPrice+PriceScale*20 Then exitlong("BL1",AtStop,EntryPrice-PriceScale*30); Else exitlong("BL2",AtStop,EntryPrice); } if MarketPosition == -1 then{ if C <= EntryPrice-PriceScale*30 and CrossUp(C,para) Then ExitShort("sx"); if Lowest(L,BarsSinceEntry) > EntryPrice-PriceScale*20 Then ExitShort("SL1",AtStop,EntryPrice+PriceScale*30); Else ExitShort("SL2",AtStop,EntryPrice); } 즐거운 하루되세요 > 바바큰 님이 쓴 글입니다. > 제목 : 문의드립니다. > 청산식 부탁드립니다 매수 매도 진입후 청산 30틱 이상이면 파라볼릭신호(하락/상승) 발생시 청산 손절 1. 20틱 이상 상승: 진입가 손절 2. -30틱되면 손절