당일시가대비 +500틱(1차매수)
당일시가대비 +700틱(2차매수)
손절: 당일싯가
익절: 당일시가대비 1200틱(일괄청산)
당일시가대비 -500틱(1차매수)
당일시가대비 -700틱(2차매수)
손절: 당일싯가
익절: 당일시가대비 -1200틱(일괄청산)
답변 1
예스스탁
예스스탁 답변
2022-02-07 10:40:56
안녕하세요
예스스탁입니다.
if MarketPosition <= 0 and H < DayOpen+PriceScale*500 Then
Buy("b1",AtStop,DayOpen+PriceScale*500);
if MarketPosition == 1 Then
{
if H < DayOpen+PriceScale*700 Then
Buy("b2",AtStop,DayOpen+PriceScale*700);
ExitLong("bl",AtStop,DayOpen);
ExitLong("bp",AtLimit,DayOpen+PriceScale*1200);
}
if MarketPosition >= 0 and L > DayOpen-PriceScale*500 Then
Sell("s1",AtStop,DayOpen-PriceScale*500);
if MarketPosition == -1 Then
{
if L > DayOpen-PriceScale*700 Then
Sell("s2",AtStop,DayOpen-PriceScale*700);
ExitShort("sl",AtStop,DayOpen);
ExitShort("sp",AtLimit,DayOpen-PriceScale*1200);
}
즐거운 하루되세요
> 신나는파파 님이 쓴 글입니다.
> 제목 : 시스템식 부탁드립니다.
> 당일시가대비 +500틱(1차매수)
당일시가대비 +700틱(2차매수)
손절: 당일싯가
익절: 당일시가대비 1200틱(일괄청산)
당일시가대비 -500틱(1차매수)
당일시가대비 -700틱(2차매수)
손절: 당일싯가
익절: 당일시가대비 -1200틱(일괄청산)