大智慧小龙虎盘指标公式
A:=((HIGH)/(CLOSE)-1)*(100);
B:=((CLOSE)/(LOW)-1)*(100);
D:=((CLOSE)/(REF(CLOSE,1))-1)*(100);
X:=B-A;
卖量:((vol)*(A))/(100),POINTDOT,CoLorFF8080;
买量:((VOL)*(B))/(100),POINTDOT,CoLor0000FF;
买卖净量:买量-卖量,POINTDOT,CoLor00FF00;
买卖比:(买量)/(卖量),POINTDOT,CoLor00FFFF;
对冲:VOL-买量+卖量,POINTDOT,CoLorFFFFFF;
STICKLINE((卖量>0),(卖量)*(100),0,4,0),CoLorFF8080;
STICKLINE((买量>0),(买量)*(100),0,4,0),CoLor0000FF;
QS:=(SUM(买卖净量,15))*(100);
大智慧三龙摆尾主图指标公式
用法: 1.ma60>ma133,ma20>ma60,c>ma20; 2.macd金叉 or diff>dea;diff上涨,dea上涨; 3.ma133托ma20,ma60上涨,多头排列; 4.放量,收阳
ma20:ema(c,20);
ma60:ema(c,60);
ma133:ema(c,133);
DIFF: EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DEA: EMA(DIFF,9),coloryellow;
macd:2*(DIFF-DEA), COLORSTICK;
ma20:=ema(c,20);
ma60:=ema(c,60);
ma133:=ema(c,133);
vv1:=ma20>ref(ma20,1) and ma60>ref(ma60,1) and ma133>ref(ma133,1) and
ma20>ma60 and ma60>ma133 and c>ma20;
vv2:=(cross(diff,dea) or diff>dea) and diff>ref(diff,1) and dea>ref(dea,1);
xg1:stickline(vv1 and vv2,dea,diff,3,0),colorred;

