k线站稳绿线为买进
均价:=(H+L+O+C)/4;分水岭:MA(3*均价-2*SMA(均价,2,1),10),COLORWHITE,LINETHICK1;
做多趋势:IF(均价>分水岭,均价,分水岭),COLORYELLOW,LINETHICK1;
支撑:REVERSE(做多趋势)+2*分水岭,LINETHICK1;
B:=(2*EMA(LLV(均价,7),10)-均价);
做空趋势:(3*B-2*SMA(B,10,1)),COLORGREEN ,LINETHICK2;
阻力:IF(均价<分水岭,均价,分水岭),LINETHICK1;
{阴线战法“大阴实顶”的主图显示}
RC1:=REF(C,1);
大阴线:=C<0.96*O OR C<=RC1*0.96 OR C>1000 AND C<=RC1*0.98;
大阴T:=BARSLAST(FILTER(大阴线,3));{调整显示密度}
大阴实顶: REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴K线的开盘价O};
大阴二一: REF((L+H)/2,大阴T),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块};
净收益:=(FINANCE(33)/FINANCE(34)*100);
主利率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营业增长率:=FINANCE(44);
净利润增长率:=FINANCE(43);
每股收益:=CONST(FINANCE(38));
每股净资产:=CONST(FINANCE(34));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
流通市值:=ROUND(FINANCE(40)/100000000);
A股流通:=FINANCE(7)/100000000;
市盈率:=DYNAINFO(39);
换手率:=VOL/CAPITAL*100;
资金净流:=L2_AMO(0,2)/100+L2_AMO(1,2)/100-L2_AMO(0,3)/100+L2_AMO(1,3)/100;
量比:=DYNAINFO(17);
成交方向:=DYNAINFO(40);
主动买单:=ISBUYORDER;
涨速:=DYNAINFO(24);
大单比率:=(LARGEINTRDVOL-LARGEOUTTRDVOL)/CAPITAL*100;
PEG指标:=DYNAINFO(39)/FINANCE(43)*100;
获利盘比例:=LWINNER(1,CLOSE);
区间成本:=COSTEX(CLOSE,REF(CLOSE,BARSCOUNT(C)-1));
昨收盘价:=REF(C,1);
今开盘价:=OPEN;
SAX1:=每股收益>=0.01;
SAX12:= 每股收益>=0.001;
SAX2:=每股净资产>=2;
SAX22:=每股净资产>=0.01;
SAX4:=每股未分配>=0.5;
SAX42:=每股未分配>=0.001;
SAX5:=每股公积金>=0.5;
SAX52:=每股公积金>=0.002;
DP3:=市盈率<=200;
DP32:=市盈率<=5000;
DP4:=换手率>=0.1;
DP42:=换手率>=0.01;
WMF1:=量比>=0.8;
WMF12:=量比>=0.3;
ER1:=净收益>=3;
ER12:=净收益>=0.01;
ER2:=主利率>=2;
ER22:=主利率>=0;
ER4:=主营业增长率>=1;
ER42:=主营业增长率>=0;
ER5:=净利润增长率>=2;
ER52:=净利润增长率>=0.2;
优秀:=ER1 AND ER2 AND ER4 AND ER5 AND SAX1 AND SAX2
AND SAX4 AND SAX5 AND DP3 AND DP4 AND WMF1,COLORRED;
QF:=NOT(优秀);
较好:=ER12 AND ER22 AND ER42 AND ER52 AND SAX12 AND SAX22
AND SAX42 AND SAX52 AND DP32 AND DP42 AND WMF12 AND QF,COLORMAGENTA;
DRAWTEXT_FIX(优秀,0.645,0.095,0,'基本面:优秀级!'),COLORRED;
DRAWTEXT_FIX(较好,0.645,0.06,0,'基本面:较好!'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.825,0.90,0,STRCAT('代码:',CODE)),COLORYELLOW;
EMA13:=MA(C,13),COLORWHITE,LINETHICK2;
EMA34:=MA(C,34),COLORYELLOW;
EMA55:=MA(C,55),COLORFF00FF;
撼地神牛:=EMA13<EMA55;
限制条件:=REF(O,1)/REF(C,1)>1.05;
STICKLINE(撼地神牛 AND 限制条件,O,C,1,0)COLORRED;
DRAWTEXT(撼地神牛 AND 限制条件,L,'撼地神牛')COLOR00FFFF;
{元帅主图}
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC2:=REF(C,2);
RC3:=REF(C,3);
RC4:=REF(C,4);
RO1:=REF(O,1);
RO2:=REF(O,2);
RO3:=REF(O,3);
RO4:=REF(O,4);
不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;
不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;
均价:=AMOUNT/VOL/100;
RJ1:=REF(均价,1);
RJ2:=REF(均价,2);
阳柱:=C>=O OR (C<O AND 均价>RC1);
三日二阳:=COUNT(阳柱,3)>=2;
基价柱阳:=RC3>RO3;
价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);
均价升:=(C+RC1+RC2)/3>RC3;
量渐升:=V>RV1 AND RV1>RV2 ;
量渐减:=V<=RV1 AND RV1<=RV2 ;
均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);
日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);
均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(V+RV1+RV2)/3/RV3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=RO3>RC4 AND RC4>RO4;
黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;
BACKSET101T:=BACKSET(黄金柱1T,5);
FILTER101T:=FILTER(BACKSET101T,4);{WWW.GUPANG.COM}
黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;
BACKSET101:=BACKSET(黄金柱1,4);
FILTER101:=FILTER(BACKSET101,3);
黄金柱11:=黄金柱1 AND REF(黄金柱1,1);
BACKSET1011:=BACKSET(黄金柱11,4);
FILTER1011:=FILTER(BACKSET1011,3);
黄金柱12:=黄金柱1 AND REF(黄金柱1,2);
BACKSET1012:=BACKSET(黄金柱12,4);
FILTER1012:=FILTER(BACKSET1012,3);
黄金柱13:=黄金柱1 AND REF(黄金柱1,3);
BACKSET1013:=BACKSET(黄金柱13,4);
FILTER1013:=FILTER(BACKSET1013,3);
黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201T:=BACKSET(黄金柱2T,5);
FILTER201T:=FILTER(BACKSET201T,4);
黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201:=BACKSET(黄金柱2,4);
FILTER201:=FILTER(BACKSET201,3);
黄金柱21:=黄金柱2 AND REF(黄金柱2,1);
BACKSET2011:=BACKSET(黄金柱21,4);
FILTER2011:=FILTER(BACKSET2011,3);
黄金柱22:=黄金柱2 AND REF(黄金柱2,2);
BACKSET2012:=BACKSET(黄金柱22,4);
FILTER2012:=FILTER(BACKSET2012,3);
黄金柱23:=黄金柱2 AND REF(黄金柱2,3);
BACKSET2013:=BACKSET(黄金柱23,4);
FILTER2013:=FILTER(BACKSET2013,3);
黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301T:=BACKSET(黄金柱3T,5);
FILTER301T:=FILTER(BACKSET301T,4);
黄金柱3:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301:=BACKSET(黄金柱3,4);
FILTER301:=FILTER(BACKSET301,3);
黄金柱31:=黄金柱3 AND REF(黄金柱3,1);
BACKSET3011:=BACKSET(黄金柱31,4);
FILTER3011:=FILTER(BACKSET3011,3);
黄金柱32:=黄金柱3 AND REF(黄金柱3,2);
BACKSET3012:=BACKSET(黄金柱32,4);
FILTER3012:=FILTER(BACKSET3012,3);
黄金柱33:=黄金柱3 AND REF(黄金柱3,3);
BACKSET3013:=BACKSET(黄金柱33,4);
FILTER3013:=FILTER(BACKSET3013,3);
黄金柱4T:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);
BACKSET401T:=BACKSET(黄金柱4T,5);
FILTER401T:=FILTER(BACKSET401T,4);
黄金柱4:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);
BACKSET401:=BACKSET(黄金柱4,4);
FILTER401:=FILTER(BACKSET401,3);
黄金柱41:=黄金柱4 AND REF(黄金柱4,1);
BACKSET4011:=BACKSET(黄金柱41,4);
FILTER4011:=FILTER(BACKSET4011,3);
黄金柱42:=黄金柱4 AND REF(黄金柱4,2);
BACKSET4012:=BACKSET(黄金柱42,4);
FILTER4012:=FILTER(BACKSET4012,3);
黄金柱43:=黄金柱4 AND REF(黄金柱4,3);
BACKSET4013:=BACKSET(黄金柱43,4);
FILTER4013:=FILTER(BACKSET4013,3);
黄金柱5T:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501T:=BACKSET(黄金柱5T,5);
FILTER501T:=FILTER(BACKSET501T,4);
黄金柱5:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501:=BACKSET(黄金柱5,4);
FILTER501:=FILTER(BACKSET501,3);
黄金柱51:=黄金柱5 AND REF(黄金柱5,1);
BACKSET5011:=BACKSET(黄金柱51,4);
FILTER5011:=FILTER(BACKSET5011,3);
黄金柱52:=黄金柱5 AND REF(黄金柱5,2);
BACKSET5012:=BACKSET(黄金柱52,4);
FILTER5012:=FILTER(BACKSET5012,3);
黄金柱53:=黄金柱5 AND REF(黄金柱5,3);
BACKSET5013:=BACKSET(黄金柱53,4);
FILTER5013:=FILTER(BACKSET5013,3);
黄金柱6T:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601T:=BACKSET(黄金柱6T,5);
FILTER601T:=FILTER(BACKSET601T,4);
黄金柱6:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601:=BACKSET(黄金柱6,4);
FILTER601:=FILTER(BACKSET601,3);
黄金柱61:=黄金柱6 AND REF(黄金柱6,1);
BACKSET6011:=BACKSET(黄金柱61,4);
FILTER6011:=FILTER(BACKSET6011,3);
黄金柱62:=黄金柱6 AND REF(黄金柱6,2);
BACKSET6012:=BACKSET(黄金柱62,4);
FILTER6012:=FILTER(BACKSET6012,3);
黄金柱63:=黄金柱6 AND REF(黄金柱6,3);
BACKSET6013:=BACKSET(黄金柱63,4);
FILTER6013:=FILTER(BACKSET6013,3);
FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4)));
FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4)));
FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4)));
FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4)));
FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4)));
FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4)));
FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6;
STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'黄金柱'),COLOR0099FF;
K1:=SUMBARS(FIL,1);
STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;
FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5)));
FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5)));
FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5)));
FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5)));
FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5)));
FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5)));
FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T;
STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF;
DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'元帅柱'),COLOR0000FF;
K2:=SUMBARS(FILT,1);
STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF;
黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5 OR 黄金柱6 ) AND 均线 AND 临界点;
BACKSET10LJ:=BACKSET(黄金柱LJ ,4);
FILTER10LJ:=FILTER(BACKSET10LJ,3);
STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJ AND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ;
BACKSET10LJT:=BACKSET(黄金柱LJT ,5);
FILTER10LJT:=FILTER(BACKSET10LJT,5);
STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJT AND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
LT:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
ABRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK1;
TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
AA:=CROSS(C,CONST(AB));
TJ:=COUNT(AA,TT+1)=1 AND AA;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED;
DRAWLINE(LTT=0,L,XGT=0,L,0),COLORRED;
DRAWICON(XGA,L*0.95,9);
MA3:=MA(C,3);
{凹口淘金}
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC5:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT>CC5+T1 AND H>T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT>CC5+T2 AND HIGH>T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
凹口淘金RAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLORMAGENTA,LINETHICK1;
DRAWTEXT(ISLASTBAR, T3HIGH, '凹口淘金')LINETHICK1,COLOR00FFFF;
MAA13:MA(C,13),COLORYELLOW,LINETHICK1;
MAA18:=MA(C,18);
MAA30:MA(C,30),COLORRED;
KS:IF(MAA18>MAA30,MAA18,MAA30),COLORMAGENTA;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW; {阴线战法“大阴实顶”的主图显示}
RC1:=REF(C,1);
大阴线:=C<0.96*O OR C<=RC1*0.96 OR C>1000 AND C<=RC1*0.98;
大阴T:=BARSLAST(FILTER(大阴线,3));{调整显示密度}
大阴实顶: REF(O,大阴T),COLORLIGREEN,POINTDOT;{显示大阴K线的开盘价O};
大阴二一: REF((L+H)/2,大阴T),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块}
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块}
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块};
净收益:=(FINANCE(33)/FINANCE(34)*100);
主利率:=(FINANCE(23)/FINANCE(20)*100);
现金负债比:=(FINANCE(25)/FINANCE(15));
主营业增长率:=FINANCE(44);
净利润增长率:=FINANCE(43);
每股收益:=CONST(FINANCE(38));
每股净资产:=CONST(FINANCE(34));
每股现金流:=CONST((FINANCE(25)/FINANCE(1)));
每股未分配:=CONST(FINANCE(32));
每股公积金:=CONST(FINANCE(18));
流通市值:=ROUND(FINANCE(40)/100000000);
A股流通:=FINANCE(7)/100000000;
市盈率:=DYNAINFO(39);
换手率:=VOL/CAPITAL*100;
资金净流:=L2_AMO(0,2)/100+L2_AMO(1,2)/100-L2_AMO(0,3)/100+L2_AMO(1,3)/100;
量比:=DYNAINFO(17);
成交方向:=DYNAINFO(40);
主动买单:=ISBUYORDER;
涨速:=DYNAINFO(24);
大单比率:=(LARGEINTRDVOL-LARGEOUTTRDVOL)/CAPITAL*100;
PEG指标:=DYNAINFO(39)/FINANCE(43)*100;
获利盘比例:=LWINNER(1,CLOSE);
区间成本:=COSTEX(CLOSE,REF(CLOSE,BARSCOUNT(C)-1));
昨收盘价:=REF(C,1);
今开盘价:=OPEN;
SAX1:=每股收益>=0.01;
SAX12:= 每股收益>=0.001;
SAX2:=每股净资产>=2;
SAX22:=每股净资产>=0.01;
SAX4:=每股未分配>=0.5;
SAX42:=每股未分配>=0.001;
SAX5:=每股公积金>=0.5;
SAX52:=每股公积金>=0.002;
DP3:=市盈率<=200;
DP32:=市盈率<=5000;
DP4:=换手率>=0.1;
DP42:=换手率>=0.01;
WMF1:=量比>=0.8;
WMF12:=量比>=0.3;
ER1:=净收益>=3;
ER12:=净收益>=0.01;
ER2:=主利率>=2;
ER22:=主利率>=0;
ER4:=主营业增长率>=1;
ER42:=主营业增长率>=0;
ER5:=净利润增长率>=2;
ER52:=净利润增长率>=0.2;
优秀:=ER1 AND ER2 AND ER4 AND ER5 AND SAX1 AND SAX2
AND SAX4 AND SAX5 AND DP3 AND DP4 AND WMF1,COLORRED;
QF:=NOT(优秀);
较好:=ER12 AND ER22 AND ER42 AND ER52 AND SAX12 AND SAX22
AND SAX42 AND SAX52 AND DP32 AND DP42 AND WMF12 AND QF,COLORMAGENTA;
DRAWTEXT_FIX(优秀,0.645,0.095,0,'基本面:优秀级!'),COLORRED;
DRAWTEXT_FIX(较好,0.645,0.06,0,'基本面:较好!'),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.825,0.90,0,STRCAT('代码:',CODE)),COLORYELLOW;
EMA13:=MA(C,13),COLORWHITE,LINETHICK2;
EMA34:=MA(C,34),COLORYELLOW;
EMA55:=MA(C,55),COLORFF00FF;
撼地神牛:=EMA13<EMA55;
限制条件:=REF(O,1)/REF(C,1)>1.05;
STICKLINE(撼地神牛 AND 限制条件,O,C,1,0)COLORRED;
DRAWTEXT(撼地神牛 AND 限制条件,L,'撼地神牛')COLOR00FFFF;
{元帅主图}
比系数:=1.3;
金线:=1;
临界点:=0;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
均线:=MA5>REF(MA5,1) AND MA10<REF(MA10,1) AND MA20<REF(MA20,1);
RV1:=REF(V,1);
RV2:=REF(V,2);
RV3:=REF(V,3);
RC2:=REF(C,2);
RC3:=REF(C,3);
RC4:=REF(C,4);
RO1:=REF(O,1);
RO2:=REF(O,2);
RO3:=REF(O,3);
RO4:=REF(O,4);
不破价顶:=C>=RC3 AND RC1>=RC3 AND RC2>=RC3;
不破价底:=L>RO3 AND REF(L,1)>RO3 AND REF(L,2)>RO3;
均价:=AMOUNT/VOL/100;
RJ1:=REF(均价,1);
RJ2:=REF(均价,2);
阳柱:=C>=O OR (C<O AND 均价>RC1);
三日二阳:=COUNT(阳柱,3)>=2;
基价柱阳:=RC3>RO3;
价渐升:=(均价>=RJ1 OR C>RC1) AND (RJ1>=RJ2 OR RC1>=RC2);
均价升:=(C+RC1+RC2)/3>RC3;
量渐升:=V>RV1 AND RV1>RV2 ;
量渐减:=V<=RV1 AND RV1<=RV2 ;
均量减:=(V+RV1+RV2)/3<=RV3 AND NOT(量渐升);
日价量比:=C/V;
日价量比升:=日价量比>=REF(日价量比,1) AND REF(日价量比,1)>=REF(日价量比,2);
均价升幅:=(C+RC1+RC2)/3/RC3;
均量升幅:=(V+RV1+RV2)/3/RV3;
价量比:=比系数*均价升幅/均量升幅>1;
基前跳空:=RO3>RC4 AND RC4>RO4;
黄金柱1T:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空;
BACKSET101T:=BACKSET(黄金柱1T,5);
FILTER101T:=FILTER(BACKSET101T,4);{WWW.GUPANG.COM}
黄金柱1:=基价柱阳 AND 价渐升 AND 量渐减 AND 不破价顶 AND 不破价底 ;
BACKSET101:=BACKSET(黄金柱1,4);
FILTER101:=FILTER(BACKSET101,3);
黄金柱11:=黄金柱1 AND REF(黄金柱1,1);
BACKSET1011:=BACKSET(黄金柱11,4);
FILTER1011:=FILTER(BACKSET1011,3);
黄金柱12:=黄金柱1 AND REF(黄金柱1,2);
BACKSET1012:=BACKSET(黄金柱12,4);
FILTER1012:=FILTER(BACKSET1012,3);
黄金柱13:=黄金柱1 AND REF(黄金柱1,3);
BACKSET1013:=BACKSET(黄金柱13,4);
FILTER1013:=FILTER(BACKSET1013,3);
黄金柱2T:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201T:=BACKSET(黄金柱2T,5);
FILTER201T:=FILTER(BACKSET201T,4);
黄金柱2:=基价柱阳 AND 价渐升 AND 均量减 AND NOT(量渐升) AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱1T);
BACKSET201:=BACKSET(黄金柱2,4);
FILTER201:=FILTER(BACKSET201,3);
黄金柱21:=黄金柱2 AND REF(黄金柱2,1);
BACKSET2011:=BACKSET(黄金柱21,4);
FILTER2011:=FILTER(BACKSET2011,3);
黄金柱22:=黄金柱2 AND REF(黄金柱2,2);
BACKSET2012:=BACKSET(黄金柱22,4);
FILTER2012:=FILTER(BACKSET2012,3);
黄金柱23:=黄金柱2 AND REF(黄金柱2,3);
BACKSET2013:=BACKSET(黄金柱23,4);
FILTER2013:=FILTER(BACKSET2013,3);
黄金柱3T:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301T:=BACKSET(黄金柱3T,5);
FILTER301T:=FILTER(BACKSET301T,4);
黄金柱3:=基价柱阳 AND 均价升 AND 量渐减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱1T) AND NOT(黄金柱2T);
BACKSET301:=BACKSET(黄金柱3,4);
FILTER301:=FILTER(BACKSET301,3);
黄金柱31:=黄金柱3 AND REF(黄金柱3,1);
BACKSET3011:=BACKSET(黄金柱31,4);
FILTER3011:=FILTER(BACKSET3011,3);
黄金柱32:=黄金柱3 AND REF(黄金柱3,2);
BACKSET3012:=BACKSET(黄金柱32,4);
FILTER3012:=FILTER(BACKSET3012,3);
黄金柱33:=黄金柱3 AND REF(黄金柱3,3);
BACKSET3013:=BACKSET(黄金柱33,4);
FILTER3013:=FILTER(BACKSET3013,3);
黄金柱4T:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱1T) AND NOT(黄金柱2) AND NOT(黄金柱2T) AND NOT(黄金柱3) AND NOT(黄金柱3T);
BACKSET401T:=BACKSET(黄金柱4T,5);
FILTER401T:=FILTER(BACKSET401T,4);
黄金柱4:=基价柱阳 AND 均价升 AND 均量减 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T);
BACKSET401:=BACKSET(黄金柱4,4);
FILTER401:=FILTER(BACKSET401,3);
黄金柱41:=黄金柱4 AND REF(黄金柱4,1);
BACKSET4011:=BACKSET(黄金柱41,4);
FILTER4011:=FILTER(BACKSET4011,3);
黄金柱42:=黄金柱4 AND REF(黄金柱4,2);
BACKSET4012:=BACKSET(黄金柱42,4);
FILTER4012:=FILTER(BACKSET4012,3);
黄金柱43:=黄金柱4 AND REF(黄金柱4,3);
BACKSET4013:=BACKSET(黄金柱43,4);
FILTER4013:=FILTER(BACKSET4013,3);
黄金柱5T:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501T:=BACKSET(黄金柱5T,5);
FILTER501T:=FILTER(BACKSET501T,4);
黄金柱5:=基价柱阳 AND 均价升 AND 价量比 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T);
BACKSET501:=BACKSET(黄金柱5,4);
FILTER501:=FILTER(BACKSET501,3);
黄金柱51:=黄金柱5 AND REF(黄金柱5,1);
BACKSET5011:=BACKSET(黄金柱51,4);
FILTER5011:=FILTER(BACKSET5011,3);
黄金柱52:=黄金柱5 AND REF(黄金柱5,2);
BACKSET5012:=BACKSET(黄金柱52,4);
FILTER5012:=FILTER(BACKSET5012,3);
黄金柱53:=黄金柱5 AND REF(黄金柱5,3);
BACKSET5013:=BACKSET(黄金柱53,4);
FILTER5013:=FILTER(BACKSET5013,3);
黄金柱6T:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND 基前跳空 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601T:=BACKSET(黄金柱6T,5);
FILTER601T:=FILTER(BACKSET601T,4);
黄金柱6:=基价柱阳 AND 均价升 AND 日价量比升 AND 不破价顶 AND 不破价底 AND NOT(黄金柱1) AND NOT(黄金柱2) AND NOT(黄金柱3) AND NOT(黄金柱4) AND NOT(黄金柱5) AND NOT(黄金柱1T) AND NOT(黄金柱2T) AND NOT(黄金柱3T) AND NOT(黄金柱4T) AND NOT(黄金柱5T);
BACKSET601:=BACKSET(黄金柱6,4);
FILTER601:=FILTER(BACKSET601,3);
黄金柱61:=黄金柱6 AND REF(黄金柱6,1);
BACKSET6011:=BACKSET(黄金柱61,4);
FILTER6011:=FILTER(BACKSET6011,3);
黄金柱62:=黄金柱6 AND REF(黄金柱6,2);
BACKSET6012:=BACKSET(黄金柱62,4);
FILTER6012:=FILTER(BACKSET6012,3);
黄金柱63:=黄金柱6 AND REF(黄金柱6,3);
BACKSET6013:=BACKSET(黄金柱63,4);
FILTER6013:=FILTER(BACKSET6013,3);
FIL1:=(FILTER101 AND NOT(REF(FILTER101,4))) OR (FILTER1011 AND NOT(REF(FILTER1011,4))) OR (FILTER1012 AND NOT(REF(FILTER1012,4))) OR (FILTER1013 AND NOT(REF(FILTER1013,4)));
FIL2:=(FILTER201 AND NOT(REF(FILTER201,4))) OR (FILTER2011 AND NOT(REF(FILTER2011,4))) OR (FILTER2012 AND NOT(REF(FILTER2012,4))) OR (FILTER2013 AND NOT(REF(FILTER2013,4)));
FIL3:=(FILTER301 AND NOT(REF(FILTER301,4))) OR (FILTER3011 AND NOT(REF(FILTER3011,4))) OR (FILTER3012 AND NOT(REF(FILTER3012,4))) OR (FILTER3013 AND NOT(REF(FILTER3013,4)));
FIL4:=(FILTER401 AND NOT(REF(FILTER401,4))) OR (FILTER4011 AND NOT(REF(FILTER4011,4))) OR (FILTER4012 AND NOT(REF(FILTER4012,4))) OR (FILTER4013 AND NOT(REF(FILTER4013,4)));
FIL5:=(FILTER501 AND NOT(REF(FILTER501,4))) OR (FILTER5011 AND NOT(REF(FILTER5011,4))) OR (FILTER5012 AND NOT(REF(FILTER5012,4))) OR (FILTER5013 AND NOT(REF(FILTER5013,4)));
FIL6:=(FILTER601 AND NOT(REF(FILTER601,4))) OR (FILTER6011 AND NOT(REF(FILTER6011,4))) OR (FILTER6012 AND NOT(REF(FILTER6012,4))) OR (FILTER6013 AND NOT(REF(FILTER6013,4)));
FIL:=FIL1 OR FIL2 OR FIL3 OR FIL4 OR FIL5 OR FIL6;
STICKLINE(FIL AND NOT(REF(FIL,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT (FIL AND NOT(REF(FIL,4)),LOW*0.986,'黄金柱'),COLOR0099FF;
K1:=SUMBARS(FIL,1);
STICKLINE(K1 AND 金线=1,REF(C,K1-1),REF(C,K1-1),10,0),COLOR8822FF;
FIL1T:=(FILTER101T AND NOT(REF(FILTER101T,5)));
FIL2T:=(FILTER201T AND NOT(REF(FILTER201T,5)));
FIL3T:=(FILTER301T AND NOT(REF(FILTER301T,5)));
FIL4T:=(FILTER401T AND NOT(REF(FILTER401T,5)));
FIL5T:=(FILTER501T AND NOT(REF(FILTER501T,5)));
FIL6T:=(FILTER601T AND NOT(REF(FILTER601T,5)));
FILT:=FIL1T OR FIL2T OR FIL3T OR FIL4T OR FIL5T OR FIL6T;
STICKLINE(FILT AND NOT(REF(FILT,5)),OPEN,CLOSE,3,0),COLOR0000FF;
DRAWTEXT (FILT AND NOT(REF(FILT,5)),LOW*0.978,'元帅柱'),COLOR0000FF;
K2:=SUMBARS(FILT,1);
STICKLINE(K2 AND 金线=1,REF(C,K2-1),REF(C,K2-1),10,0),COLOR8822FF;
黄金柱LJ:=(黄金柱1 OR 黄金柱2 OR 黄金柱3 OR 黄金柱4 OR 黄金柱5 OR 黄金柱6 ) AND 均线 AND 临界点;
BACKSET10LJ:=BACKSET(黄金柱LJ ,4);
FILTER10LJ:=FILTER(BACKSET10LJ,3);
STICKLINE(FILTER10LJ AND NOT(REF(FILTER10LJ,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJ AND NOT(REF(FILTER10LJ,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
黄金柱LJT:=(黄金柱1T OR 黄金柱2T OR 黄金柱3T OR 黄金柱4T OR 黄金柱5T OR 黄金柱6T) AND 均线 AND 临界点 ;
BACKSET10LJT:=BACKSET(黄金柱LJT ,5);
FILTER10LJT:=FILTER(BACKSET10LJT,5);
STICKLINE(FILTER10LJT AND NOT(REF(FILTER10LJT,4)),OPEN,CLOSE,3,0),COLOR0099FF;
DRAWTEXT(FILTER10LJT AND NOT(REF(FILTER10LJT,4)) ,LOW*0.958,'临界点'),COLOR0099FF;
LT:=LLVBARS(L,60);
LTT:=BARSLAST(CURRBARSCOUNT=CONST(LT)+1);
HT:=FINDHIGHBARS(H,LT+1,60,1);
AB:DRAWLINE(CURRBARSCOUNT=CONST(HT)+1,H,ISLASTBAR,REF(H,HT),0),COLORYELLOW,LINETHICK1;
TT:=BARSLAST(CURRBARSCOUNT=CONST(HT)+1);
AA:=CROSS(C,CONST(AB));
TJ:=COUNT(AA,TT+1)=1 AND AA;
TJ1:=COUNT(V<MA(V,277),TT+1) ;
BL:=TJ1/(TT+1)*100;
XG:=TJ AND TT>40 AND BL>70;
XGT:=BARSLAST(CURRBARSCOUNT=CONST(BARSLAST(XG))+1);
ZH:=REF(H,TT);
YL:=REF(L,LTT);
XC:=REF(C,XGT);
YZ:=(XC-YL)/YL*100;
ZBL:=YZ/REF(LTT,XGT);
XGA:=XG AND ZBL<2.95;
DRAWLINE(TT=0,H,LTT=0,L,0),COLORRED;
DRAWLINE(LTT=0,L,XGT=0,L,0),COLORRED;
DRAWICON(XGA,L*0.95,9);
MA3:=MA(C,3);
{凹口淘金}
T1:=CONST(LLVBARS(LOW,10));
T1HIGH:=CONST(REF(HIGH,T1));
CC5:=CONST(CURRBARSCOUNT);
T2:=CONST(BARSLAST(CURRBARSCOUNT>CC5+T1 AND H>T1HIGH));
T2HIGH:=CONST(REF(HIGH,T2));
T3:=CONST(BARSLAST(CURRBARSCOUNT>CC5+T2 AND HIGH>T2HIGH));
T3HIGH:=CONST(REF(HIGH,T3));
凹口淘金:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLORMAGENTA,LINETHICK1;
DRAWTEXT(ISLASTBAR, T3HIGH, '凹口淘金')LINETHICK1,COLOR00FFFF;
MAA13:MA(C,13),COLORYELLOW,LINETHICK1;
MAA18:=MA(C,18);
MAA30:MA(C,30),COLORRED;
KS:IF(MAA18>MAA30,MAA18,MAA30),COLORMAGENTA;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW; 填充背景
个涨赋值:(收盘价-1日前的收盘价)*100/1日前的收盘价,NODRAW
统计赋值:统计3日中满足个涨>6的天数,NODRAW
沪市赋值:("999998$收盘价"-1日前的"999998$收盘价")*100/1日前的"999998$收盘价"
深市赋值:("399107$收盘价"-1日前的"399107$收盘价")*100/1日前的"399107$收盘价",NODRAW
中板赋值:("399101$收盘价"-1日前的"399101$收盘价")*100/1日前的"399101$收盘价",NODRAW
沪离赋值:(个涨+1日前的个涨+2日前的个涨)-(沪市+1日前的沪市+2日前的沪市)
深离赋值:(个涨+1日前的个涨+2日前的个涨)-(深市+1日前的深市+2日前的深市)
中离赋值:(个涨+1日前的个涨+2日前的个涨)-(中板+1日前的中板+2日前的中板)
偏离廿赋值:如果模糊匹配品种代码,返回沪离,否则返回如果模糊匹配品种代码,返回深离,否则返回中离,NODRAW
沪涨赋值:个涨-沪市
深涨赋值:个涨-深市
中涨赋值:个涨-中板
偏离七赋值:如果模糊匹配品种代码,返回沪涨,否则返回如果模糊匹配品种代码,返回深涨,否则返回中涨,NODRAW
龙赋值:偏离廿>20 AND 统计>2,NODRAW
虎赋值:(偏离七>7 AND 个涨>5) OR (偏离七<-7 AND 个涨<-5),NODRAW
换赋值:100*成交量(手)/(流通股本(股)/100),NODRAW
振赋值:(最高价-最低价)*100/1日前的收盘价,NODRAW
虎盘赋值:龙 OR 虎 OR 换>20 OR 振>15,NODRAW
当满足条件虎盘ANDPERIOD=5时,在最高价+0.09位置画41号图标
N赋值:10
实顶赋值:开盘价和收盘价的较大值
实底赋值:开盘价和收盘价的较小值
S实顶赋值:到最后交易的周期>=N AND 实顶=N日内实顶的最高值 AND 实顶>N-1日后的N-1日内实顶的最高值
X实顶赋值:到最后交易的周期>=N AND 最高价=N日内最高价的最高值 AND 最高价>N-1日后的N-1日内最高价的最高值
当满足条件X实顶时,在最高价位置画直线起点,当满足条件1日前的X实顶时,在1日前的最高价位置画直线终点,1表示是否延长.,画洋红色,DOTLINE
S实底赋值:到最后交易的周期>=N AND 实底=N日内实底的最低值 AND 实底<N-1日后的N-1日内实底的最低值
X实底赋值:到最后交易的周期>=N AND 最低价=N日内最低价的最低值 AND 最低价<N-1日后的N-1日内最低价的最低值
当满足条件X实底时,在最低价位置画直线起点,当满足条件1日前的X实底时,在1日前的最低价位置画直线终点,1表示是否延长.,画绿色,DOTLINE
DA赋值:年份 AND 月份 AND 日
AXA赋值:字符串相加
AAB赋值:字符串相加
AA33赋值:字符串相加
AA4赋值:字符串相加
AA1赋值:字符串相加
输出S1:当满足条件DA时,在横轴0.80纵轴1位置书写文字,COLORFFAAFF
净收益赋值:(每股收益(全年折算)/每股净资产*100)
主利率赋值:(营业利润/营业收入*100)
现金负债比赋值:(经营现金流量/流动负债)
主营业增长率赋值:收入同比%
净利润增长率赋值:利润同比%
每股收益赋值:每股收益(最近一期)的最后一日取值设为常数
每股净资产赋值:每股净资产的最后一日取值设为常数
每股现金流赋值:(经营现金流量/总股本(股))的最后一日取值设为常数
每股未分配赋值:每股未分配利润的最后一日取值设为常数
每股公积金赋值:每股公积金的最后一日取值设为常数
流通市值赋值:对流通市值/100000000(进行)四舍五入
A股流通赋值:流通股本(股)/100000000
市盈率赋值:市盈(动)
换手率赋值:成交量(手)/当前流通股本(手)*100
资金净流赋值:成交额分档/100+成交额分档/100-成交额分档/100+成交额分档/100
量比赋值:量比
成交方向赋值:市盈(TTM)
主动买单赋值:主动性买单
涨速赋值:涨速
大单比率赋值:(逐笔买入大单成交量-逐笔卖出大单成交量)/当前流通股本(手)*100
PEG指标赋值:市盈(动)/利润同比%*100
获利盘比例赋值:最近1日那部分成本以收盘价价格卖出的获利盘比例
区间成本赋值:位于价格收盘价和收盘价的有效数据周期数-1日前的收盘价间的成本
昨收盘价赋值:1日前的收盘价
今开盘价赋值:开盘价
SAX1赋值:每股收益>=0.01
SAX12赋值: 每股收益>=0.001
SAX2赋值:每股净资产>=2
SAX22赋值:每股净资产>=0.01
SAX4赋值:每股未分配>=0.5
SAX42赋值:每股未分配>=0.001
SAX5赋值:每股公积金>=0.5
SAX52赋值:每股公积金>=0.002
DP3赋值:市盈率<=200
DP32赋值:市盈率<=5000
DP4赋值:换手率>=0.1
DP42赋值:换手率>=0.01
WMF1赋值:量比>=0.8
WMF12赋值:量比>=0.3
ER1赋值:净收益>=3
ER12赋值:净收益>=0.01
ER2赋值:主利率>=2
ER22赋值:主利率>=0
ER4赋值:主营业增长率>=1
ER42赋值:主营业增长率>=0
ER5赋值:净利润增长率>=2
ER52赋值:净利润增长率>=0.2
优秀赋值:ER1 AND ER2 AND ER4 AND ER5 AND SAX1 AND SAX2AND SAX4 AND SAX5 AND DP3 AND DP4 AND WMF1,画红色
QF赋值:取反
较好赋值:ER12 AND ER22 AND ER42 AND ER52 AND SAX12 AND SAX22AND SAX42 AND SAX52 AND DP32 AND DP42 AND WMF12 AND QF,画洋红色
当满足条件优秀时,在横轴0.645纵轴0.095位置书写文字,画红色
当满足条件较好时,在横轴0.645纵轴0.06位置书写文字,画洋红色
当满足条件是否最后一个周期时,在横轴0.825纵轴0.90位置书写文字,画黄色
EMA13赋值:收盘价的13日简单移动平均,画白色,线宽为2
EMA34赋值:收盘价的34日简单移动平均,画黄色
EMA55赋值:收盘价的55日简单移动平均,COLORFF00FF
撼地神牛赋值:EMA13<EMA55
限制条件赋值:1日前的开盘价/1日前的收盘价>1.05
当满足条件撼地神牛AND限制条件时,在开盘价和收盘价位置之间画柱状线,宽度为1,0不为0则画空心柱.画红色
当满足条件撼地神牛AND限制条件时,在最低价位置书写文字COLOR00FFFF
输出均价:成交额(元)/成交量(手)/100,NODRAW
假阴赋值:收阴线AND 均价>1日前的收盘价
当满足条件假阴时,在开盘价和收盘价位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色
当满足条件最低价>1日前的最高价时,在最低价和1日前的最高价位置之间画柱状线,宽度为10,1001不为0则画空心柱.,画洋红色
当满足条件1日前的最低价>最高价时,在1日前的最低价和最高价位置之间画柱状线,宽度为10,1001不为0则画空心柱.,画蓝色
K线
当满足条件1时,在横轴0.5纵轴0.08位置书写文字画红色,线宽为3
AAAA赋值:收盘价的1日简单移动平均
AAA赋值:AAAA的2日移动平均的2日移动平均的2日移动平均
BBB赋值:AAA的3日简单移动平均
画带状线
CCC赋值:(3*收盘价+最低价+开盘价+最高价)/6
黑优质线赋值:(20*CCC+19*1日前的CCC+18*2日前的CCC+17*3日前的CCC+16*4日前的CCC+15*5日前的CCC+14*6日前的CCC+13*7日前的CCC+12*8日前的CCC+11*9日前的CCC+10*10日前的CCC+9*11日前的CCC+8*12日前的CCC+7*13日前的CCC+6*14日前的CCC+5*15日前的CCC+4*16日前的CCC+3*17日前的CCC+2*18日前的CCC+20日前的CCC)/210,画红色,线宽为2
优质线赋值:黑优质线的5日简单移动平均
画带状线
当满足条件如果(收盘价>1日前的收盘价*1.096),返回2,否则返回0时,在开盘价和收盘价位置之间画柱状线,宽度为3,0不为0则画空心柱.,画红色
输出涨停:前收盘价*1.1,画红色,NODRAW
输出跌停:前收盘价*0.9,画绿色,NODRAW
输出昨收:1日前的收盘价,画红色,NODRAW
输出今开:开盘价,画白色,NODRAW
RC1赋值:1日前的收盘价
大阴线赋值:收盘价<0.96*开盘价 OR 收盘价<=RC1*0.96 OR 收盘价>1000 AND 收盘价<=RC1*0.98
大阴T赋值:上次大阴线的3日过滤距今天数
输出大阴实顶: 大阴T日前的开盘价,画淡绿色,POINTDOT
输出大阴二一: 大阴T日前的(最低价+最高价)/2,NODRAW
当满足条件是否最后一个周期时,在横轴0纵轴0位置书写文字
当满足条件是否最后一个周期时,在横轴0.05纵轴0位置书写文字
当满足条件是否最后一个周期时,在横轴0.1纵轴0位置书写文字
如能附图就完美了 谢谢分享谢谢分享
感谢楼主分享 6f71ebd8-f737-44d0-a3c3-87ad3d9d91e9 谢谢分享谢谢分享 谢谢分享谢谢分享 谢谢分享谢谢分享
谢谢分享谢谢分享 根本通不过!!!! 當铺哥們 发表于 2020-1-31 12:38
根本通不过!!!!
做空趋势3*B-2*SMA(B,10,1)),COLORGREEN ,LINETHICK2;
你把表情符号改为 “:=(” 即可。
做空趋势 := ( 3*B-2*SMA(B,10,1)),COLORGREEN ,LINETHICK2;
均价:=(H+L+O+C)/4;
分水岭:MA(3*均价-2*SMA(均价,2,1),10),COLORWHITE,LINETHICK1;
做多趋势:IF(均价>分水岭,均价,分水岭),COLORYELLOW,LINETHICK1; 有这三句就可以了,但需要副图加K线使用更好,谢谢你的无私提供!
谢谢楼主分享 电梯直达
1楼
发表于 2019-11-15 10:05 | 只看该作者
均价:=(H+L+O+C)/4;
分水岭:MA(3*均价-2*SMA(均价,2,1),10),COLORWHITE,LINETHI 多谢老师的分享