量能:=IF((V-MA(V,5))>0,(V-MA(V,5)),0);
量能1:=IF((V-MA(V,60))>0,(V-MA(V,60)),0);
量能2:=IF((V-MA(V,120))>0,(V-MA(V,120)),0);
B:=SUMBARS(量能,CAPITAL*0.02);
B1:=SUMBARS(量能1,CAPITAL*0.1);
B2:=SUMBARS(量能2,CAPITAL*0.2);
增量:MA(SUM(AMOUNT,B)/SUM(V*100,B),3);
增量1:MA(SUM(AMOUNT,B1)/SUM(V*100,B1),3);
增量2:MA(SUM(AMOUNT,B2)/SUM(V*100,B2),3);
周期:=SUMBARS(VOL,CAPITAL);
一个换手:SUM(AMOUNT,周期)/SUM(V*100,周期),COLORFF00FF,LINETHICK2;
202108211212.jpg
|