把握强势启动万手单副图指标源码

X_1:=MA(CLOSE,10);

X_2:=MA(CLOSE,54);

X_3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;

X_4:=FILTER(X_3,10);

X_5:=BARSLAST(X_4);

X_6:=REF(HIGH,X_5+2);

X_7:=REF(HIGH,X_5+1);

X_8:=REF(HIGH,X_5);

X_9:=MAX(X_6,X_7);

X_10:=MAX(X_9,X_8);

X_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;

X_12:=X_5<150;

X_13:=(OPEN-X_10)/X_10*100<30;

X_14:=(CLOSE-LLV(LOW,X_5))/LLV(LOW,X_5)*100<50;

X_15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;

X_16:=VOL/MA(VOL,5)<3.5;

X_17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;

X_18:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16 AND X_17;

X_19:=FILTER(X_18,15);

X_20:=(CLOSE-X_2)/X_2<0.1;

X_21:=(CLOSE-X_1)/X_1<0.3;

X_22:=(X_20=1 AND X_21=1)*0.2;

X_23:=(X_22=0 AND REF(X_22,1)=0.2 AND REF(COUNT(X_22=0.2,10)=10,1)=1)*(-0.1);

X_24:=X_23=(-0.1);

X_25:=X_19 OR X_24;

X_26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);

X_27:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;

X_28:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);

万手单:X_25 AND CLOSE/REF(CLOSE,1)>1.095 AND X_28 AND X_27,NODRAW,COLORRED;

{DRAWGBK(CLOSE>1,RGB(0,0,0),RGB(72,209,204),0,0,0);}{底色}

STICKLINE(万手单,94,115,0,0),COLORRED;

STICKLINE(万手单,92,94,1.5,0),COLOR333333;

STICKLINE(万手单,92,94,1.2,0),COLOR444444;

STICKLINE(万手单,92,94,1,0),COLOR555555;

STICKLINE(万手单,92,94,0.5,0),COLOR666666;

STICKLINE(万手单,92,94,0.02,0),COLOR777777;

STICKLINE(万手单,92,94,0,0),COLORCCCCCC;

STICKLINE(万手单,90,92,2,0),COLOR333333;

STICKLINE(万手单,90,92,1.5,0),COLOR444444;

STICKLINE(万手单,90,92,1,0),COLOR555555;

STICKLINE(万手单,90,92,0.5,0),COLOR666666;

STICKLINE(万手单,90,92,0.02,0),COLOR777777;

STICKLINE(万手单,90,92,0,0),COLORCCCCCC;

STICKLINE(万手单,88,90,3,0),COLOR333333;

STICKLINE(万手单,88,90,2.5,0),COLOR444444;

STICKLINE(万手单,88,90,2,0),COLOR555555;

STICKLINE(万手单,88,90,1.5,0),COLOR666666;

STICKLINE(万手单,88,90,0.02,0),COLOR777777;

STICKLINE(万手单,88,90,0,0),COLORCCCCCC;

STICKLINE(万手单,85,88,4,0),COLOR333333;

STICKLINE(万手单,85,88,3.5,0),COLOR444444;

STICKLINE(万手单,85,88,2,0),COLOR555555;

STICKLINE(万手单,85,88,0.5,0),COLOR666666;

STICKLINE(万手单,85,88,0.02,0),COLOR777777;

STICKLINE(万手单,85,88,0,0),COLORCCCCCC;

STICKLINE(万手单,82,85,4.5,0),COLOR333333;

STICKLINE(万手单,82,85,4,0),COLOR444444;

STICKLINE(万手单,82,85,2.5,0),COLOR555555;

STICKLINE(万手单,82,85,1,0),COLOR666666;

STICKLINE(万手单,82,85,0.05,0),COLOR777777;

STICKLINE(万手单,82,85,0,0),COLORCCCCCC;

STICKLINE(万手单,78,82,5,0),COLOR333333;

STICKLINE(万手单,78,82,4,0),COLOR444444;

STICKLINE(万手单,78,82,3.5,0),COLOR555555;

STICKLINE(万手单,78,82,1.5,0),COLOR666666;

STICKLINE(万手单,78,82,0.05,0),COLOR777777;

STICKLINE(万手单,78,82,0,0),COLORCCCCCC;

STICKLINE(万手单,73,78,5.5,0),COLOR333333;

STICKLINE(万手单,73,78,4,0),COLOR444444;

STICKLINE(万手单,73,78,2.5,0),COLOR555555;

STICKLINE(万手单,73,78,1,0),COLOR666666;

STICKLINE(万手单,73,78,0.05,0),COLOR777777;

STICKLINE(万手单,73,78,0,0),COLORCCCCCC;

STICKLINE(万手单,68,73,6,0),COLOR333333;

STICKLINE(万手单,68,73,4.5,0),COLOR444444;

STICKLINE(万手单,68,73,3,0),COLOR555555;

STICKLINE(万手单,68,73,1.5,0),COLOR666666;

STICKLINE(万手单,68,73,0.05,0),COLOR777777;

STICKLINE(万手单,68,73,0,0),COLORCCCCCC;

STICKLINE(万手单,60,68,6,0),COLOR000066;

STICKLINE(万手单,60,68,4,0),COLOR000099;

STICKLINE(万手单,60,68,2,0),COLORRED;

STICKLINE(万手单,60,68,1,0),COLOR0033FF;

STICKLINE(万手单,60,68,0.5,0),COLOR6633FF;

STICKLINE(万手单,60,68,0,0),COLORCC99CC;

STICKLINE(万手单,23,60,7,0),COLOR0055AA;

STICKLINE(万手单,23,60,6,0),COLOR0066BB;

STICKLINE(万手单,23,60,5,0),COLOR0077CC;

STICKLINE(万手单,23,60,4,0),COLOR0088DD;

STICKLINE(万手单,23,60,3,0),COLOR0099EE;

STICKLINE(万手单,23,60,2,0),COLOR00AAFF;

STICKLINE(万手单,23,60,1,0),COLOR00CCFF;

STICKLINE(万手单,23,60,0,0),COLORYELLOW;

STICKLINE(万手单,15,23,6,0),COLOR000066;

STICKLINE(万手单,15,23,4,0),COLOR000099;

STICKLINE(万手单,15,23,2,0),COLORRED;

STICKLINE(万手单,15,23,1,0),COLOR0033FF;

STICKLINE(万手单,15,23,0.5,0),COLOR6633FF;

STICKLINE(万手单,15,23,0,0),COLORCC99CC;

STICKLINE(万手单,0,15,6,0),COLOR333333;

STICKLINE(万手单,0,15,4.5,0),COLOR444444;

STICKLINE(万手单,0,15,3,0),COLOR555555;

STICKLINE(万手单,0,15,1.5,0),COLOR666666;

STICKLINE(万手单,0,15,0.05,0),COLOR777777;

STICKLINE(万手单,0,15,0,0),COLORCCCCCC;

 

 

 

 

 

MB1:=MA(C,5),COLORYELLOW;

QQ7:=MA(C,144);

AB:=(H-MB1)/MB1*100;

NHYT:=(H-MB1)/MB1*100>=20 AND H>C;

TGVFR:=AB>=15 AND AB<20 AND H>C;

A1:=FILTER(TGVFR,12);

STICKLINE(NHYT, 0,5.8, 0,0),COLORGREEN;

STICKLINE(NHYT, 5,6, 3,0),COLORGREEN;

DRAWICON(NHYT,6,9);

DRAWTEXT(NHYT,6.5,   VARCAT(VAR2STR(MB1*1.2,2),'元★抛')),COLORGREEN;

YTGHJN1:=AMOUNT/VOL/100,NODRAW;

YTGHJN2:=O>C AND YTGHJN1>REF(C,1),COLORRED,NODRAW;

STICKLINE(YTGHJN2,O,C,1,0),COLORGREEN,NODRAW;

YTGHJN5:=C/REF(C,1)<=0.96 AND V

 

 

 

 

AA:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN)));

主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE

主动卖盘:=IF(CLOSE>OPEN,-AA*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE

买卖比:=主动买盘/主动卖盘;

卖盘:=VOL-主动买盘;

卖盘大:=(卖盘-主动买盘)/卖盘>0.6;

买盘大:=(主动买盘-卖盘)/主动买盘>0.6;

WJ:=(HIGH+LOW+CLOSE)/3;

VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));

VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);

VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);

VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));

VD5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));

VD6:=VD1*VD5;

VD7:=VD2*VD5;

VD8:=VD3*VD5;

VD9:=VD4*VD5;

买入量:=VD9+VD8;

卖出量:=VD6+VD7;

卖量:=VOL-买入量;

卖量大:=(卖量-买入量)/卖量>0.4;

买量大:=(买入量-卖量)/买入量>0.4;

买入资金:=买入量*CLOSE/1000000;

卖出资金:=卖出量*CLOSE/1000000;

资金进出:=买入资金-卖出资金;

买卖资金比:=买入资金/卖出资金;

十天资金:=SUM(资金进出,10),COLOR7D9585;

净流入:=SUM(资金进出,1)*1000,COLOR4040A6;

KKPL2:=(C-REF(C,1))/REF(C,1)*100;

KKPL1:=VOL*10000/FINANCE(7); 

DRAWTEXT(NHYT AND 净流入<0,3,VARCAT(VARCAT('净流入:',VAR2STR(净流入,0)),'万')),COLORGREEN;

DRAWTEXT(NHYT AND 净流入>0,3,VARCAT(VARCAT('净流入:',VAR2STR(净流入,0)),'万')),COLORRED;

 

 

 

XG:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)

YL:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

MA26:=MA(CLOSE,26);

W1:=MA(CLOSE,60);

U1:=COUNT(YL/MA26>1,7)=7 AND (COUNT(YL/W1>1,4)=4 OR MA26/W1>1);

VAR1:=(HIGH+LOW+CLOSE*2)/4;

VAR2:=EMA(VAR1,21);

VAR3:=STD(VAR1,21);

VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;

VAR5:=(EMA(VAR4,89)-25)*1.56;

VAR6:=EMA(VAR5,5)*1.22;

VAR7:=EMA(VAR6,3);

VAR8:=3*VAR6-2*VAR7;

VAR1A:=IF(CROSS(VAR6,VAR8) AND CROSS(VAR7,VAR8) AND CROSS(VAR7,VAR6),1,0);

VAR1B:=EMA(CLOSE,3)-EMA(CLOSE,89);

VAR1C:=EMA(VAR1B,21);

VAR1D:=(VAR1B-VAR1C)*10;

VAR1F:=POW(VAR1D,3)*0.1+POW(VAR1D,2);

拉升:=IF(VAR1D>0.015,VAR1F,0)/45;

STICKLINE(拉升 AND 拉升>0.05 ,拉升,0,1,1),COLOR00DDDD;

STICKLINE(拉升/REF(拉升,1)>2 AND 拉升>0.05 AND U1,拉升,0,1,1),COLORDD00DD;

MAS:MA(拉升,5),NODRAW;

DRAWICON(拉升/REF(拉升,1)>5 AND REF(拉升,1)/REF(拉升,2)>5,0,38);

 

 

ZF:=((C-REF(C,1))/REF(C,1))*100;

NE:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);

A11:=C/REF(C,1)-1>=NE-0.01/REF(C,1) AND C=H  ;

连板数:=BARSLASTCOUNT(A11);

昨板数:=REF(连板数,1);

WW:=REF(A11,1) OR  REF(A11,2);

W1昨:=VOL>=REF(V,1)*1.2 AND CREF(C,1) AND O>REF(C,1);

A57:=(C-REF(C,3))/REF(C,3)*100<20  AND (HHV(H,5)-LLV(L,5))/REF(O,5)<0.45  AND (HHV(H,9)-LLV(L,9))/REF(O,9)<0.43   AND (HHV(H,12)-LLV(L,12))/REF(O,12)<0.52  AND (HHV(H,10)-LLV(L,10))/REF(O,10)<0.52;

A116:=C>=HHV(MAX(C,O),20) AND (C-REF(C,12))/REF(C,12)*100<30 AND (C-REF(C,13))/REF(C,13)*100<25;

A16:=V>=REF(HHV(V,70),70);

A56:=H>=HHV(MAX(C,O),60) AND (C-REF(C,70))/REF(C,70)*100<150  AND SUM(V/CAPITAL*100,12)<150;

阴线打桩:=W1昨 AND A57  AND A56 AND A16;

 

TJR:=BARSLAST(阴线打桩);

XX:=RANGE(TJR,6,200);

JR:=CROSS(C,REF(H,TJR)) OR CROSS(C,REF(O,TJR));

JJ:=JR OR REF(JR,1);

阴阳接:= TJR<200 AND TJR>=6  AND A116   AND ZF>8.5  AND   JJ AND REF(C,1)<35 ,COLORYELLOW,LINETHICK2;

 

STICKLINE(阴线打桩,0,1,2,0),COLORGREEN;

STICKLINE(阴阳接,0,1,3,0),COLORMAGENTA;

DRAWTEXT(阴线打桩,0.7,'★阴线打桩'),COLORGREEN;

DRAWTEXT(阴阳接,0.8,'★阴阳接'),COLORYELLOW;




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图