通达信——精选指标《钻石量能副图》源码
指标源码:
预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),VOLSTICK;
M1:=5;M2:=60;N:=15;
MAVOL1:MA(预测量,M1);
MAVOL2:MA(预测量,M2);
BB:=CROSS(MAVOL1,MAVOL2);
CC:=CROSS(MAVOL2,MAVOL1);
STICKLINE(BB,0,VOL,1,0),COLORYELLOW;
STICKLINE(CC,0,VOL,1.5,0),COLORGREEN;
地量:=V<=LLV(V,N);
DRAWICON(地量,MA(VOL,60),25);
DRAWICON((MA(V,4)*4+V)/5>=MA(V,60) AND MA(V,5)
欢迎大家自行尝试! 关于指标大家可以私信找我免费领取!