안녕하세요 수식 부탁 드립니다.
매수
highest(H, 기간) >= 고가 and
lowest(L, 기간) >= S and lowest(L, 기간) <= S1
매도
highest(H, 기간) >= 17000 and
lowest(L, 기간) >= (S*1.1) and lowest(L, 기간) <= (S1*1.1)
기간 = 417
S=40000
S1=30000
답변 1
예스스탁
예스스탁 답변
2022-02-07 13:04:59
안녕하세요
예스스탁입니다.
input : 기간(417),S(40000),S1(30000);
if highest(H, 기간) >= H and
lowest(L, 기간) >= S and lowest(L, 기간) <= S1 Then
Buy("매수");
if highest(H, 기간) >= 17000 and
lowest(L, 기간) >= (S*1.1) and lowest(L, 기간) <= (S1*1.1) Then
Sell("매도");
즐거운 하루되세요
> 이름이 님이 쓴 글입니다.
> 제목 : 수식 변경 부탁 드립니다.
> 안녕하세요 수식 부탁 드립니다.
매수
highest(H, 기간) >= 고가 and
lowest(L, 기간) >= S and lowest(L, 기간) <= S1
매도
highest(H, 기간) >= 17000 and
lowest(L, 기간) >= (S*1.1) and lowest(L, 기간) <= (S1*1.1)
기간 = 417
S=40000
S1=30000