커뮤니티
종가매매부탁합니다.
2019-08-22 09:31:35
160
글번호 131342
if MarketPosition == 1 and C >= EntryPrice *(1+10/100) Then
exitlong("bx+2.7%-25%",AtStop,highest(H,BarsSinceEntry)-0,"",max(1,Floor(CurrentContracts*1)),1);
if MarketPosition == -1 and C <= EntryPrice *(1-10/100) Then
ExitShort("sx-2.7%0.30%",AtStop,Lowest(L,BarsSinceEntry)+0,"",max(1,Floor(CurrentContracts*1)),1);
위수식에서 (분)봉종가에 매매되도록부탁합니다.
감사합니다.
답변 1
예스스탁 예스스탁 답변
2019-08-22 14:51:01
안녕하세요
예스스탁입니다.
if MarketPosition == 1 and C >= EntryPrice *(1+10/100) AND h == HIGHEST(h,BarsSinceEntry) Then
exitlong("bx+2.7%-25%",OnClose,def,"",max(1,Floor(CurrentContracts*1)),1);
if MarketPosition == -1 and C <= EntryPrice *(1-10/100) and l == lowest(L,BarsSinceEntry) Then
ExitShort("sx-2.7%0.30%",OnClose,def,"",max(1,Floor(CurrentContracts*1)),1);
즐거운 하루되세요
> 큰바위얼굴 님이 쓴 글입니다.
> 제목 : 종가매매부탁합니다.
> if MarketPosition == 1 and C >= EntryPrice *(1+10/100) Then
exitlong("bx+2.7%-25%",AtStop,highest(H,BarsSinceEntry)-0,"",max(1,Floor(CurrentContracts*1)),1);
if MarketPosition == -1 and C <= EntryPrice *(1-10/100) Then
ExitShort("sx-2.7%0.30%",AtStop,Lowest(L,BarsSinceEntry)+0,"",max(1,Floor(CurrentContracts*1)),1);
위수식에서 (분)봉종가에 매매되도록부탁합니다.
감사합니다.
다음글
이전글