当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信末日王者主图,糖宝出击三代,精准抄底指标

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

末日王者主图

{=====================彩色K线=========================}
AAAA2:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0));
AAAA1:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0));
DRAWTEXT_FIX(ISLASTBAR,0.5,0.15,0,AAAA2),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0.1,0,AAAA1),COLORRED;
{填充背景}
DRAWGBK(C>0, RGB(1,1,1),RGB(1,1,1),0,'0',0);
DRAWGBK(C>0,RGB(0,0,0),RGB(00,0,0),0,'EM',0);
STICKLINE(C>O,C,O,3,0 ),COLOR000055;
STICKLINE(C>O,C,O,2.6,0 ),COLOR000077;
STICKLINE(C>O,C,O,2.1,0 ),COLOR000099;
STICKLINE(C>O,C,O,1.5,0 ),COLOR0000BB;
STICKLINE(C>O,C,O,0.9,0 ),COLOR0000DD;
STICKLINE(C>O,C,O,0.1,0 ),COLOR0000FF;
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<O,C,O,3,0),COLOR646400;
STICKLINE(C<O,C,O,2.6,0),COLOR848400; 
STICKLINE(C<O,C,O,2.1,0),COLOR9F9F00;
STICKLINE(C<O,C,O,1.5,0),COLORB0B000;
STICKLINE(C<O,C,O,0.9,0),COLORC4C400;
STICKLINE(C<O,C,O,0.1,0),COLORDBDB00;
STICKLINE(C<O,H,L,0,0),COLORDDDD00;
STICKLINE(C=O,C,O,3,0 ),COLORWHITE;
STICKLINE(C=O,H,L,0,0),COLORWHITE;
{预测当天最低价公式}
N:=27;
PP:=0.03;
DRAWTEXT_FIX(1,0.50,5,0,'马杰优化黑马指标'),COLOR00FFFF;
A1:=REF(O,1);
A2:=ABS((REF(C,1)-A1)/A1);
A3:=ABS((REF(H,1)-A1)/A1);
A4:=ABS((REF(L,1)-A1)/A1);
BB1:=ABS((A2+A3+A4)/3);
BB2:=O*BB1;
预测低一:=O-BB2;
预测高一:=O+BB2;
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLOR4080FF,NODRAW;
开盘价1:=OPEN;
开盘价2:=REF(OPEN,1);
最高价1:=HIGH;
最高价2:=REF(HIGH,1);
最低价1:=LOW;
最低价2:=REF(LOW,1);
收盘价1:=CLOSE;
收盘价2:=REF(CLOSE,1);
AA1:=最高价2;
BB:=最低价2;
CC:=开盘价2;
DD:=收盘价2;
EE:=(AA1+BB+CC+2*DD)/5;
AAA:=EE+(AA1-BB);
BBB:=2*EE-BB;
CCC:=2*EE-AA1;
DDD:=EE-(AA1-BB);
上升突破价:=AAA;
上升阻力价:=BBB;
下跌支撑价:=CCC;
下跌反转价:=DDD;
EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;
心理价:=EEE;
FFF:=(EEE+开盘价1)/2;
GGG:=(预测低一+FFF)/2;
预测低二:=GGG;
{预测今日最高价公式}
预测高二:=MA(REF(HIGH,1)/REF(CLOSE,2),N)*REF(CLOSE,1);
DRAWTEXT_FIX(1,0.04,0.15,0,'预测低一:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.10,0.15,0,CONST(预测低一)),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.15,0,'元'),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(1,0.04,0.20,0,'预测高一:'),COLORFFFFFF;
DRAWNUMBER_FIX(1,0.10,0.20,0,CONST(预测高一)),COLORFFFFFF;
DRAWTEXT_FIX(1,0.15,0.20,0,'元'),COLORFFFFFF,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.15,0,'预测低二:'),COLORYELLOW;
DRAWNUMBER_FIX(1,0.24,0.15,0,CONST(预测低二)),COLORYELLOW;
DRAWTEXT_FIX(1,0.29,0.15,0,'元'),COLORYELLOW,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.20,0,'预测高二:'),COLORFFFFFF;
DRAWNUMBER_FIX(1,0.24,0.20,0,CONST(预测高二)),COLORFFFFFF;
DRAWTEXT_FIX(1,0.29,0.20,0,'元'),COLORFFFFFF,LINETHICK1;
买回价:=预测低二*1.015;
卖出价:=买回价*(1+PP);
DRAWTEXT_FIX(1,0.04,0.10,0,'卖出价:'),COLOR8080FF,LINETHICK1;
DRAWNUMBER_FIX(1,0.10,0.10,0,CONST(卖出价)),COLOR8080FF;
DRAWTEXT_FIX(1,0.15,0.10,0,'元'),COLOR8080FF,LINETHICK1;
DRAWTEXT_FIX(1,0.18,0.10,0,'买回价:'),COLOR8080FF,LINETHICK1;
DRAWNUMBER_FIX(1,0.24,0.10,0,CONST(买回价)),COLOR8080FF;
DRAWTEXT_FIX(1,0.29,0.10,0,'元'),COLOR8080FF,LINETHICK1;
DRAWTEXT_FIX(1,0.01,0.02,0,'★ =============================== ★'),COLORRED;
DRAWTEXT_FIX(1,0.12,0.05,0,'T+0 操 作'),COLORFFFFFF;
DRAWTEXT_FIX(1,0.01,0.08,0,'操 '),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.12,0,'盘 '),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.16,0,'铁'),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.20,0,'律'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.08,0,'坚 '),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.12,0,'决 '),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.16,0,'执'),COLOR0000FF;
DRAWTEXT_FIX(1,0.32,0.20,0,'行'),COLOR0000FF;
DRAWTEXT_FIX(1,0.01,0.24,0,'★ =============================== ★'),COLORRED;
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
牛线:IF(B2>SMA2,B2,DRAWNULL),COLORRED,LINETHICK2;
X熊线:IF(B2<SMA2,B2,DRAWNULL),COLORGREEN,LINETHICK2;
末日底线:IF(LLV(MA(B2,8),3)<B2,LLV(MA(B2,8),3),B2);
末日顶线:HHV(MA(B2,1),13),COLORYELLOW;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=MA(VAR1,7);
VAR3:=VAR2-MA(VAR1,7/2)<0;
VAR4:=VAR2-MA(VAR1,7/2)>0;
VAR5:=BARSLAST(VAR3);
VAR6:=0-BARSLAST(VAR4);
VAR7:=IF(VAR3<=0,VAR5,VAR6);
STICKLINE(末日顶线>B2 AND B2>SMA2,末日顶线,B2,0,1),COLORGRAY;
STICKLINE(末日顶线>SMA2 AND B2<SMA2,末日顶线,SMA2,0,1),COLORGREEN;
VAR11:=(CLOSE*2+HIGH+LOW)/4;
VAR21:=EMA(VAR11,13)-EMA(VAR11,34);
VAR31:=EMA(VAR21,5);
{STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;
STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;
STICKLINE((C<O),CLOSE,LOW,0,0),COLORDE9100;
STICKLINE((C<O),OPEN,HIGH,0,0),COLORDE9100;
STICKLINE((C<O),CLOSE,OPEN,4,0),COLORFF5B00;
STICKLINE((C<O),CLOSE,OPEN,3.4,0),COLORFF6C00;
STICKLINE((C<O),CLOSE,OPEN,2.8,0),COLORFF7B00;
STICKLINE((C<O),CLOSE,OPEN,2.2,0),COLORFF9C00;
STICKLINE((C<O),CLOSE,OPEN,1.6,0),COLORFFBE00;
STICKLINE((C<O),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((C<O),CLOSE,OPEN,0.3,0),COLORFFFF00;
STICKLINE((C>O),CLOSE,OPEN,4,0),COLOR070084;
STICKLINE((C>O),CLOSE,OPEN,3.4,0),COLOR0000A3;
STICKLINE((C>O),CLOSE,OPEN,2.8,0),COLOR0000B7;
STICKLINE((C>O),CLOSE,OPEN,2.2,0),COLOR0000CD;
STICKLINE((C>O),CLOSE,OPEN,1.6,0),COLOR0000E9;
STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR0754E9;
STICKLINE((C>O),CLOSE,OPEN,0.5,0),COLOR076EF3;
STICKLINE((C>O),CLOSE,OPEN,0.2,0),COLOR077BF3;}
VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3A:=((REF(VAR2A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR5A:=((REF(VAR4A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR6A:=((REF(VAR5A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR7A:=((REF(VAR6A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VAR8A:=((REF(VAR7A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VAR9A:=((REF(VAR8A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
VARAA:=((REF(VAR9A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
VARBA:=((REF(VARAA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VARCA:=((REF(VARBA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VARDA:=((REF(VARCA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAREAA:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
 VARFA:=((REF(VAREAA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR10A:=((REF(VARFA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAR11A:=((REF(VAR10A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR12A:=((REF(VAR11A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAR13A:=((REF(VAR12A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR14A:=((REF(VAR13A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAR15A:=((REF(VAR14A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR16A:=((REF(VAR15A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAR17A:=((REF(VAR16A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR18A:=((REF(VAR17A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
 VAR19A:=((REF(VAR18A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
 VAR1A:=(REF((((((((((((VAREAA OR VARFA) OR VAR10A) OR VAR11A) OR VAR12A) OR
 VAR13A) OR VAR14A) OR VAR15A) OR VAR16A) OR VAR17A) OR VAR18A) OR VAR19A),1) ANDVAR2A);
 {STICKLINE(VAR1A,O,O+(C-O)/3,4,0),COLOR1029FF;
 STICKLINE(VAR1A,O,O+(C-O)/3,3.4,0),COLOR1040FF;
 STICKLINE(VAR1A,O,O+(C-O)/3,2.8,0),COLOR1083FF;
 STICKLINE(VAR1A,O,O+(C-O)/3,2.2,0),COLOR10ABFF;
 STICKLINE(VAR1A,O,O+(C-O)/3,1.6,0),COLOR10D0FF;
 STICKLINE(VAR1A,O,O+(C-O)/3,1,0),COLOR10FFFF;
 STICKLINE(VAR1A,O,O+(C-O)/3,0.3,0),COLOR00FFFF;}
 AA:=(REF((((((((((((VAR2A OR VAR3A) OR VAR4A) OR VAR5A) OR VAR6A) OR VAR7A) OR
 VAR8A) OR VAR9A)OR VARAA) OR VARBA) OR VARCA) OR VARDA),1) AND VAREAA);
 {STICKLINE(AA,O,O+(C-O)/3,4.3,0),COLOR009900;
 STICKLINE(AA,O,O+(C-O)/3,3.2,0),COLOR00AA00;
 STICKLINE(AA,O,O+(C-O)/3,2.4,0),COLOR00BB00;
 STICKLINE(AA,O,O+(C-O)/3,1.7,0),COLOR00CC00;
 STICKLINE(AA,O,O+(C-O)/3,1.1,0),COLOR00DD00;
 STICKLINE(AA,O,O+(C-O)/3,0.5,0),COLOR00EE00;
 STICKLINE(AA,O,O+(C-O)/3,0.2,0),COLOR00FF00;}
 A13:=EMA(CLOSE,55);
 A14:=MA(CLOSE,75);
 A15:=EMA(A14,3);
 A16:=EMA(A15,3);
 A17:=(HIGH + LOW) / 5;
 A18:=(MA(A17,4)) - (MA(A17,34));
 A19:=CROSS(A18,0);
 A20:=CROSS(0,A18);
 A21:=BARSLAST(A19);
 A22:=BARSLAST(A20);
 A23:=REF(A19,1);
 A24:=REF(A20,1);
 A25:=BARSLAST(A23);
 A26:=BARSLAST(A24);
 A27:=IF((A25 < A26),(REF((HHV(HIGH,2)),A25)),(REF((LLV(LOW,2)),A26)));
 A28:=(((REF(CLOSE,1)) <= (REF(A27,1))) AND (CLOSE > A27)) AND (A21 < A22);
 A29:=(((REF(CLOSE,1)) >= (REF(A27,1))) AND (CLOSE < A27)) AND (A22 < A21);
 A30:=A28 AND ((COUNT(A28,A21)) = 1);
 A31:=A29 AND ((COUNT(A29,A22)) = 1);
 A32:=A30 AND ((REF(BARSLAST(A31),1)) < (REF(BARSLAST(A30),1)));
 A33:=A31 AND ((REF(BARSLAST(A31),1)) > (REF(BARSLAST(A30),1)));
 DRAWTEXT(A32,SMA2*0.99,'←末日抓妖'),COLORYELLOW;
 AC:=AMOUNT/(VOL);
 YY:=MA(AC,13);
 LLL:=(C-YY)/YY*100;
 MIDC := MA(CLOSE,22);
 UPPERC:= MIDC + 2*STD(C,22);
 LOWERC:= MIDC - 2*STD(C,22);
 BBA:=(C-LOWERC)/(UPPERC-LOWERC);
 LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1));
 {STICKLINE(LIFENGCYC,LOW*0.93,LOW*0.95,6,0)COLORRED;
 STICKLINE(LIFENGCYC>0,C,O,4,0),COLORRED;
 STICKLINE(LIFENGCYC>0,C,O,3.4,0),COLOR1029FF;
 STICKLINE(LIFENGCYC>0,C,O,2.8,0),COLOR1040FF;
 STICKLINE(LIFENGCYC>0,C,O,2.2,0),COLOR1083FF;
 STICKLINE(LIFENGCYC>0,C,O,1.6,0),COLOR10ABFF;
 STICKLINE(LIFENGCYC>0,C,O,1,0),COLOR10D0FF;
 STICKLINE(LIFENGCYC>0,C,O,0.3,0),COLOR10FFFF;}
BS:=B2>REF(B2,1) AND REF(B2<REF(B2,1),1);
DRAWICON(BS,L*0.98,1);
{BX:=B2<REF(B2,1) AND REF(B2>REF(B2,1),1);
DRAWICON(BX,H*1.02,2);}
{}
HJ_1:=8;
HJ_2:=REF(HIGH,10)=HHV(HIGH,2*11);
HJ_3:=BACKSET(HJ_2,10+1);
HJ_4:=FILTER(HJ_3,10) AND HIGH=HHV(HIGH,11);
卖出:DRAWICON(HJ_4,HIGH*1.02,12);
HJ_5:=REF(LOW,10)=LLV(LOW,2*11);
HJ_6:=BACKSET(HJ_5,11);
HJ_7:=FILTER(HJ_6,10) AND LOW=LLV(LOW,11);
买入:DRAWICON(HJ_7,LOW*0.98,11);
HJ_8:=HHV(HIGH,60);
HJ_9:=CONST(HJ_8);
HJ_10:=LLV(LOW,60);
HJ_11:=CONST(HJ_10);
HJ_12:=(CLOSE+HIGH+LOW+OPEN)/4;
HJ_13:=LOW+(HJ_12-LOW)+(CLOSE-LOW);
HJ_14:=LOW+(CLOSE-HJ_12);
HJ_15:=LOW>REF(HIGH,1);
HJ_16:=HIGH<REF(LOW,1);
HJ_17:=LOW>REF(HIGH,BARSLAST(HJ_15)+1);
HJ_18:=LOW<=REF(HIGH,BARSLAST(HJ_15)+1);
HJ_19:=HIGH<REF(LOW,BARSLAST(HJ_16)+1);
HJ_20:=HIGH>=REF(LOW,BARSLAST(HJ_16)+1);
HJ_21:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
HJ_22:=SMA(HJ_21,3,1);
HJ_23:=SMA(HJ_22,3,1);
HJ_24:=3*HJ_22-2*HJ_23;
HJ_25:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
HJ_26:=SMA(HJ_25,3,1);
HJ_27:=SMA(HJ_26,3,1);
HJ_28:=3*HJ_26-2*HJ_27;
HJ_29:=IF(CROSS(HJ_28,HJ_24),HIGH,REF(HIGH,BARSLAST(CROSS(HJ_28,HJ_24))));
HJ_30:=LLV(HIGH,30);
HJ_31:=REF(HIGH,HJ_1)=HHV(HIGH,2*HJ_1+1);
HJ_32:=REF(LOW,HJ_1)=LLV(LOW,2*HJ_1+1);
HJ_33:=BACKSET(HJ_31,HJ_1+1);
HJ_34:=BACKSET(HJ_32,HJ_1+1);
HJ_35:=FILTER(HJ_33,HJ_1) AND HIGH=HHV(HIGH,HJ_1+1);
HJ_36:=FILTER(HJ_34,HJ_1) AND LOW=LLV(LOW,HJ_1+1);
HJ_37:=BARSLAST(HJ_35);
HJ_38:=BARSLAST(HJ_36);
HJ_39:=IF(HJ_35,CURRBARSCOUNT,0);
HJ_40:=IF(HJ_36,CURRBARSCOUNT,0);
HJ_41:=IF(HJ_37,REF(HJ_39,HJ_37),HJ_39);
HJ_42:=IF(HJ_38,REF(HJ_40,HJ_38),HJ_40);
HJ_43:=CONST(HJ_41);
HJ_44:=CONST(HJ_42);
HJ_45:=CONST(REF(HIGH,HJ_43-1));
HJ_46:=HJ_45;
HJ_47:=CONST(REF(LOW,HJ_44-1));
HJ_48:=REF(HJ_41,HJ_37+1);
HJ_49:=REF(HJ_42,HJ_38+1);
HJ_50:=CONST(HJ_48);
HJ_51:=CONST(HJ_49);
HJ_52:=CONST(REF(HIGH,HJ_48-1));
HJ_53:=HJ_52;
HJ_54:=CONST(REF(LOW,HJ_49-1));
HJ_55:=BACKSET(ISLASTBAR,HJ_43);
HJ_56:=BACKSET(ISLASTBAR,HJ_44);
HJ_57:=BACKSET(ISLASTBAR,HJ_48);
HJ_58:=BACKSET(ISLASTBAR,HJ_49);
HJ_59:=IF(HJ_47<=HJ_54,HJ_56,HJ_58);
HJ_60:=SUM(HJ_55,0);
HJ_61:=SUM(HJ_59,0);
HJ_62:=REF(HJ_13,1);
HJ_63:=REF(HJ_14,1);
HJ_64:=IF(ISLASTBAR,HJ_29,DRAWNULL);
HJ_65:=IF(ISLASTBAR,HJ_30,DRAWNULL);
高点压力:=DRAWLINE(CURRBARSCOUNT=HJ_50,HIGH,CURRBARSCOUNT=HJ_43,HIGH,1),COLORYELLOW,LINETHICK2;
低点支撑:=DRAWLINE(CURRBARSCOUNT=HJ_51,LOW,CURRBARSCOUNT=HJ_44,LOW,1),COLORYELLOW,LINETHICK2;
HJ_66:=CONST(MAX(MAX(MAX(HJ_9,高点压力),HJ_46),HJ_53));
HJ_67:=CONST(MIN(MIN(MIN(HJ_11,HJ_54),HJ_47),低点支撑));
HJ_68:=(高点压力+低点支撑)/2;
HJ_69:=CONST((高点压力+低点支撑)/2);
HJ_70:=IF(HJ_51<HJ_50,HJ_51,HJ_50);
HJ_71:=DRAWLINE(CURRBARSCOUNT=HJ_70,HJ_68,ISLASTBAR,HJ_69,1);
HJ_72:=INTPART(3*HJ_1/5);
HJ_73:=REF(HIGH,HJ_72)=HHV(HIGH,2*HJ_72+1);
HJ_74:=BACKSET(HJ_73,HJ_72+1);
HJ_75:=FILTER(HJ_74,HJ_72) AND HIGH=HHV(HIGH,HJ_72+1);
HJ_76:=BARSLAST(HJ_75);
HJ_77:=IF(HJ_75,CURRBARSCOUNT,0);
HJ_78:=IF(HJ_76,REF(HJ_77,HJ_76),HJ_77);
HJ_79:=CONST(HJ_78);
HJ_80:=REF(HJ_78,HJ_76+1);
HJ_81:=CONST(HJ_80);
高点压力M:=DRAWLINE(CURRBARSCOUNT=HJ_81,HIGH,CURRBARSCOUNT=HJ_79,HIGH,1),COLORRED;
HJ_82:=REF(LOW,HJ_72)=LLV(LOW,2*HJ_72+1);
HJ_83:=BACKSET(HJ_82,HJ_72+1);
HJ_84:=FILTER(HJ_83,HJ_72) AND LOW=LLV(LOW,HJ_72+1);
HJ_85:=BARSLAST(HJ_84);
HJ_86:=IF(HJ_84,CURRBARSCOUNT,0);
HJ_87:=IF(HJ_85,REF(HJ_86,HJ_85),HJ_86);
HJ_88:=CONST(HJ_87);
HJ_89:=REF(HJ_87,HJ_85+1);
HJ_90:=CONST(HJ_89);
低点支撑M:=DRAWLINE(CURRBARSCOUNT=HJ_90,LOW,CURRBARSCOUNT=HJ_88,LOW,1),COLORRED;
STICKLINE(HJ_57,HJ_53,HJ_53,2.5,1),COLORWHITE;
STICKLINE(HJ_55,HJ_46,HJ_46,2.3,1),COLORYELLOW;
STICKLINE(HJ_58,HJ_54,HJ_54,0.5,1),COLORMAGENTA;
STICKLINE(HJ_56,HJ_47,HJ_47,0.5,1),COLORCYAN;
STICKLINE(ISLASTBAR,HJ_64,HJ_64,120,0),COLORWHITE,LINETHICK3;
STICKLINE(ISLASTBAR,HJ_65,HJ_65,100,0),COLORMAGENTA,LINETHICK3;
HJ_91:=MA(EMA(WINNER(CLOSE),3),40);
HJ_92:=HJ_91>REF(HJ_91,4);
HJ_93:=VOL*5/SUM(REF(VOL,1),5)>1;
HJ_94:=VOL/CAPITAL*100>3;
HJ_95:=EMA(EMA(CLOSE,9),9);
HJ_96:=(HJ_95-REF(HJ_95,1))/REF(HJ_95,1);
HJ_97:=100*WINNER(CLOSE*0.95);
HJ_98:=HJ_92 AND HJ_93 AND HJ_94;
HJ_99:=HJ_98;
DRAWICON(CROSS(CLOSE,HJ_53) AND HJ_99,LOW-0.2,5);
DRAWICON(CROSS(CLOSE,HJ_46) AND HJ_99,LOW-0.8,5);
DRAWICON(CROSS(CLOSE,HJ_54) AND HJ_99,LOW-0.6,5);
RETNUM:=TDXDLL8(3,C,O,H);
TAISHAN:=MOD(INTPART(RETNUM), 10)-8;
NIAN:=2000+INTPART(RETNUM/320);
YUE:=MOD(INTPART(FRACPART(RETNUM)*100), 13);
RI:=INTPART((MOD(RETNUM, 320))/10);
LSOFT:=INTPART(FRACPART(RETNUM)*100/13);






糖宝出击三代:

{糖宝出击三代}

XA_1:=REF(OPEN/CLOSE>=1.016,1);

XA_2:=CLOSE/OPEN>=1.01;

XA_3:=CLOSE>REF(OPEN,1);

XA_4:=OPEN<=MA(CLOSE,13) AND CLOSE>=MA(CLOSE,15);

XA_5:=MA(CLOSE,10)<CLOSE*1.1;

XA_6:=MA(CLOSE,60)>CLOSE*1.029;

XA_7:=VOL<=REF(LLV(VOL,21),1)*2.4;

XA_8:=XA_1 AND XA_2 AND XA_3 AND XA_4 AND XA_5 AND XA_6 AND XA_7;

0,DOTLINE,COLORRED,LINETHICK3;

糖宝出击:IF(XA_8>0,XA_8,0),STICK,COLORRED,LINETHICK0;

STICKLINE(XA_8,0,1,0.8,0),COLORRED;

STICKLINE(XA_8,0.8,1,1.5,0),COLORWHITE;

STICKLINE(XA_8,0,0.2,1.5,0),COLORYELLOW;

STICKLINE(XA_8,0.5,0.6,1.1,0),COLORBLUE;
DRAWICON(XA_8,1,28);

DRAWICON(XA_8,0.35,26);

DRAWICON(XA_8,0.7,26);




精准抄底(顶尖财经:股票学院 http://www.58188.com):


{公式名称: 精准抄底2

公式描述: 
无参数
公式类型: 技术指标公式-其他类型
画线方法: 副图
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:无
用法注释:无
公式源码:}
 
STICKLINE(1>WINNER(CLOSE)>0.8,WINNER(CLOSE),0,3,0),COLOR006600;
STICKLINE(0.8>WINNER(CLOSE)>0.5,WINNER(CLOSE),0,3,0),COLOR888888;
STICKLINE(0.5>WINNER(CLOSE)>0.2,WINNER(CLOSE),0,3,0),COLORCYAN;
STICKLINE(0.2>WINNER(CLOSE)>0.05,WINNER(CLOSE),0,3,0),COLORYELLOW;
STICKLINE(0.05>WINNER(CLOSE)>0,WINNER(CLOSE),0,3,0),COLORRED;
STICKLINE(0.005>WINNER(CLOSE)>0,1,0.1,0.1,0),COLORCC00FF;
VAR1:=CLOSE-REF(CLOSE,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
VAR3:=CROSS(EMA(CLOSE,19),EMA(CLOSE,7));
VAR4:=CROSS(EMA(CLOSE,7),EMA(CLOSE,19));
VAR5:=LOW=LLV(LOW,BARSLAST(VAR3)+1);
VAR6:=LLV(LOW,BARSLAST(VAR3)+1);
VAR7:=HIGH=HHV(HIGH,BARSLAST(VAR4)+1);
VAR8:=HHV(HIGH,BARSLAST(VAR4)+1);
VAR9:=DRAWLINE(VAR5,VAR6,VAR7,VAR8,0);
VAR10:=HIGH=HHV(HIGH,BARSLAST(VAR4)+1);
VAR11:=HHV(HIGH,BARSLAST(VAR4)+1);
VAR12:=LOW=LLV(LOW,BARSLAST(VAR3)+1);
VAR13:=LLV(LOW,BARSLAST(VAR3)+1);
VAR14:=DRAWLINE(VAR10,VAR11,VAR12,VAR13,0);
VAR15:=LLV(VAR2,2)=LLV(VAR2,7);
VAR16:=COUNT(VAR2<0,2);
VAR17:=CROSS(VAR2,MA(VAR2,2));
VAR18:=REF(VAR14,1)<REF(VAR14,2);
VAR19:=VAR9>REF(VAR14,1);
VAR20:=VAR15 AND VAR16 AND VAR17 AND VAR18 AND VAR19;
VAR21:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR22:=EMA(VAR21,9);
VAR23:=(VAR21-VAR22)*2;
VAR24:=HHV(HIGH,60);
VAR25:=LLV(LOW,30);
VAR26:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR27:=(VAR24+VAR25+VAR26)/3;
VAR28:=EMA(VAR27,5);
VAR29:=EMA(VAR28,5)*2;
VAR30:=EMA(VAR29,5);
VAR31:=VAR29*3-VAR30*2;
VAR32:=CROSS(VAR29,VAR30);
VAR33:=CROSS(VAR30,VAR29);
VAR34:=DRAWICON(ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3),LOW*0.98,1)*VAR30*2/3;
VAR35:=IF(TROUGHBARS(3,15,1)=1 AND HIGH>LOW+0.01,20,0);
VAR36:=VAR34 AND VAR35;
粉竖线开始关注:VAR20 OR VAR14<REF(VAR14,1) AND VAR36,COLORMAGENTA,LINETHICK2;
粉三角确认买入:VAR20 OR VAR14<REF(VAR14,1) AND VAR36,COLORMAGENTA,LINETHICK2;
VAR37:=EMA(CLOSE,5)-EMA(CLOSE,10);
VAR38:=EMA(VAR37,4);
VAR39:=0-10*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+10;
VAR40:=VAR37-REF(VAR37,1);
VAR41:=VAR38-REF(VAR38,1);
VAR42:=EMA(EMA(VAR40,2),2);
VAR43:=EMA(EMA(VAR41,2),2);
VAR44:=CROSS(VAR37,VAR38) AND VAR37<0;
VAR45:=VAR38<(-0.02) AND VAR39<4.5;
VAR46:=VAR42>0 AND VAR43>0;
后面还有新低:VAR44 AND VAR45 AND VAR46,COLORBLUE,LINETHICK2;
 


上一篇:通达信无敌拐点,个股抄底主图,金牌黑马指标

下一篇:通达信操盘手指标,手机版和pc版通用指标