진입 후 24시간 경과후에도 수익이 발생하지 않고
진입가격으로 되돌아 오면 본전 청산 부탁드립니다.
답변 1
예스스탁
예스스탁 답변
2020-01-16 13:08:24
안녕하세요
예스스탁입니다.
if MarketPosition == 1 then
{
if CurrentContracts > CurrentContracts[1] Then
Condition1 = false;
if bdate > bdate[BarsSinceEntry] and stime >= EntryTime Then
Condition1 = true;
if Condition1 == true and H < EntryPrice Then
ExitLong("bx",Atlimit,EntryPrice);
}
if MarketPosition == -1 then
{
if CurrentContracts > CurrentContracts[1] Then
Condition2 = false;
if bdate > bdate[BarsSinceEntry] and stime >= EntryTime Then
Condition2 = true;
if Condition2 == true and L > EntryPrice Then
ExitShort("sx",Atlimit,EntryPrice);
}
즐거운 하루되세요
> 천용인 님이 쓴 글입니다.
> 제목 : 수식문의드립니다.
> 진입 후 24시간 경과후에도 수익이 발생하지 않고
진입가격으로 되돌아 오면 본전 청산 부탁드립니다.