动力线 选股公式

[复制链接]
查看40 | 回复0 | 2022-7-24 05:59:54 | 显示全部楼层 |阅读模式

动力线源码:

涨幅%:DYNAINFO(14)*100,NODRAW;
 SHOU:=IF(DATE<=1250520,1,0);
 SHI:=BETWEEN((CLOSE*SHOU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))),1.05,0.95);
 TOU:=IF(SHI=0,MA((CLOSE*SHOU),BARSCOUNT((CLOSE*SHOU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))));
动力线:EXPMA((CLOSE/TOU),13),COLORFFFF00,LINETHICK1;
趋势线:EXPMA((CLOSE/TOU),88),COLOR0080FF,LINETHICK2;
 NOTEXT1:1.003,COLORLIGREEN,LINETHICK2;
 NOTEXT2:1.03,COLORLIRED,LINETHICK2;
 DRAWTEXT(CROSS(EXPMA((CLOSE/TOU),20),1.04),1.04,'OR涨停'),COLORYELLOW;
 IF(动力线>1.003,动力线,DRAWNULL),COLORMAGENTA;
 IF(动力线>1.03,动力线,DRAWNULL),COLORRED;
 DRAWICON(CROSS(动力线,1.03),1.03,13);
资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
资金出入:=资金流入+资金流出,COLORSTICK;

 

选股公式:

SHOU:=IF(DATE<=1250520,1,0);
 SHI:=BETWEEN((CLOSE*SHOU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))),1.05,0.95);
 TOU:=IF(SHI=0,MA((CLOSE*SHOU),BARSCOUNT((CLOSE*SHOU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*SHOU)))/SUM(VOL*100,BARSCOUNT((CLOSE*SHOU)))));
动力线:=EXPMA((CLOSE/TOU),13),COLORFFFF00,LINETHICK1;
 CROSS(动力线,1.03),;

 

723399375.png

723399375.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则