예스스탁
예스스탁 답변
2024-07-08 16:40:21
안녕하세요
예스스탁입니다.
if MarketPosition == 1 Then
{
ExitLong("Bp1",AtLimit,EntryPrice+50,"",1,1);
ExitLong("Bp2",AtLimit,EntryPrice+100);
if CurrentContracts == MaxContracts Then
ExitLong("Bl1",AtStop,EntryPrice-20,"",1,1);
Else
ExitLong("Bl3",AtStop,EntryPrice,"",1,1);
ExitLong("Bl2",AtStop,EntryPrice-40);
}
if MarketPosition == -1 Then
{
ExitShort("Sp1",AtLimit,EntryPrice-50,"",1,1);
ExitShort("Sp2",AtLimit,EntryPrice-100);
if CurrentContracts == MaxContracts Then
ExitShort("Sl1",AtStop,EntryPrice+20,"",1,1);
Else
ExitShort("Sl3",AtStop,EntryPrice,"",1,1);
ExitShort("Sl2",AtStop,EntryPrice+40);
}
즐거운 하루되세요
> 산수유 님이 쓴 글입니다.
> 제목 : 스탑로스 목표수익 식좀 부탁드립니다.
> 2계약 진입
1차목표 50p 1계약
2차목표 100p 1계약
1차손절 20p 1계약
2차손절 40p 1계약
진입후 손절가격에 먼저 도달하면 원안대로 하고
진입후 1차목표가격먼저 도달하면 1차 2차손절가격을 전부 본절가격으로 변경하는 식 좀 부탁드립니다.
첨부파일 처럼 알려주신 수식이 잘못 적용된거 같습니다. 1차목표수익 청산(bp1)
나온뒤 bx13이 나와야 되는데 .....확인 좀 해주셔요
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 스탑로스 목표수익 식좀 부탁드립니다.
> 안녕하세요
예스스탁입니다.
if MarketPosition == 1 Then
{
ExitLong("Bp1",AtLimit,EntryPrice+50,"",1,1);
ExitLong("Bp2",AtLimit,EntryPrice+100);
if CurrentContracts == MaxContracts Then
ExitLong("Bl1",AtStop,EntryPrice-20,"",1,1);
Else
ExitLong("Bl3",AtStop,EntryPrice,"",1,1);
ExitLong("Bl2",AtStop,EntryPrice-40);
}
if MarketPosition == -1 Then
{
ExitShort("Sp1",AtLimit,EntryPrice-50,"",1,1);
ExitShort("Sp2",AtLimit,EntryPrice-100);
if CurrentContracts == MaxContracts Then
ExitShort("Sl1",AtStop,EntryPrice+20,"",1,1);
Else
ExitShort("Sl3",AtStop,EntryPrice,"",1,1);
ExitShort("Sl2",AtStop,EntryPrice+40);
}
즐거운 하루되세요
> 산수유 님이 쓴 글입니다.
> 제목 : 스탑로스 목표수익 식좀 부탁드립니다.
> 2계약 진입
1차목표 50p 1계약
2차목표 100p 1계약
1차손절 20p 1계약
2차손절 40p 1계약
진입후 손절가격에 먼저 도달하면 원안대로 하고
진입후 1차목표가격먼저 도달하면 1차 2차손절가격을 전부 본절가격으로 변경하는 식 좀 부탁드립니다.