커뮤니티

키움수식을 예스랭귀지(종목검색수식)로 변환부탁드립니다.

프로필 이미지
starch
2024-12-06 10:55:42
483
글번호 186008
답변완료
Input: shortperiod(9),midperiod(26),longperiod(52); var:A(0),B(0); A=(highest(high,shortperiod) +lowest(low,shortperiod) +highest(high,midperiod) +lowest(low,midperiod))/4; B=(highest(high,longperiod) +lowest(low,longperiod))/2; Plot1(A); plot2(B); FixPlotShift(1,midperiod-1); FixPlotShift(2,midperiod-1); if sDate!=sDate[1] Then Condition1=False; if crossup(C,Max(A,B)) Then Condition1=true; if Condition1==true Then Find(1);
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-12-06 15:59:58

안녕하세요 예스스탁입니다. Input: shortperiod(9),midperiod(26),longperiod(52); var:A(0),B(0); A=(highest(high,shortperiod) +lowest(low,shortperiod) +highest(high,midperiod) +lowest(low,midperiod))/4; B=(highest(high,longperiod) +lowest(low,longperiod))/2; if sDate!=sDate[1] Then Condition1=False; if crossup(C,Max(A[midPeriod-1],B[midPeriod-1])) Then Condition1=true; if Condition1==true Then Find(1); 즐거운 하루되세요 > starch 님이 쓴 글입니다. > 제목 : 키움수식을 예스랭귀지(종목검색수식)로 변환부탁드립니다. > Input: shortperiod(9),midperiod(26),longperiod(52); var:A(0),B(0); A=(highest(high,shortperiod) +lowest(low,shortperiod) +highest(high,midperiod) +lowest(low,midperiod))/4; B=(highest(high,longperiod) +lowest(low,longperiod))/2; Plot1(A); plot2(B); FixPlotShift(1,midperiod-1); FixPlotShift(2,midperiod-1); if sDate!=sDate[1] Then Condition1=False; if crossup(C,Max(A,B)) Then Condition1=true; if Condition1==true Then Find(1);