예스스탁
예스스탁 답변
2022-07-20 13:41:07
안녕하세요
예스스탁입니다.
피라미딩을 다른진입신호만허용으로 설정하고 적용하셔야 합니다.
if MarketPosition <= 0 and DayLow > DayOpen-PriceScale*385 Then
Buy("b1",AtLimit,DayOpen-PriceScale*385);
if MarketPosition == 1 Then
{
if MaxEntries == 1 and DayLow > DayOpen-PriceScale*485 Then
Buy("b2",AtLimit,DayOpen-PriceScale*485);
ExitLong("bl",AtStop,DayOpen-PriceScale*750);
if CurrentContracts == MaxContracts Then
ExitLong("bp1",AtLimit,DayOpen+PriceScale*100,"",1,1);
if CurrentContracts < MaxContracts Then
ExitLong("bp2",AtLimit,DayOpen+PriceScale*200);
}
if MarketPosition >= 0 and DayHigh < DayOpen+PriceScale*385 Then
Sell("s1",AtLimit,DayOpen+PriceScale*385);
if MarketPosition == -1 Then
{
if MaxEntries == 1 and DayHigh < DayOpen+PriceScale*485 Then
Sell("s2",AtLimit,DayOpen+PriceScale*485);
ExitShort("sl",AtStop,DayOpen+PriceScale*750);
if CurrentContracts == MaxContracts Then
ExitShort("sp1",AtLimit,DayOpen-PriceScale*100,"",1,1);
if CurrentContracts < MaxContracts Then
ExitShort("sp2",AtLimit,DayOpen-PriceScale*200);
}
즐거운 하루되세요
> 신나는파파 님이 쓴 글입니다.
> 제목 : 시스템식부탁드립니다.
> 1차매수 : 시가대비-385틱하락(1계약)
2차매수 : 시가대비-485틱하락(1계약)
시가대비 -750틱하락(매도로 스위칭)
1차매수,2차매수 수익실현은 시가대비 +100틱상승시(1계약),시가대비+200틱 상승시(1계약)실현
스위칭한 -750틱 하락한 매도계약은 시가대비-1200틱이 되면 수익실현...
#-----------------------------------------------------------------------------
1차매도 : 시가대비 + 385틱상승(1계약)
2차매도 : 시가대비 + 485틱하락(1계약)
시가대비+750틱상승(매수로 스위칭)
1차매수,2차매수 수익실현은 시가대비 -100틱하락시(1계약수익실현)
시가대비 -200틱하락시(1계약수익실현)
스위칭한 -750틱 상승한 매수계약은 시가대비+1200틱이 되면 수익실현...