매도용으로 부탁드립니다.
input : Price(433.60),xPrice(437.00),수량(1);
if crossup(C,price) Then
buy("b",OnClose,Def,수량);
if MarketPosition == 1 Then
{
if CrossUp(C,xPrice) Then
ExitLong("bx1");
if CrossDown(C,Price) Then
ExitLong("bx2");
}
SetStopEndofday(153000);
답변 1
예스스탁
예스스탁 답변
2025-08-07 12:54:07
안녕하세요
예스스탁입니다.
input : Price(433.60),xPrice(437.00),수량(1);
if CrossDown(C,price) Then
Sell("s",OnClose,Def,수량);
if MarketPosition == -1 Then
{
if CrossDown(C,xPrice) Then
ExitShort("sx1");
if CrossUp(C,Price) Then
ExitShort("bx2");
}
SetStopEndofday(153000);
즐거운 하루되세요
> 선물대장 님이 쓴 글입니다.
> 제목 : 문의 드립니다.
> 매도용으로 부탁드립니다.
input : Price(433.60),xPrice(437.00),수량(1);
if crossup(C,price) Then
buy("b",OnClose,Def,수량);
if MarketPosition == 1 Then
{
if CrossUp(C,xPrice) Then
ExitLong("bx1");
if CrossDown(C,Price) Then
ExitLong("bx2");
}
SetStopEndofday(153000);