X_1:=IF(INBLOCK(10),0.2,IF(INBLOCK(493),0.3,IF(INBLOCK(9),0.2,IF(INBLOCK(7),0.05,0.1))));
X_2:=CLOSE=INTPART(REF(CLOSE,1)*(1+X_1)*100+0.55)/100;
X_3:=CLOSE=INTPART(REF(CLOSE,1)*(1-X_1)*100+0.55)/100;
X_4:=IF(X_2,HIGH,BETWEEN(CLOSE/REF(CLOSE,1),1.05,1.4)) AND BETWEEN(OPEN/REF(CLOSE,1),1,1.4);
X_5:=CONST(BARSLAST(AMOUNT=HHV(AMOUNT,150)));
X_6:=CONST(BARSLAST(AMOUNT=LLV(AMOUNT,150)));
X_7:=CONST(BARSLAST(IF(X_3,X_3,OPEN/CLOSE =1.05)));
X_8:=CONST(BARSLAST(IF(X_2,X_2,CLOSE/OPEN =1.05)));
大量:=IF(CURRBARSCOUNT =X_5+1,CONST(REF(HIGH,X_5)),DRAWNULL);
小量:=IF(CURRBARSCOUNT =X_6+1,CONST(REF(LOW,X_6)),DRAWNULL);
大阴:=IF(CURRBARSCOUNT =X_7+1,CONST(REF(OPEN,X_7)),DRAWNULL);
大阳:=IF(CURRBARSCOUNT =X_8+1,CONST(REF(CLOSE,X_8)),DRAWNULL);
X_9:=MA(CLOSE,5);{九毛八公式指标网www.9m8.cn}
{IF(CURRBARSCOUNT =CONST(HHVBARS(X_9,150))+1,CONST(REF(X_9,CONST(HHVBARS(X_9,150)))),DRAWNULL);}
CROSS(CLOSE,CONST(REF(MA(CLOSE,5),CONST(HHVBARS(MA(CLOSE,5),150)))));
竞价涨停突破选股源码:
X_1:=IF(INBLOCK(10),0.2,IF(INBLOCK(493),0.3,IF(INBLOCK(9),0.2,IF(INBLOCK(7),0.05,0.1))));
X_2:=CLOSE=INTPART(REF(CLOSE,1)*(1+X_1)*100+0.55)/100;
X_3:=CLOSE=INTPART(REF(CLOSE,1)*(1-X_1)*100+0.55)/100;
X_4:=IF(X_2,HIGH,BETWEEN(CLOSE/REF(CLOSE,1),1.05,1.4)) AND BETWEEN(OPEN/REF(CLOSE,1),1,1.4);
X_5:=CONST(BARSLAST(AMOUNT=HHV(AMOUNT,150)));
X_6:=CONST(BARSLAST(AMOUNT=LLV(AMOUNT,150)));
X_7:=CONST(BARSLAST(IF(X_3,X_3,OPEN/CLOSE =1.05)));
X_8:=CONST(BARSLAST(IF(X_2,X_2,CLOSE/OPEN =1.05)));
大量:=IF(CURRBARSCOUNT =X_5+1,CONST(REF(HIGH,X_5)),DRAWNULL);
小量:=IF(CURRBARSCOUNT =X_6+1,CONST(REF(LOW,X_6)),DRAWNULL);
大阴:=IF(CURRBARSCOUNT =X_7+1,CONST(REF(OPEN,X_7)),DRAWNULL);
大阳:=IF(CURRBARSCOUNT =X_8+1,CONST(REF(CLOSE,X_8)),DRAWNULL);
X_9:=MA(CLOSE,5);{九毛八公式指标网www.9m8.cn}
{IF(CURRBARSCOUNT =CONST(HHVBARS(X_9,150))+1,CONST(REF(X_9,CONST(HHVBARS(X_9,150)))),DRAWNULL);}
CROSS(CLOSE,CONST(REF(MA(CLOSE,5),CONST(HHVBARS(MA(CLOSE,5),150)))));
{公式名称: 极值线主图 九毛八公式指标网www.9m8.cn}
X_1:=IF(INBLOCK(10),0.2,IF(INBLOCK(493),0.3,IF(INBLOCK(9),0.2,IF(INBLOCK(7),0.05,0.1))));
X_2:=CLOSE=INTPART(REF(CLOSE,1)*(1+X_1)*100+0.55)/100;
X_3:=CLOSE=INTPART(REF(CLOSE,1)*(1-X_1)*100+0.55)/100;
X_4:=IF(X_2,HIGH,BETWEEN(CLOSE/REF(CLOSE,1),1.05,1.4)) AND BETWEEN(OPEN/REF(CLOSE,1),1,1.4);
X_5:=CONST(BARSLAST(AMOUNT=HHV(AMOUNT,150)));
X_6:=CONST(BARSLAST(AMOUNT=LLV(AMOUNT,150)));
X_7:=CONST(BARSLAST(IF(X_3,X_3,OPEN/CLOSE =1.05)));
X_8:=CONST(BARSLAST(IF(X_2,X_2,CLOSE/OPEN =1.05)));
大量:IF(CURRBARSCOUNT =X_5+1,CONST(REF(HIGH,X_5)),DRAWNULL);
小量:IF(CURRBARSCOUNT =X_6+1,CONST(REF(LOW,X_6)),DRAWNULL);
大阴:IF(CURRBARSCOUNT =X_7+1,CONST(REF(OPEN,X_7)),DRAWNULL);
大阳:IF(CURRBARSCOUNT =X_8+1,CONST(REF(CLOSE,X_8)),DRAWNULL);
DRAWTEXT(CURRBARSCOUNT=X_5+1,HIGH*1.008,494);
DRAWTEXT(CURRBARSCOUNT=X_6+1,HIGH*1.008,495);
DRAWTEXT(CURRBARSCOUNT=X_7+1,HIGH*1.008,496);
DRAWTEXT(CURRBARSCOUNT=X_8+1,HIGH*1.008,497);
DRAWNUMBER(ISLASTBAR,大量,大量);
DRAWNUMBER(ISLASTBAR,小量,小量);
DRAWNUMBER(ISLASTBAR,大阴,大阴);
DRAWNUMBER(ISLASTBAR,大阳,大阳);
X_9:=MA(CLOSE,5);{九毛八公式指标网www.9m8.cn}
IF(CURRBARSCOUNT =CONST(HHVBARS(X_9,150))+1,CONST(REF(X_9,CONST(HHVBARS(X_9,150)))),DRAWNULL);
CROSS(CLOSE,CONST(REF(MA(CLOSE,5),CONST(HHVBARS(MA(CLOSE,5),150))))),NODRAW;