커뮤니티
강제청산식 부탁합니다
2014-04-08 16:36:36
157
글번호 74239
#강제청산
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(6.0,PointStop);
SetStopLoss(1.0,PointStop);
위수식에서
시간별틀리게강제청산할수엾는지요?
예오전 9시부터9시28분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(3.0,PointStop);
SetStopLoss(2.0,PointStop);
오전9시28분부터9시56분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5.0,PointStop);
SetStopLoss(1.5.0,PointStop);
오전9시956분부터오후2시36분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5.0,PointStop);
SetStopLoss(1.5.0,PointStop);
오후2시36분부터는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(6.0,PointStop);
SetStopLoss(1.0,PointStop);
감사합니다.
답변 1
예스스탁 예스스탁 답변
2014-04-08 17:38:29
안녕하세요
예스스탁입니다.
if stime >= 090000 and stime < 092800 Then{
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(3.0,PointStop);
SetStopLoss(2.0,PointStop);
}
if stime >= 090000 and stime < 095600 Then{
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5,PointStop);
SetStopLoss(1.5,PointStop);
}
if stime >= 090000 and stime < 143600 Then{
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5,PointStop);
SetStopLoss(1.5,PointStop);
}
if stime >= 143600 Then{
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(6.0,PointStop);
SetStopLoss(1.0,PointStop);
}
즐거운 하루되세요
> 큰바위얼굴 님이 쓴 글입니다.
> 제목 : 강제청산식 부탁합니다
> #강제청산
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(6.0,PointStop);
SetStopLoss(1.0,PointStop);
위수식에서
시간별틀리게강제청산할수엾는지요?
예오전 9시부터9시28분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(3.0,PointStop);
SetStopLoss(2.0,PointStop);
오전9시28분부터9시56분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5.0,PointStop);
SetStopLoss(1.5.0,PointStop);
오전9시956분부터오후2시36분까지는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(4.5.0,PointStop);
SetStopLoss(1.5.0,PointStop);
오후2시36분부터는
SetStopTrailing(0.1,0.2,PointStop,0);
SetStopProfittarget(6.0,PointStop);
SetStopLoss(1.0,PointStop);
감사합니다.