커뮤니티

부탁합니다.

프로필 이미지
큰바위얼굴
2019-06-04 13:31:27
241
글번호 129168
답변완료
if MarketPosition == 1 and C >= EntryPrice *(1+5/100) Then exitlong("bx5",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1); 위수식과 Stochastics(5,3.3) 과열 75이상에서만 위조건식 이익실현입니다. 즉 Stochastics(5,3.3) 75이상과 5%수익 두조건이 맞을때 30% 이익실현 매도는반대 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2019-06-04 17:08:21

안녕하세요 예스스탁입니다. input : sto1(10),sto2(5),sto3(5); var : stok(0),stod(0); stok = StochasticsK(sto1,sto2); stod = StochasticsD(sto1,sto2,sto3); if MarketPosition == 1 and C >= EntryPrice *(1+5/100) and stok >= 75 Then exitlong("bx5",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1); if MarketPosition == -1 and C <= EntryPrice *(1-5/100) and stok <= 25 Then ExitShort("sx5",AtStop,Lowest(L,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1); 즐거운 하루되세요 > 큰바위얼굴 님이 쓴 글입니다. > 제목 : 부탁합니다. > if MarketPosition == 1 and C >= EntryPrice *(1+5/100) Then exitlong("bx5",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1); 위수식과 Stochastics(5,3.3) 과열 75이상에서만 위조건식 이익실현입니다. 즉 Stochastics(5,3.3) 75이상과 5%수익 두조건이 맞을때 30% 이익실현 매도는반대 감사합니다.