大智慧黑马买卖副图指标
源码
{黑马买卖}
QBVF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
{QB}买入一:=CLOSE<QBVF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;
QBvarA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
QBvarB:=EMA(0.667*REF(QBvarA,1)+0.333*QBvarA,5);
{QB}买入二:=VOL>=1.3*MA(VOL,5) AND COUNT(QBvarA>=QBvarB AND QBvarA<-17,3) AND REF(LOW,1)=LLV(LOW,120);
QBvar1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
QBvar2:=REF(QBvar1,1);
QBvar3:=SMA(MAX(QBvar1-QBvar2,0),10,1)/SMA(ABS(QBvar1-QBvar2),10,1)*100;
{QB}买入三:=COUNT(QBvar3<20,5)>=2 AND COUNT(QBvar1=LLV(QBvar1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2;
QBS:=MA(VOL,5)/MA(VOL,60);
QBBIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
QBF:=MA(QBS,121);
QBRSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
QBK:=SMA(QBRSV,15,1);
QBD:=SMA(QBK,15,1);
QBJ:=3*QBK-2*QBD;
QBLC:=REF(CLOSE,1);
QBRSI:=SMA(MAX(CLOSE-QBLC,0),6,1)/SMA(ABS(CLOSE-QBLC),6,1)*100;
{QB}沽空:CROSS(90,QBRSI);
{QB}买入四:=QBJ<1 AND QBBIAS<0 AND CROSS( QBS,QBF) AND (QBS-QBF)>0.030;
{QB}买入:买入一 OR 买入二 OR 买入三 OR 买入四,stick3d,colorred;