커뮤니티

키움조건식을 예스검색식으로 전환부탁드립니다.

프로필 이미지
g2l
2024-08-17 17:14:20
871
글번호 182583
답변완료
A=C; B=avg(C,period); CA=CROSSDOWN(A,B); AA=Valuewhen(1,CA,L); BB=(eavg(eavg(eavg(v,period),period),period) - eavg(eavg(eavg(v(1),period),period),period)) / eavg(eavg(eavg(v(1),period),period),period)*100; i_wvf = ((high - lowest(C, 22)) / lowest(C, 22)) * 100; i_sDev = 2.0 * stdev(i_wvf, 20); i_midLine = avg(i_wvf, 20); i_upperBand = i_midLine + i_sDev; i_rangeHigh = (highest(i_wvf, 50)) * ph; CC=if(i_wvf >= i_upperBand or i_wvf >= i_rangeHigh, i_wvf, 0); 조건= CROSSUP(C,AA) && BB>0 && CC>0 && C>O; 조건 && !조건(1) - 지표조건설정 period : 20 PH : 0.85
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2024-08-19 17:49:48

안녕하세요 예스스탁입니다. input : Period(20),PH(0.85); var : A(0),B(0),CA(False),AA(0),BB(0); var : i_wvf(0),i_sDev(0),i_midLine(0),i_upperBand(0),i_rangeHigh(0); var : CC(0),조건(False); A=C; B=ma(C,period); CA=CROSSDOWN(A,B); if CA == true Then AA = L; var1 = ema(ema(ema(v,period),period),period); BB = (var1 - var1[1]) /var1[1]*100; i_wvf = ((high - lowest(C, 22)) / lowest(C, 22)) * 100; i_sDev = 2.0 * std(i_wvf, 20); i_midLine = avg(i_wvf, 20); i_upperBand = i_midLine + i_sDev; i_rangeHigh = (highest(i_wvf, 50)) * ph; CC=iff(i_wvf >= i_upperBand or i_wvf >= i_rangeHigh, i_wvf, 0); 조건= CROSSUP(C,AA) && BB>0 && CC>0 && C>O; if 조건 == true && 조건[1] == False Then Find(1); 즐거운 하루되세요 > g2l 님이 쓴 글입니다. > 제목 : 키움조건식을 예스검색식으로 전환부탁드립니다. > A=C; B=avg(C,period); CA=CROSSDOWN(A,B); AA=Valuewhen(1,CA,L); BB=(eavg(eavg(eavg(v,period),period),period) - eavg(eavg(eavg(v(1),period),period),period)) / eavg(eavg(eavg(v(1),period),period),period)*100; i_wvf = ((high - lowest(C, 22)) / lowest(C, 22)) * 100; i_sDev = 2.0 * stdev(i_wvf, 20); i_midLine = avg(i_wvf, 20); i_upperBand = i_midLine + i_sDev; i_rangeHigh = (highest(i_wvf, 50)) * ph; CC=if(i_wvf >= i_upperBand or i_wvf >= i_rangeHigh, i_wvf, 0); 조건= CROSSUP(C,AA) && BB>0 && CC>0 && C>O; 조건 && !조건(1) - 지표조건설정 period : 20 PH : 0.85