以下是同花顺A1副图指标
同花顺A1副图指标
源码
A:=17;B:=5;S:=13;
p1= 100*(SUM(CLOSE,2)/2-SUM(CLOSE,a)/a)/SUM(CLOSE,a);
p2= 100*(SUM(CLOSE,2)/2-SUM(CLOSE,b)/b)/SUM(CLOSE,b);
H1= a*100*(SUM(ABS(CLOSE-LOW),3)/3-SUM(ABS(CLOSE-HIGH),3)/3)/SUM(CLOSE,a);
H2= b*100*(SUM(ABS(CLOSE-LOW),3)/3-SUM(ABS(CLOSE-HIGH),3)/3)/SUM(CLOSE,b);
VVOL2= SQRT(ABS(SUM(VOL,2)-SUM(VOL,b)/b)/SUM(VOL,b));
VVOL1= SQRT(ABS(SUM(VOL,2)-SUM(VOL,a)/a)/SUM(VOL,a));
pvshort=10*p2*Vvul2+0.382*H2;
pvlong=10*p1*Vvul1+0.382*H1;
短期pv:MA(pvshort,4);
中期pv:MA(pvlong,4);
SIgn= 2*MA(pvshort-pvlong+(H2-H1)*1.618,s);
中期多空:SUM(SIgn,21)/7;
短期多空:4*EMA(pvshort+(H2-H1)*1.618-pvlong,13);
zero:0;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)