커뮤니티

질문 드립니다.

프로필 이미지
데프콘
2012-03-12 21:44:14
306
글번호 48847
답변완료
안녕하세요. 청산식 질문입니다. 09:00 부터 11:00 까지는 트레일링 스탑 1포인트 수익후 0.05포인트 하락하면 청산 11:00 부터 15:00 까지는 트레일링 스탑 0.8포인트 수익후 0.05포인트 하락하면 청산 수식부탁합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2012-03-13 11:38:48

안녕하세요 예스스탁입니다. if MarketPosition == 1 Then{ if stime >= 90000 and stime < 110000 Then{ if highest(H,BarsSinceEntry) >= EntryPrice+1 Then exitlong("bx1",AtStop,highest(H,BarsSinceEntry)-0.05); } if stime >= 110000 and stime < 150000 Then{ if highest(H,BarsSinceEntry) >= EntryPrice+0.8 Then exitlong("bx2",AtStop,highest(H,BarsSinceEntry)-0.05); } } if MarketPosition == -1 Then{ if stime >= 90000 and stime < 110000 Then{ if Lowest(L,BarsSinceEntry) <= EntryPrice-1 Then ExitShort("sx1",AtStop,Lowest(L,BarsSinceEntry)+0.05); } if stime >= 110000 and stime < 150000 Then{ if Lowest(L,BarsSinceEntry) <= EntryPrice-0.8 Then ExitShort("sx2",AtStop,Lowest(L,BarsSinceEntry)+0.05); } } 즐거운 하루되세요 > 데프콘 님이 쓴 글입니다. > 제목 : 질문 드립니다. > 안녕하세요. 청산식 질문입니다. 09:00 부터 11:00 까지는 트레일링 스탑 1포인트 수익후 0.05포인트 하락하면 청산 11:00 부터 15:00 까지는 트레일링 스탑 0.8포인트 수익후 0.05포인트 하락하면 청산 수식부탁합니다.