수량을 추가 할 수 있도록
그리고 당일 마감 시간 쯤 자동 청산 되도록 시간을 설정할 수 있도록 부탁드립니다.
input : Price(434.85),xPrice(437.85);
if crossup(C,price) Then
buy("b");
if MarketPosition == 1 Then
{
if CrossUp(C,xPrice) Then
ExitLong("bx1");
if CrossDown(C,Price) Then
ExitLong("bx2");
}
답변 1
예스스탁
예스스탁 답변
2025-07-23 13:02:02
안녕하세요
예스스탁입니다.
input : Price(434.85),xPrice(437.85),수량(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);
즐거운 하루되세요
> 선물대장 님이 쓴 글입니다.
> 제목 : 문의 드립니다.
> 수량을 추가 할 수 있도록
그리고 당일 마감 시간 쯤 자동 청산 되도록 시간을 설정할 수 있도록 부탁드립니다.
input : Price(434.85),xPrice(437.85);
if crossup(C,price) Then
buy("b");
if MarketPosition == 1 Then
{
if CrossUp(C,xPrice) Then
ExitLong("bx1");
if CrossDown(C,Price) Then
ExitLong("bx2");
}