资金转红 分时预警
源码
SHOU:=IF(DATE<=1150520,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)))));
动力线:=EMA((CLOSE/TOU),13);
趋势线:=EMA((CLOSE/TOU),88);
aa:CROSS(EMA((CLOSE/TOU),20),1.01);