1.?主买主卖指标主卖主买指标图文素材源码???????ָ??Դ??
????????ָ??Դ??
首先你这图上是指标的使用方法,不是指标设计的条件.如果想编辑指标,要有具体的条件,例如用什么条件识别主力动向.
网上搜了一下,下图的指标应该就是你说的指标.
代码如下
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+ (CLOSE-LOW)),VOL/2));
主卖:=IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE< OPEN,VAR1*(HIGH-LOW),VOL/2));
主力买入量:=(主买*0.5+主卖*0.1)/2;
ZL:SUM(主力买入量,)/SUM(V,)*,LINETHICK2;
DT:=ZL-REF(ZL,1);
STICKLINE(DT>0,ZL,ZL+DT,1,0),COLORRED;
STICKLINE(DT<0,ZL+DT,ZL,1,0),COLORGREEN;