input : Price(21500),진입횟수(1);
var : entry(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1;
if NextBarSdate == sDate and
NextBarStime >= 91500 and
H < price and
entry < 진입횟수 Then
Buy("b",AtStop,price);
수식은 위와 같으며
미래반도체라는 종목인데 장중에 21,500원 이하인 가격이 있었음에도 주문이 안 된 이유가 무엇일까요?
답변 1
예스스탁
예스스탁 답변
2023-12-12 18:54:47
안녕하세요? 예스스탁입니다.
식 내용 중에 H < price 라는 부분이 있는데, 이 조건을 만족하지 못하기 때문에 신호가 발생된 것이 아닌가 생각됩니다.
사용하신 주기를 올려주시면 추가 확인 답변드리겠습니다.
감사합니다.
> autotra 님이 쓴 글입니다.
> 제목 : 종목 매수가 안 된 이유가 뭘까요?
> input : Price(21500),진입횟수(1);
var : entry(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1;
if NextBarSdate == sDate and
NextBarStime >= 91500 and
H < price and
entry < 진입횟수 Then
Buy("b",AtStop,price);
수식은 위와 같으며
미래반도체라는 종목인데 장중에 21,500원 이하인 가격이 있었음에도 주문이 안 된 이유가 무엇일까요?