编写要求:
请老师帮我做个选股,就是这个指标出现第一根绿柱帮我做个选股,谢谢 极品波段 底部:10; 卖出线: 99; 趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)) *100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27)) /(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR0000FF,LINETHICK2; 买入警戒:IF(趋势1<=10,20,0),COLOR00FFFF; 卖出警戒: IF(趋势1>=90,80,100),COLOR00FF00; RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); K:=SMA(RSV,3,1),COLOR00FFFF,LINETHICK2; D:=SMA(K,3,1),COLOR00FFFF,LINETHICK2; J:=3*K-2*D,LINETHICK2,COLORFFFFFF; {-股票公式网站 WWW.55188.COM} VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; 高抛: 80; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13),LINETHICK2,COLORFFFFFF; SD: EMA(SK,3),LINETHICK2,COLOR00FF00; DRAWBAND(SK,RGB(250,0,10),SD,RGB(20,200,0)); STICKLINE(CROSS(J,3),20,1,2,0),COLOR000FFF,LINETHICK3; DRAWTEXT(CROSS(J,3),55,'跟庄'); VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR2N:=EMA(VAR1N,30); VAR3N:=EMA(VAR2N,30); VAR4N:=3*VAR2N-2*VAR3N; 势:EMA(VAR4N,5),COLORBLUE,LINETHICK3; VAR5:=LLV(LOW,10); VAR6:=HHV(HIGH,25); 决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4),COLORRED,LINETHICK2; DRAWTEXT(CROSS(80,决策线),105,'闪'),COLOR00FF00; DRAWICON(CROSS(80,决策线),110,2); STICKLINE(势>80,势,80,1,0),COLORGREEN; STICKLINE(势<10,势,10,1,0),COLOR00FFFF; DRAWTEXT(CROSS(10,势),35,'进'),COLOR000FFF; DRAWICON(CROSS(10,势),0,1); 谢谢老师了
解答:
?VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2N:=EMA(VAR1N,30);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!