첨부 이미지
그림1
input : 익절틱수(110),손절틱수(20);
if NextBarSdate != sDate Then
{
if NextBarOpen > C Then
Buy("b",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen < C Then
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
-----------------
일봉매매는 신호가 한번 나오는거로 압니다.
1계약으로 모의투자로 테스트하는데 중복 진입하는 경우를 알고자 합니다.
답변 1
예스스탁
예스스탁 답변
2022-06-24 13:13:04
> 푸른 님이 쓴 글입니다.
> 제목 : 문의 드립니다.
> input : 익절틱수(110),손절틱수(20);
if NextBarSdate != sDate Then
{
if NextBarOpen > C Then
Buy("b",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen < C Then
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
-----------------
일봉매매는 신호가 한번 나오는거로 압니다.
1계약으로 모의투자로 테스트하는데 중복 진입하는 경우를 알고자 합니다.