커뮤니티

당일 시가가 입력금액이랑 같거나 보다 큰 경우 당일 거래가 없도록 수식 추가 요청

프로필 이미지
autotra
2024-03-17 13:27:19
886
글번호 177545
답변완료
input : Price(12500),진입횟수(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 CurrentDate == sDate and NextBarStime >= 91500 and H < price and entry < 진입횟수 Then Buy("b",AtStop,price); → 위 수식에, 당일 시가가 입력금액(12500)이랑 같거나 보다 큰 경우, 아예 거래가 되지 않도록 수식 추가 요청드립니다. 감사합니다.
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-03-18 13:14:55

안녕하세요 예스스탁입니다. input : Price(12500),진입횟수(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 CurrentDate == sDate and NextBarStime >= 91500 and H < price and entry < 진입횟수 and DayOpen < Price Then Buy("b",AtStop,price); 즐거운 하루되세요 > autotra 님이 쓴 글입니다. > 제목 : 당일 시가가 입력금액이랑 같거나 보다 큰 경우 당일 거래가 없도록 수식 추가 요청 > input : Price(12500),진입횟수(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 CurrentDate == sDate and NextBarStime >= 91500 and H < price and entry < 진입횟수 Then Buy("b",AtStop,price); → 위 수식에, 당일 시가가 입력금액(12500)이랑 같거나 보다 큰 경우, 아예 거래가 되지 않도록 수식 추가 요청드립니다. 감사합니다.