以下是超级短打–指标公式
ma1:CLOSE,LINETHICK0,PRECIS2;
gg:=PEAKBARS(4,20,1)+1;
dd:=TROUGHBARS(4,20,1)+1;
VOL1:=MA(VOL,1);
VOL5:=MA(VOL,5);
VOL13:=MA(VOL,13);
最大量:=HHV(VOL1,DD);
量支撑:=VOL1=最大量 AND C>REF(C,1) AND VOL5>VOL13;
LSJ:BARSLAST(量支撑),LINETHICK0;
LGJG:=REF(h,LSJ);
LDJG:=REF(L,LSJ);
压力:IF(LSJ=1,LGJG,REF(LGJG,BARSLAST(LSJ=1))),colorgreen,LAYER0;
预测量:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0);
实际量:=VOL;
预测倍量:预测量/REF(实际量,1),PRECIS1,colorwhite,LINETHICK0;
实际倍量:实际量/REF(实际量,1),PRECIS1,colorwhite,LINETHICK0;
{bbs.amcd.cn_大智慧指标公式}
预测突破:=CROSS(MA1,压力) AND 预测倍量>1.5;
STICKLINE(预测突破,REF(C,1 ),REF(C,1 )*1.1,8,1),colorwhite,LAYER1;
STICKLINE(预测突破,H,L,2,0),Culor00b7b3,LAYER2;
STICKLINE(预测突破,C,O,8,0),Culor006664,LAYER2;
STICKLINE(预测突破,C,O,7,0),Culor006664,LAYER2;
STICKLINE(预测突破,C,O,6,0),Culor008481,LAYER2;
STICKLINE(预测突破,C,O,5,0),Culor00a29d,LAYER2;
STICKLINE(预测突破,C,O,4,0),Culor00b7b3,LAYER2;
STICKLINE(预测突破,C,O,3,0),Culor00ccc7,LAYER2;
STICKLINE(预测突破,C,O,2,0),Culor00ece6,LAYER2;
STICKLINE(预测突破,C,O,1,0),Culor5bfffb,LAYER2;
实际突破:=CROSS(MA1,压力) AND 实际倍量>1.5;
STICKLINE(实际突破,H,L,2,0),Culor0000C6,LAYER1;
STICKLINE(实际突破,C,O,8,0),Culor00005E,LAYER1;
STICKLINE(实际突破,C,O,7,0),Culor000073,LAYER1;
STICKLINE(实际突破,C,O,6,0),Culor000090,LAYER1;
STICKLINE(实际突破,C,O,5,0),Culor0000AA,LAYER1;
STICKLINE(实际突破,C,O,4,0),Culor0000C6,LAYER1;
STICKLINE(实际突破,C,O,3,0),Culor0000DD,LAYER1;
STICKLINE(实际突破,C,O,2,0),Culor0000EC,LAYER1;
STICKLINE(实际突破,C,O,1,0),Culor0F0FFF,LAYER1;
评论(0)