예스스탁
예스스탁 답변
2025-03-12 14:29:39
안녕하세요
예스스탁입니다.
var : RWL(0),RWH(0);
RWL = max( (H[1]-LOW ) / ( (AccumN( atr(1), 2)[1] / 2) * sqrt(2) ),
( H[2]-LOW ) / ( (AccumN( atr(1), 3)[1] / 3) * sqrt(3) ),
( H[3]-LOW ) / ( (AccumN( atr(1), 4)[1] / 4) * sqrt(4) ),
( H[4]-LOW ) / ( (AccumN( atr(1), 5)[1] / 5) * sqrt(5) ),
( H[5]-LOW ) / ( (AccumN( atr(1), 6)[1] / 6) * sqrt(6) ),
( H[6]-LOW ) / ( (AccumN( atr(1), 7)[1] / 7) * sqrt(7) ),
( H[7]-LOW ) / ( (AccumN( atr(1), 8)[1] / 8) * sqrt(8) ),
( H[8]-LOW ) / ( (AccumN( atr(1), 9)[1] / 9) * sqrt(9) ) );
RWH = max( (H-LOW[1] ) / ( (AccumN( atr(1), 2)[1] / 2) * sqrt(2) ),
( H-LOW[2] ) / ( (AccumN( atr(1), 3)[1] / 3) * sqrt(3) ),
( H-LOW[3] ) / ( (AccumN( atr(1), 4)[1] / 4) * sqrt(4) ),
( H-LOW[4] ) / ( (AccumN( atr(1), 5)[1] / 5) * sqrt(5) ),
( H-LOW[5] ) / ( (AccumN( atr(1), 6)[1] / 6) * sqrt(6) ),
( H-LOW[6] ) / ( (AccumN( atr(1), 7)[1] / 7) * sqrt(7) ),
( H-LOW[7] ) / ( (AccumN( atr(1), 8)[1] / 8) * sqrt(8) ),
( H-LOW[8] ) / ( (AccumN( atr(1), 9)[1] / 9) * sqrt(9) ) );
Plot1(RWL);
Plot2(RWH);
즐거운 하루되세요
> gap 님이 쓴 글입니다.
> 제목 : 수식 변환
> 안녕하세요.
하기 키움수식을 예스랭귀로 변환 요청드립니다.
감사합니다.
RWL = max( (H(1)-LOW ) / ( (ref( sum( atr(1), 2), 1) / 2) * sqrt(2) ),
( H(2)-LOW ) / ( (ref( sum( atr(1), 3), 1) / 3) * sqrt(3) ),
( H(3)-LOW ) / ( (ref( sum( atr(1), 4), 1) / 4) * sqrt(4) ),
( H(4)-LOW ) / ( (ref( sum( atr(1), 5), 1) / 5) * sqrt(5) ),
( H(5)-LOW ) / ( (ref( sum( atr(1), 6), 1) / 6) * sqrt(6) ),
( H(6)-LOW ) / ( (ref( sum( atr(1), 7), 1) / 7) * sqrt(7) ),
( H(7)-LOW ) / ( (ref( sum( atr(1), 8), 1) / 8) * sqrt(8) ),
( H(8)-LOW ) / ( (ref( sum( atr(1), 9), 1) / 9) * sqrt(9) ) );
RWL
RWH = max( (H-LOW(1) ) / ( (ref( sum( atr(1), 2), 1) / 2) * sqrt(2) ),
( H-LOW(2) ) / ( (ref( sum( atr(1), 3), 1) / 3) * sqrt(3) ),
( H-LOW(3) ) / ( (ref( sum( atr(1), 4), 1) / 4) * sqrt(4) ),
( H-LOW(4) ) / ( (ref( sum( atr(1), 5), 1) / 5) * sqrt(5) ),
( H-LOW(5) ) / ( (ref( sum( atr(1), 6), 1) / 6) * sqrt(6) ),
( H-LOW(6) ) / ( (ref( sum( atr(1), 7), 1) / 7) * sqrt(7) ),
( H-LOW(7) ) / ( (ref( sum( atr(1), 8), 1) / 8) * sqrt(8) ),
( H-LOW(8) ) / ( (ref( sum( atr(1), 9), 1) / 9) * sqrt(9) ) );
RWH