커뮤니티
목표가 수정
2017-01-18 08:54:49
101
글번호 106034
#목표가 즉시
input : 목표1(4.8)
if MarketPosition == -1 and C >= EntryPrice-목표1 Then
exitlong("bx4.8",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.25),1);
if MarketPosition == -1 and C <= EntryPrice-목표1 Then
ExitShort("sx-4.8",AtStop,Lowest(L,BarsSinceEntry)+0,"",Floor(CurrentContracts*0.25),1);
위수식을 수정부탁드림니다 에라가 남니다
4.8p후 이익실현입니다.
항상감사합니다.
답변 1
예스스탁 예스스탁 답변
2017-01-18 14:41:24
안녕하세요
예스스탁입니다.
input 선언뒤에 ;이 빠져있었습니다.
input : 목표1(4.8);
if MarketPosition == -1 and C >= EntryPrice-목표1 Then
exitlong("bx4.8",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.25),1);
if MarketPosition == -1 and C <= EntryPrice-목표1 Then
ExitShort("sx-4.8",AtStop,Lowest(L,BarsSinceEntry)+0,"",Floor(CurrentContracts*0.25),1);
즐거운 하루되세요
> 큰바위얼굴 님이 쓴 글입니다.
> 제목 : 목표가 수정
> #목표가 즉시
input : 목표1(4.8)
if MarketPosition == -1 and C >= EntryPrice-목표1 Then
exitlong("bx4.8",AtStop,highest(H,BarsSinceEntry)-0,"",Floor(CurrentContracts*0.25),1);
if MarketPosition == -1 and C <= EntryPrice-목표1 Then
ExitShort("sx-4.8",AtStop,Lowest(L,BarsSinceEntry)+0,"",Floor(CurrentContracts*0.25),1);
위수식을 수정부탁드림니다 에라가 남니다
4.8p후 이익실현입니다.
항상감사합니다.
다음글
이전글