主图简要说明:
1.暗红色区块是主升持股区域(操作或持股);蓝色区块是反弹区域(观望或做反弹);深蓝色区域是持币区域(持币);
2.减仓和预警卖是减仓信号,当两信号共振时更有效,要清仓;
3.主图中的其他买入信号可以作为辅助买入信号使用;
4.原则上K线站上(突破)上箱顶黄线时准备介入;(主升段肯定是在黄线上的)
5.主图白线不破黄线就是强势(暗红色块区);只做白线在红绿线(二线合一)上方的行情;
6.本指标没用未来函数,收盘后所有信号不会消失或移动;
猎豹潜伏趋势副图
绿色的是相对筹码峰,就是资金在相对时间段集中的地方,黄色的空心柱是趋势相对强势的阶段,那个红色的柱子我就不说了
猎豹趋势底部副图
顶底有显示,提示顶部风险,底部建仓,盈利多少,看个人能力,跌破趋势止损走人。
猎豹启动副图
指标比较简单,看图就明白了,指标仅作为一个参考。
庄信号可以做为主升启动信号
猎豹潜伏启动副图也是属于潜伏抄底类型
指标信号贴图:
主图
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('【行业】',HYBLOCK),STRCAT('【地域】',DYBLOCK)),STRCAT('【概念】',GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,所属板块),COLORLIRED;
DRAWTEXT_FIX(1,0.5,0.04,0,FGBLOCK),COLORWHITE;
X_1:=EMA(CLOSE,3);
X_2:=EMA(CLOSE,26);
X_3:=X_1-X_2;
牵牛线:EMA(EMA(EMA(CLOSE,3),3),3)+X_3,COLORWHITE;
寻牛线:MA(MA(LOW,3),3),COLORMAGENTA;
上箱顶1:=HHV(寻牛线,60);
DRAWBAND(牵牛线,RGB(85,0,0),上箱顶1,RGB(45,0,140));
DRAWBAND(寻牛线,RGB(0,65,45),上箱顶1,RGB(0,65,155));{廷进波段彩色区块}
上箱顶:HHV(MA(MA(LOW,3),3),60)LINETHICK3,COLORYELLOW;
下箱底:LLV(寻牛线,20)LINETHICK3,COLORFFBB00;
短牵牛:=EMA(CLOSE,6)-EMA(CLOSE,13);
长牵牛:=EMA(短牵牛,20);
MB1:=HHV(短牵牛,20);
MB2:=LLV(短牵牛,20);
箱顶:=REF(MB1,1);
箱底:=REF(MB2,1);
{2020.8.23之后涨跌停显示}
前5天:=BARSCOUNT(C)>5;{上市大于五天,前五天不限制幅度}
ZC:=REF(C,1);
ZF:=(H-ZC+0.01)/ZC*100;
DF:=(ZC-L+0.01)/ZC*100;
涨5:=ZF>=5 AND 前5天 AND C=H;
跌5:=DF>=5 AND 前5天 AND C=L;
涨10:=ZF>=10 AND 前5天 AND C=H;
跌10:=DF>=10 AND 前5天 AND C=L;
涨20:=ZF>=20 AND 前5天 AND C=H;
跌20:=DF>=20 AND 前5天 AND C=L;
涨停板:=IF(INBLOCK('科创板'),涨20,IF(INBLOCK('创业板') AND DATE>1200823,涨20,IF(INBLOCK('ST板块'),涨5,涨10)));
跌停板:=IF(INBLOCK('科创板'),跌20,IF(INBLOCK('创业板') AND DATE>1200823,跌20,IF(INBLOCK('ST板块'),跌5,跌10)));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(涨停板,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(涨停板,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(涨停板,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(涨停板,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(涨停板,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(涨停板,OPEN,CLOSE,0.1,0),COLOR33EEEE;
STICKLINE(跌停板,C,O,2.5,0),COLOR009900;
STICKLINE(跌停板,C,O,1.5,0),COLOR00BB00;
STICKLINE(跌停板,C,O,0.8,0),COLOR00DD00;
STICKLINE(跌停板,C,O,0.1,0),COLOR00FF00;{涨跌停K线}
{3个卖出信号}
X_7:=MA(CLOSE,1);
X_8:=SMA(SMA(SMA(X_7,2,1),2,1),2,1),NODRAW;
X_9:=MA(X_8,3),NODRAW;
{必须卖信号}
操作:=MA((L+H+C)/3,5);
起飞加速线:HHV(操作,60)DOTLINE,COLORLIRED;
DIFF1:=EMA(CLOSE,6)-EMA(CLOSE,13) COLORWHITE,LINETHICK2;
DEA1:=EMA(DIFF1,5) COLORYELLOW,LINETHICK1;
MACD1:=(DIFF1-DEA1)*2;
必须卖:=MACD1<0 AND CROSS(DEA1,DIFF1) AND CROSS(起飞加速线,C) AND 起飞加速线=REF(起飞加速线,1);
DRAWTEXT(必须卖,H,'★必须卖'),COLORGREEN;
{预警卖}
VAR06:=REF(CLOSE,1);
VAR07:=SMA(MAX(CLOSE-VAR06,0),6,1)/SMA(ABS(CLOSE-VAR06),6,1)*100;
预警卖:=CROSS(84,VAR07) AND 起飞加速线=REF(起飞加速线,1) AND C<REF(L,1);
预警卖1:=CROSS(X_9,X_8) AND C<起飞加速线 AND C<REF(L,1);
DRAWTEXT(CROSS(84,VAR07) AND 起飞加速线=REF(起飞加速线,1) AND C<REF(L,1),H*1.02,' 预警卖'),COLORGREEN;
DRAWICON(CROSS(84,VAR07) AND 起飞加速线=REF(起飞加速线,1) AND C<REF(L,1),H*1.02,43);
DRAWTEXT(CROSS(X_9,X_8) AND C<起飞加速线 AND C<REF(L,1),H*1.02,' 预警卖'),COLORGREEN;
DRAWICON(CROSS(X_9,X_8) AND C<起飞加速线 AND C<REF(L,1),L*0.99,43);
{逃顶}
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1);
天线:=78.89;
{STICKLINE(CROSS(天线,多方趋势) AND C<起飞加速线 AND CROSS(X_9,X_8),H*1.015,H*1.00,5,0),COLORLIBLUE;}{K线上的标记}
DRAWTEXT(CROSS(天线,多方趋势) AND C<起飞加速线 AND CROSS(X_9,X_8),H*1.06,'↙⊙逃顶'),COLORLIBLUE;
{绿彩带死叉信号}
减仓:=X_8<REF(X_8,1) AND X_9>REF(X_9,1);
DRAWTEXT(减仓 AND C<O,H*1.04,'↙减仓'),COLORCYAN;
{减仓+预警卖共振K}
STICKLINE(减仓 AND (预警卖 OR 预警卖1),C,O,2.5,0),COLORFF2200;
STICKLINE(减仓 AND (预警卖 OR 预警卖1),C,O,1.5,0),COLORFF4400;
STICKLINE(减仓 AND (预警卖 OR 预警卖1),C,O,0.8,0),COLORFF6600;
STICKLINE(减仓 AND (预警卖 OR 预警卖1),C,O,0.1,0),COLORFF8800;
STICKLINE(减仓 AND (预警卖 OR 预警卖1),C,O,0.5,0),COLORFFAA00;
{量能}
总金额:=AMOUNT,VOLSTICK;
启动量能:=MA(总金额,250),DOTLINE,LINETHICK1,COLORGREEN;
量比:=V/REF(MA(V,5),1),COLORBROWN,NODRAW;
几倍:=1.9;
HJ_2:=总金额/REF(MA(总金额,5),1)>3;
倍量:=总金额>=REF(总金额,1)*几倍 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
倍缩:=REF(总金额,1)>= 总金额*几倍,COLORMAGENTA,NODRAW;
倍数:=总金额/REF(总金额,1),COLORYELLOW,NODRAW;
梯量:=COUNT(总金额>REF(总金额,1),3)=3 AND COUNT(C>O,3)=3,NODRAW,COLOR824173;
{趋势先机--红白趋势线}
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
红趋势线:=EMA(VAR2E,3)LINETHICK3,COLORRED;
白趋势线:=EMA(红趋势线,5)LINETHICK3,COLORWHITE;
XX:=CROSS(红趋势线,白趋势线);{金叉}
{中途上车信号}
GJ:=(("CCII.CCI#WEEK")/10)+40;
WR:=REF(C,5);
ZFU:=((C/WR)-1)*100;
WRG:=((GJ/REF(GJ,1))-1)*100;
ZSH:=((C/REF(C,10))-1)*100;
ZES:=((C/REF(C,20))-1)*100;
SG:=((GJ/REF(GJ,6))-1)*100;
ESG:=((GJ/REF(GJ,16))-1)*100;
LEN:=(ESG-ZES)+30;
MEN:=(SG-ZSH)+30;
SEN:=(WRG-ZFU)+30;
TEN:=LEN+MEN+SEN;
ENCH:=TEN>90 AND HHV(REF(TEN,1),14)<=TEN;
LJGJ:=(LEN>80 OR MEN>80 OR SEN>80) AND LEN>30 AND MEN>30 AND SEN>30;
TENMAVOL:=HHV(REF(TEN,1),15);
TENMDAY:=BARSLAST(TENMAVOL);
ZNTP:=TEN>TENMAVOL AND CLOSE>REF(CLOSE,TENMDAY+1);
中途上车:=LJGJ AND ENCH AND ZNTP,COLOR006BFF;
IF(寻牛线>=REF(上箱顶,1),寻牛线,DRAWNULL),COLORRED,LINETHICK3; {红线(双线合一)--强势上涨区间}
IF(寻牛线<=REF(上箱顶,1),寻牛线,DRAWNULL),COLORGREEN,LINETHICK3;{绿线(双线合一)--下跌或震荡区间}
IF(牵牛线>=REF(下箱底,1),牵牛线,DRAWNULL),COLORWHITE;{细白线线--盘整/反弹区间};
IF(牵牛线>=REF(上箱顶,1),牵牛线,DRAWNULL),COLORWHITE,LINETHICK2;{粗白线--强势拉升区间};
IF(牵牛线<=REF(下箱底,1),牵牛线,DRAWNULL)DOTLINE,COLORWHITE;{虚白线--弱势下跌区间};
STICKLINE(CROSS(牵牛线,上箱顶) AND CROSS(C,上箱顶),OPEN,CLOSE,2,0),COLOR66EEEE;
STICKLINE(CROSS(牵牛线,上箱顶) AND CROSS(C,上箱顶),OPEN,CLOSE,1,0),COLORMAGENTA;
STICKLINE(CROSS(牵牛线,上箱顶) AND CROSS(C,上箱顶),OPEN,CLOSE,0,1),COLOR8B8BFF;{上穿黄线三色K}
DRAWTEXT(CROSS(牵牛线,下箱底),下箱底,'↖抄底反弹'),COLORRED;{抄底反弹买点};
反弹共振1:=CROSS(短牵牛,箱顶) AND CROSS(牵牛线,下箱底);
反弹共振2:=CROSS(短牵牛,箱底) AND CROSS(牵牛线,下箱底);
反弹共振3:=CROSS(牵牛线,下箱底) AND 中途上车;
反弹共振4:=XX AND CROSS(短牵牛,箱底);
反弹共振5:=中途上车 AND CROSS(短牵牛,长牵牛);
反弹:=反弹共振1 OR 反弹共振2 OR 反弹共振3 OR 反弹共振4 OR 反弹共振5;
STICKLINE(反弹,C,O,2.8,0),COLOR555555;
STICKLINE(反弹,C,O,2,0),COLOR888888;
STICKLINE(反弹,C,O,1.5,0),COLORAAAAAA;
STICKLINE(反弹,C,O,1,0),COLORCCCCCC;
STICKLINE(反弹,C,O,0.5,0),COLOREEEEEE;{反弹共振K}
DRAWTEXT(反弹,L*1.003,'★反弹共振'),COLORWHITE;
主升共振1:=CROSS(牵牛线,上箱顶) AND CROSS(短牵牛,箱顶) AND 箱顶>=REF(箱顶,1) AND 倍量;
主升共振2:=CROSS(C,上箱顶) AND CROSS(短牵牛,箱底)AND 倍量;
主升共振3:=CROSS(短牵牛,箱顶) AND 箱顶>=REF(箱顶,1) AND 寻牛线=上箱顶 AND 红趋势线<93 AND 倍量;
主升共振4:=中途上车 AND CROSS(牵牛线,上箱顶) AND CROSS(C,上箱顶)AND 倍量;
主升共振5:=CROSS(C,起飞加速线) AND CROSS(短牵牛,长牵牛)AND 倍量;
主升共振6:=XX AND CROSS(牵牛线,上箱顶) AND CROSS(C,上箱顶)AND 倍量;
主升共振7:=CROSS(短牵牛,箱顶) AND C>上箱顶 AND 倍量;
主升:=主升共振1 OR 主升共振2 OR 主升共振3 OR 主升共振4 OR 主升共振5 OR 主升共振6 OR 主升共振7;
STICKLINE(主升,H,L,0,0),COLORFF00FF;
STICKLINE(主升,C,O,3,0),COLOR990099;
STICKLINE(主升,C,O,2,0),COLORBB00BB;
STICKLINE(主升,C,O,1,0),COLORDD00DD;
STICKLINE(主升,C,O,0.3,0),COLORFF00FF;
DRAWTEXT(主升,H*1.003,'★主升共振'),COLORMAGENTA;
DRAWTEXT(主升 AND 中途上车,LOW*0.92,'★千载难逢'),COLORYELLOW;{千载难逢信号}
{今明涨跌停价格}
TM:=1200823;
今涨停:IF(DATE<TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
今跌停:IF(DATE<TM,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
明涨停:IF(DATE<TM,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORMAGENTA;
明跌停:IF(DATE<TM,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;
DRAWRECTREL(10,20,90,115,RGB(50,15,005));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.03,0.0, '今天涨停价:'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.07,0.03,0,'元'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.03,0,今涨停),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.08,0.0, '明天涨停价:'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.07,0.08,0,'元'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.05,0.08,0,明涨停),COLORRED;
{暴力妖股信号}
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
HJ_9:=FILTER(HJ_8,10);
HJ_10:=BARSLAST(HJ_9);
HJ_11:=REF(HIGH,HJ_10+2);
HJ_12:=REF(HIGH,HJ_10+1);
HJ_13:=REF(HIGH,HJ_10);
HJ_14:=MAX(HJ_11,HJ_12);
HJ_15:=MAX(HJ_14,HJ_13);
HJ_16:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
HJ_17:=HJ_10<150;
HJ_18:=(OPEN-HJ_15)/HJ_15*100<30;
HJ_19:=(CLOSE-LLV(LOW,HJ_10))/LLV(LOW,HJ_10)*100<50;
HJ_20:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
HJ_21:=VOL/MA(VOL,5)<3.5;
HJ_22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
HJ_25:=HJ_16 AND HJ_17 AND HJ_18 AND HJ_19 AND HJ_20 AND HJ_21 AND HJ_22;
暴利:=FILTER(HJ_25,15);
MA10:=MA(CLOSE,10);
MA54:=MA(CLOSE,54);
PL1:=(((CLOSE-MA54)/MA54)<0.1);
PL2:=(((CLOSE-MA10)/MA10)<0.3);
偏离率:=(((PL1=1) AND (PL2=1))*0.2);
平台突破:=((((偏离率=0) AND (REF(偏离率,1)=0.2)) AND (REF((COUNT((偏离率=0.2),10)=10),1)=1))*-0.1);
妖股突破:=平台突破=-0.1;
XDF:=暴利 OR 妖股突破;
VARAA:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
FLIGA:=(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);
妖股:=XDF AND 涨停板 AND FLIGA AND VARAA,NODRAW;
DRAWICON(妖股,LOW*0.99,7);
DRAWTEXT(妖股,LOW*0.97,' 暴力妖股'),COLORYELLOW;{暴力妖股信号};
猎豹潜伏趋势副图1
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
A:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*21,LINETHICK0,COLORWHITE;
B:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*21,LINETHICK0,COLORYELLOW;
红柱:=SMA(A,7,1),LINETHICK0,COLOR0000FF;
蓝柱:=SMA(B,7,1),COLORSTICK,COLORFFFF00;
VAR200:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,13))*100;
VAR300:=SMA(SMA(VAR200,5,1),5,1)/13;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
伏:=CROSS(操盘,VAR300) AND VAR300<3.1 AND C>O;
STICKLINE(伏, 0,10, 2, 0),COLORLIMAGENTA;
DRAWICON(伏,10,29);
A1:=C/REF(C,1)>=1.097;
DRAWTEXT(A1 AND 伏,5.4,'★打板'),COLORMAGENTA;
B1:=C/REF(C,1)>=1.05 AND C/REF(C,1)<1.097;
DRAWTEXT(B1 AND 伏,7.4,'★大阳'),COLORMAGENTA;
VAR1:=IF(L<(7),0,IF(H>(7),(7)-((7)-H+0.02)/(H-L+0.02),0));
VAR2:=DMA(VAR1,V)*100;
卖出:=IF(VAR2>0 AND VAR2>REF(VAR2,1),VAR2/20,0);
GUPQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUPQ2:=SMA(ABS(LOW-GUPQ1),13,1)/SMA(MAX(LOW-GUPQ1,0),10,1);
GUPQ3:=EMA(GUPQ2,10);
GUPQ4:=LLV(LOW,33);
GUPQ5:=EMA(IF(LOW<=GUPQ4,GUPQ3,0),3)*100;
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
趋势线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*2.5,3);
强弱分界线:=1.75,POINTDOT,LINETHICK2,COLOR70DB93;
BV:=趋势线>强弱分界线,COLOR00FFFF;
STICKLINE(BV ,0 ,1,3 ,1),COLORYELLOW;
F:=EMA(WINNER(C)*70,3);
E:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
J:=E-F;
S:=CROSS(F,J);
STICKLINE(S ,0 ,1,2 ,0),COLORLIGREEN;
猎豹趋势底部副图2
X_50:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
X_51:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
X_52:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_53:=(X_50+2*X_51+3*X_52)/6;
X_54:=MA(X_53,3);
X_55:=LLV(LOW,36);
X_56:=HHV(HIGH,30);
X_57:=EMA((CLOSE-X_55)/(X_56-X_55)*4,4)*25;
底背离:IF(X_54<-4 ,-11,0),COLORA67D3D,LINETHICK3;
顶背离:IF((X_57>90),110,100), COLORGREEN,LINETHICK3;
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
趋势:5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
,3,1),2,1),COLOR7F52AF;
趋势1:EMA(MA(趋势,5),3),COLORA6B8C1;
STICKLINE(趋势>=趋势1,趋势,趋势1,2,0),COLOR7F52AF;
STICKLINE(趋势<趋势1,趋势,趋势1,2,0),COLORA6B8C1;
STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,2,0),COLORBLUE ;
STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,2,0),COLORWHITE;
STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,2,0),COLORF00FF0 ;
STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,2,0),COLORF0F000;
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,20);
V3:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险:IF(V1 AND V2 AND V3,30,0),STICK,COLOR00FF00;
V11:=MA(C,5)=HHV(MA(C,5),120);
V21:=MA(C,5)>MA(C,120);
V31:=COUNT(MA(C,1)>REF(C,1),3)=3;
风险1:IF(V11 AND V21 AND V31,60,0),STICK,COLORF0F000;
底部:5;
抄底:IF(CROSS(趋势,底部),60,0),STICK,COLORYELLOW,LINETHICK4;
DRAWTEXT(抄底,50,'抄底'),COLORRED;
天线:108,COLORFF9D00;
逃顶:IF(CROSS(天线,趋势),1,0),STICK,COLORFF9D00;
STICKLINE(CROSS(天线,趋势),90,108,6,0),COLORFF9D00;
A1:=((MA(C,60)-L)/MA(C,20)),COLOR00FFFF;
B1:=((MA(C,60)-L)/MA(C,60)),COLOR00FF00;
C1:=((MA(C,30)-L)/MA(C,30)),COLORFF00FF;
主力:(A1+B1+C1)/3,COLOR0000FF;
散户:-1*(A1+B1+C1)/3,COLOR00FF00;
TJ1:=CROSS(散户,主力);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA54:=MA(CLOSE,54);
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
热度:1/((MA5+MA10+MA20+MA30+MA60+MA120)/6/C)/10,COLORWHITE,DOTLINE;
BBT:热度-主力,NODRAW;
XS:=BBT<=0.02;
STICKLINE(BBT>=REF(BBT,1),主力,热度,0.01,0),COLORFF80FF;
STICKLINE(BBT<REF(BBT,1),主力,热度,0.01,0),COLORC08000;
DRAWICON(XS,主力,11);
猎豹启动副图3
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
UVAR1:=EMA(CLOSE,10);
UVAR2:=(UVAR1/LLV(UVAR1,10)-1)*100;
UVAR3:=(-1)*UVAR2;
UVAR4:=100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
UVAR5:=REF(CLOSE,1);
UVAR6:=SMA(MAX(CLOSE-UVAR5,0),9,1)/SMA(ABS(CLOSE-UVAR5),9,1)*100;
UVAR7:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
UVAR8:=SMA(UVAR7,3,1);
UVAR9:=SMA(UVAR8,3,1);
UVAR10:=3*UVAR8-2*UVAR9;
UVAR11:=UVAR6 >=76 OR UVAR10 > 95;
UVAR12:=UVAR4 < 25;
UVAR13:=UVAR11 OR UVAR12;
UVAR14:=EMA(CLOSE,20);
UVAR15:=EMA(CLOSE,30);
UVAR16:=EMA(CLOSE,35);
UVAR17:=EMA(CLOSE,40);
UVAR18:=EMA(CLOSE,45);
UVAR19:=EMA(CLOSE,90);
UVAR20:=EMA(CLOSE,98);
UVAR21:=EMA(CLOSE,106);
UVAR22:=EMA(CLOSE,114);
UVAR23:=EMA(CLOSE,140);
UVAR24:=EMA(CLOSE,148);
UVAR25:=EMA(CLOSE,156);
UVAR26:=EMA(CLOSE,164);
UVAR27:=MAX(MAX(MAX(UVAR15,UVAR16),UVAR17),UVAR18);
UVAR28:=MIN(MIN(MIN(UVAR15,UVAR16),UVAR17),UVAR18);
UVAR29:=MAX(MAX(MAX(UVAR19,UVAR20),UVAR21),UVAR22);
UVAR30:=MIN(MIN(MIN(UVAR19,UVAR20),UVAR21),UVAR22);
UVAR31:=MAX(MAX(MAX(UVAR23,UVAR24),UVAR25),UVAR26);
UVAR32:=MIN(MIN(MIN(UVAR23,UVAR24),UVAR25),UVAR26);
UVAR33:=MAX(MAX(UVAR27,UVAR29),UVAR31);
UVAR34:=MIN(MIN(UVAR28,UVAR30),UVAR32);
UVAR35:=UVAR33/UVAR34;
UVAR36:=LOW/UVAR27;
UVAR37:=UVAR35 < 1.3 AND REF(UVAR36,1) < 1.05 AND CLOSE > UVAR14 AND CLOSE > UVAR33 AND UVAR36 < 1.08;
UVAR38:=AMOUNT/10000;
UVAR39:=LLV(UVAR38,2) > 2000 AND UVAR38 > 8000;
UVAR40:=CLOSE/REF(CLOSE,1);
UVAR41:=EMA(CLOSE,5);
UVAR42:=EMA(CLOSE,10);
UVAR43:=EMA(CLOSE,20);
UVAR44:=MAX(MAX(UVAR41,UVAR42),UVAR43);
UVAR45:=MIN(MIN(UVAR41,UVAR42),UVAR43);
UVAR46:=LOW < UVAR45 AND CLOSE > UVAR44 AND VOL > REF(VOL,1)*1.2 AND UVAR39 AND UVAR40 > 1.029 AND UVAR37;
UVAR47:=(HIGH+LOW+CLOSE)/3;
UVAR48:=(UVAR47-MA(UVAR47,81))*1000/(15*AVEDEV(UVAR47,81));
UVAR49:=CROSS(UVAR48,100) AND VOL > REF(VOL,1)*1.2 AND UVAR39 AND UVAR40 > 1.029 AND UVAR37;
UVAR50:=MA(CLOSE,30);
UVAR51:=MA(CLOSE,60);
UVAR52:=MA(CLOSE,90);
UVAR53:=MA(CLOSE,240);
UVAR54:=ABS(UVAR50/UVAR51-1);
UVAR55:=ABS(UVAR51/UVAR52-1);
UVAR56:=ABS(UVAR50/UVAR52-1);
UVAR57:=CLOSE/REF(CLOSE,1);
UVAR58:=UVAR57-1;
UVAR59:=(UVAR50+UVAR51+UVAR52)/3;
UVAR60:=IF(CLOSE > UVAR59*1.04 AND CLOSE < UVAR59*1.15,1,0);
UVAR61:=UVAR53/REF(UVAR53,20);
UVAR62:=ABS(UVAR61-1);
UVAR63:=IF(UVAR62 < 0.04,1,0);
UVAR64:=IF(UVAR54 < 0.04 AND UVAR55 < 0.04 AND UVAR56 < 0.04 AND UVAR58 > 0.04 AND UVAR60=1 AND UVAR63=1 AND UVAR59 > UVAR53,1,0);
UVAR65:=UVAR64 AND VOL > REF(VOL,1)*1.2 AND UVAR39 AND UVAR37;
UVAR66:=UVAR35 < 1.15 AND REF(UVAR36,1) < 1.04 AND CLOSE > UVAR14 AND CLOSE > UVAR33 AND UVAR36 < 1.08 AND UVAR40 > 1.04 AND VOL > REF(VOL,1)*1.2 AND UVAR39 AND UVAR37;
UVAR67:=LOW < UVAR34 AND CLOSE > UVAR33 AND UVAR40 > 1.05 AND VOL > REF(VOL,1)*1.2;
UVAR68:=UVAR46 OR UVAR49 OR UVAR65 OR UVAR66 OR UVAR67;
UVAR69:=(UVAR1/LLV(UVAR1,10)-1)*200;
UVAR70:=(UVAR1/LLV(UVAR1,10)-1)*400;
UVAR71:=IF(UVAR68,UVAR2,0);
梦想成真:IF(UVAR68,UVAR70,UVAR69),NODRAW;
猎豹启动:IF(UVAR68,1,0),NODRAW;
STICKLINE(1,UVAR2*2,UVAR3*2,2,0),COLORGRAY;
STICKLINE(UVAR2*2 > REF(UVAR2*2,1),UVAR2*2,UVAR3*2,2,0),COLOR4080FF;
STICKLINE(UVAR2*2 > 20 AND UVAR2*2 > REF(UVAR2*2,1),UVAR2*2,UVAR3*2,2,0),COLORFF0080;
STICKLINE(UVAR13,UVAR2,UVAR3,2,0),COLORRED;
STICKLINE(NOT(UVAR13) AND UVAR2 > 0,UVAR2,UVAR3,2,1),COLORGREEN;
STICKLINE(UVAR68,UVAR2,UVAR2*4,1,0),COLORYELLOW;
STICKLINE(UVAR68,UVAR3,UVAR3*4,1,0),COLORYELLOW;
NOTEXT1A:IF(UVAR68,UVAR71*6,UVAR71*4),COLORMAGENTA,LINETHICK2;
NOTEXT2A:IF(UVAR68,(-1)*UVAR71*6,(-1)*UVAR71*4),COLORMAGENTA,LINETHICK2;
猎豹潜伏启动副图4
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);MA20:=MA(C,20);
MA60:=MA(C,60);
信号:REF(C,1)<REF(O,1) AND REF(H,2)<REF(H,3)AND REF(H,3)<REF(H,4) AND REF(H,5)<REF(H,4) AND C>MA20 AND C>MA60 AND SLOPE(MA20,5)>0 AND REF(C,1)<REF(L,2) AND C>REF(L,5);