커뮤니티

수식문의

프로필 이미지
백진강
2015-11-04 13:20:01
185
글번호 92037
답변완료
당일 5분 지나고나서 최고 저점깨질시 10틱에서 매수도 3계약 자동주문수식부탁합니다. 손절은 20틱 잔량이 남을시에만 전부 주문나가게해주시고 20틱에서익절1개 30틱에서익절1개 50틱에서 1개 청산 수식부탁합니다. 감사합니다
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-11-04 17:26:03

안녕하세요 예스스탁입니다. if stime < 90500 Then{ var1 = dayhigh; var2 = daylow; } if stime >= 90500 and stime < 150000 Then{ if MarketPosition == 0 and H < var1+PriceScale*10 Then buy("b",AtStop,var1+PriceScale*10,3); if MarketPosition == 0 and L > var1+PriceScale*10 Then sell("s",AtStop,var2-PriceScale*10,3); } if MarketPosition == 1 Then{ exitlong("BP1",atlimit,EntryPrice+PriceScale*20,"",1,1); exitlong("BP2",atlimit,EntryPrice+PriceScale*30,"",1,1); exitlong("bP3",atlimit,EntryPrice+PriceScale*50,"",1,1); if CurrentContracts == MaxContracts Then exitlong("BL",AtStop,EntryPrice-PriceScale*20); } if MarketPosition == -1 Then{ ExitShort("SP1",atlimit,EntryPrice-PriceScale*20,"",1,1); ExitShort("SP2",atlimit,EntryPrice-PriceScale*30,"",1,1); ExitShort("SP3",atlimit,EntryPrice-PriceScale*50,"",1,1); if CurrentContracts == MaxContracts Then ExitShort("SL",AtStop,EntryPrice+PriceScale*20); } 즐거운 하루되세요 > 백진강 님이 쓴 글입니다. > 제목 : 수식문의 > 당일 5분 지나고나서 최고 저점깨질시 10틱에서 매수도 3계약 자동주문수식부탁합니다. 손절은 20틱 잔량이 남을시에만 전부 주문나가게해주시고 20틱에서익절1개 30틱에서익절1개 50틱에서 1개 청산 수식부탁합니다. 감사합니다