답변완료
전환 부탁드립니다
수식1
AA=H(1)>highest(c(2), 20);
// or H(1)>highest(c(2), 60);
// cross up highest close till preday with Period 20 or 60
//AAA=(H>AA or H>AA(1));
// starting point of 5 kiss or crossup 20 eavg
BB=(C>eavg(C, 5) or crossup(C, eavg(C,20)));
BBB=BB or BB(1) or BB(2);
// crossup highest volume
CC=V(1)>highest(V(2), 20);
// or V(1)>highest(V(2), 60);
CCC=CC or CC(1) or CC(2);
// neg candle (or tail) // buy signal
DD=O>C and C<(abs(C(1)-O(1))*2/3+min(C(1),O(1)));
//support eavg(c, 20) //lower bound
EE= max(eavg(C, 5), eavg(C,20));
FF=(C>(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4 ) and (C>(highest(high(25),52)+lowest(low(25),52))/2);
condition=AA and BBB and CCC and DD and FF;
valuewhen(1, condition, (abs(C(1)-O(1))*2/3+min(C(1), O(1))))
수식2
AA=H(1)>highest(c(2), 20);
// or H(1)>highest(c(2), 60);
// cross up highest close till preday with Period 20 or 60
//AAA=(H>AA or H>AA(1));
// starting point of 5 kiss or crossup 20 eavg
BB=(C>eavg(C, 5) or crossup(C, eavg(C,20)));
BBB=BB or BB(1) or BB(2);
// crossup highest volume
CC=V(1)>highest(V(2), 20);
// or V(1)>highest(V(2), 60);
CCC=CC or CC(1) or CC(2);
// neg candle (or tail) // buy signal
DD=O>C and C<(abs(C(1)-O(1))*2/3+min(C(1),O(1)));
//support eavg(c, 20) //lower bound
EE= max(eavg(C, 5), eavg(C,20));
FF=(C>(highest(high(25),9)+lowest(low(25),9)+highest(high(25),26)+lowest(low(25),26))/4 ) and (C>(highest(high(25),52)+lowest(low(25),52))/2);
condition=AA and BBB and CCC and DD and FF;
valuewhen(1, condition, max((abs(C(1)-O(1))*2/3+min(C(1), O(1)))*0.95, EE))
수식3
if(C(1)<lowest(C(2),period)*ratio, C(1), lowest(C(2), period))
period 20
ratio 0.97
-----------------------------------------------------
키움 수식인데요. 지표수식 전환 부탁드려요. 그리고 종가가 수식 2를 돌파하는 종목검색식/ 종가가 수식3 돌파 하는 종목검색식도 가능하면 부탁드려요.
감사합니다. 좋은 하루 되세요~!
2024-04-04
1237
글번호 178256
지표
답변완료
문의 드려요
청산식 1번과 2번이 별반 다를게 없을까요?
1번. if marketposition==1 and c< L[barsSinceEntry]-1.5 then exitlong();
2번. if marketposition==1 then
exitlong("el1",atstop,L[barsSinceEntry]-1.5);
------------
if CountIf(C>O,3)[1] == 3 와 if CountIf(C>O,3) == 3 의 차이가 뭘까요?
뒤에꺼는 최근 3개봉이 모두 양봉이면 이라고 해석할 수 있겠는데
앞에꺼를 해석이 어렵네요
---------------------------
비슷한 맥락에서
dayhigh(0), dayhigh(0)[1]
첫번째는 당일고가인데, 두번째꺼는 뭐라 해석해야 하나요?
당일 1봉전까지의 고가?? 라고 해석해야나요?
고맙습니다 ^^
2024-04-04
840
글번호 178255
시스템
답변완료
검색식 요청 드립니다~
수고 하십니다~
키움 수식 인데요....
종목 검색으로 요청 드립니다
max( avg(C,short), avg(C,mid), avg(C,long)) <
min( avg(C,short), avg(C,mid), avg(C,long)) * (1+Percent/100) &&
C > highest(H(1),5) && C(1) <= highest(H(2),5)
and
CrossUp(h,BBandsUp(Period,D1))
2024-04-03
1112
글번호 178253
검색