九毛八公式指标
公式模块:
已修改的主图代码在2楼,谢谢休闲人2010老师^^
这个买卖总量的指标是根据买卖总量编辑而成的,用的顺手,但总是占用一个副图的位置,屏幕有限,放不下了,请老师帮忙修改,将这个副图变成主图,谢谢各位老师^^
总卖量:=ALLASKvol;
总买量:=ALLBIDVOL;
tt:=if(time0<=41400,(time0-34200)/60,120+(time0-46800)/60);
上:(cross(总买量,总卖量) and count(cross(总买量,总卖量),tt)=2 and count(cross(总卖量,总买量),tt)=1) or(cross(总买量,总卖量) and count(cross(总买量,总卖量),tt)=2 and count(cross(总卖量,总买量),tt)=2);
下:(cross(总卖量,总买量) and count(cross(总卖量,总买量),tt)=2 and count(cross(总买量,总卖量),tt)=2) or (cross(总卖量,总买量) and count(cross(总卖量,总买量),tt)=3 and count(cross(总买量,总卖量),tt)=2);
上上:cross(总卖量,总买量) and count(cross(总买量,总卖量),tt)=1 and count(cross(总卖量,总买量),tt)=1;
下下:cross(总卖量,总买量) and count(cross(总卖量,总买量),tt)=2 and count(cross(总买量,总卖量),tt)=1;
drawtext(下下,1.2,'上'),colorgreen;
drawtext(上上,1.2,'下'),colorred;