커뮤니티
[22729] 추가질문
2012-02-14 08:39:37
289
글번호 47708
안녕하세요
예스스탁입니다.
목표수익으로 청산이 되었으므로
현재는 무포지션입니다.
진적거래의 진입명과 청산명으로 제어하시면 됩니다.
if MarketPosition == 0 and count == 0 Then{
if crossup(c, 30) then buy("A");
}
if MarketPosition == 0 and count > 0 Then{
if isentryname("A",1) and IsExitName("StopProfittarget",1) And
stime > 130000 and crossdown(c, 60) then sell("A1");
}
SetStopProfittarget(1, PointStop);
안녕하세요?
옵션식으로 부탁드립니다.
목표가 10만원
답변 1
예스스탁 예스스탁 답변
2012-02-14 09:23:40
안녕하세요
예스스탁입니다.
input : 목표가(100000);
if MarketPosition == 0 and count == 0 Then{
if crossup(c, 30) then buy("A");
}
if MarketPosition == 0 and count > 0 Then{
if isentryname("A",1) and IsExitName("StopProfittarget",1) And
stime > 130000 and crossdown(c, 60) then sell("A1");
}
SetStopProfittarget(목표가/BigPointValue, PointStop);
즐거운 하루되세요
> 도윤아빠 님이 쓴 글입니다.
> 제목 : [22729] 추가질문
> 안녕하세요
예스스탁입니다.
목표수익으로 청산이 되었으므로
현재는 무포지션입니다.
진적거래의 진입명과 청산명으로 제어하시면 됩니다.
if MarketPosition == 0 and count == 0 Then{
if crossup(c, 30) then buy("A");
}
if MarketPosition == 0 and count > 0 Then{
if isentryname("A",1) and IsExitName("StopProfittarget",1) And
stime > 130000 and crossdown(c, 60) then sell("A1");
}
SetStopProfittarget(1, PointStop);
안녕하세요?
옵션식으로 부탁드립니다.
목표가 10만원
다음글