大智慧主动成交 源码介绍
大智慧主动成交 源码
主动成交(请多加分,多回复)
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorblue,pointdot;
主卖:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),color00FF00,pointdot;
动力:主买+主卖,LINETHICK1,color666666;
动力指数:动力/FINANCE2(37),color00FFFF;
VOL,VOLSTICK;
动力放大:主买*3+主卖*3,LINETHICK1,colorFF0000;
stickline(主买>0,0,主买,6,0),colorBBBBBB;
stickline(主卖<0,0,主卖,6,0),color888888;
STICKLINE(动力>0,0,动力,4,0 ),COLORFF00FF;
STICKLINE(动力<0,0,动力,4,0),COLORBLUE;
[动力指数可以排序]
gd23216