更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
解答:
网友求助:
这个买卖总量的指标是根据买卖总量编辑而成的,用的顺手,但总是占用一个副图的位置,屏幕有限,放不下了,请老师帮忙修改,将这个副图变成主图,谢谢各位老师^^
总卖量:=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;
总买量:=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;
VERTLINE(上 ,1 ),COLOR0000ff;
VERTLINE(下 ,1 ),COLOR00ff00;
VERTLINE(上上 ,2),COLOR0000ff;
VERTLINE(下下 ,2),COLOR00ff00;
选股票看什么指标最好 >股票指标网
精彩评论