커뮤니티
수정부탁합니다.
2019-01-09 18:12:34
172
글번호 125087
if MarketPosition == 1 and C >= EntryPrice *(1+5/100) Then
exitlong("bx+5%",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1);
if MarketPosition == -1 and C <= EntryPrice *(1-5/100) Then
ExitShort("sx-5%",AtStop,Lowest(L,BarsSinceEntry)+0,"",Floor(CurrentContracts*0.3),1);
위수식 수정부탁합니다.
위수식은 5% 수익시 30% 종가 이익실현 입니다.
이것을 5% 수익시 30% 즉시 이익실현 으로부탁 합니다.
감사합니다.
답변 1
예스스탁 예스스탁 답변
2019-01-10 11:46:22
안녕하세요
예스스탁입니다.
if MarketPosition == 1 Then
exitlong("bx+5%",AtStop,EntryPrice *(1+5/100),"",Floor(CurrentContracts*0.3),1);
if MarketPosition == -1 Then
ExitShort("sx-5%",AtStop,EntryPrice *(1-5/100),"",Floor(CurrentContracts*0.3),1);
즐거운 하루되세요
> 큰바위얼굴 님이 쓴 글입니다.
> 제목 : 수정부탁합니다.
> if MarketPosition == 1 and C >= EntryPrice *(1+5/100) Then
exitlong("bx+5%",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.3),1);
if MarketPosition == -1 and C <= EntryPrice *(1-5/100) Then
ExitShort("sx-5%",AtStop,Lowest(L,BarsSinceEntry)+0,"",Floor(CurrentContracts*0.3),1);
위수식 수정부탁합니다.
위수식은 5% 수익시 30% 종가 이익실현 입니다.
이것을 5% 수익시 30% 즉시 이익실현 으로부탁 합니다.
감사합니다.