커뮤니티

질문드립니다.

프로필 이미지
조하트
2024-05-16 02:17:12
636
글번호 179542
답변완료
해선에서, 1. 매수진입만 : 50봉중 신고가일때 3계약 매수진입 / +30틱 +50틱 +70틱에서 각각 분할로 매수청산 / 30봉중 신저가에서 -10틱에 손절 2. 매도진입만 : 50봉중 신저가일때 3계약 매도진입 / -30틱 -50틱 -70틱에서 각각 분할로 매도청산 / 30봉중 신고가에서 +10틱에 손절 이렇게 각각 하나씩 화살표 두개 부탁드립니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-05-16 13:20:13

안녕하세요 예스스탁입니다. 1 if C > highest(H,50)[1] Then Buy("B",OnClose,Def,3); if MarketPosition == 1 Then { ExitLong("Bp1",AtLimit,EntryPrice+PriceScale*30); ExitLong("Bp2",AtLimit,EntryPrice+PriceScale*50); ExitLong("Bp3",AtLimit,EntryPrice+PriceScale*70); ExitLong("Bx",AtStop,lowest(L,30)-PriceScale*10); } 2 if C < lowest(l,50)[1] Then Sell("S",OnClose,Def,3); if MarketPosition == -1 Then { ExitShort("Sp1",AtLimit,EntryPrice-PriceScale*30); ExitShort("Sp2",AtLimit,EntryPrice-PriceScale*50); ExitShort("Sp3",AtLimit,EntryPrice-PriceScale*70); ExitShort("Sx",AtStop,highest(H,30)+PriceScale*10); } 즐거운 하루되세요 > 조하트 님이 쓴 글입니다. > 제목 : 질문드립니다. > 해선에서, 1. 매수진입만 : 50봉중 신고가일때 3계약 매수진입 / +30틱 +50틱 +70틱에서 각각 분할로 매수청산 / 30봉중 신저가에서 -10틱에 손절 2. 매도진입만 : 50봉중 신저가일때 3계약 매도진입 / -30틱 -50틱 -70틱에서 각각 분할로 매도청산 / 30봉중 신고가에서 +10틱에 손절 이렇게 각각 하나씩 화살표 두개 부탁드립니다.