通道主图
{DRAWGBK(C>0, RGB(0,105,205),RGB(0,134,139),0,'',0);
DRAWKLINE(H,O,L,C);}
{}
CV:=C*V;
BCV:=EMA((EMA(CV,3)/EMA(V,3)+EMA(CV,6)/EMA(V,6)+EMA(CV,12)/EMA(V,12)+EMA(CV,24)/EMA(V,24))/4,13);
IU0:BCV*1.078;
ID0:BCV*0.94;
OE0:EMA(EMA(C,10)*1.54,9),COLORFF00FF,DOTLINE;
IF(OE0>=REF(OE0,1),OE0,DRAWNULL),COLORGREEN;
IF(OE0<REF (OE0,1),OE0,DRAWNULL),COLORLIRED;
OC0:EMA(EMA(C,10)*1.24,9),COLORRED,LINETHICK5;
OU0:EMA(EMA(C,10)*1.14,9),COLORBLUE,LINETHICK5;
OD0:EMA(EMA(C,8)*0.845,8),COLORGREEN,LINETHICK5;
OH0:EMA(EMA(C,9)*0.745,9),COLORFF0080,LINETHICK5;
DRAWBAND(IU0,RGB(155,255,255),OU0,RGB(125,245,235));
DRAWBAND(IU0,RGB(255,240,245),ID0,RGB(256,075,075));
DRAWBAND(ID0,RGB(193,255,193),OD0,RGB(000,000,125));
STICKLINE(OD0<L,C,O,3.1,0),COLOR009999;{黄}
STICKLINE(OD0<L,C,O,2.5,0),COLOR00AAAA;
STICKLINE(OD0<L,C,O,2,0),COLOR00BBBB;
STICKLINE(OD0<L,C,O,1.5,0),COLOR00CCCC;
STICKLINE(OD0<L,C,O,1,0),COLOR00DDDD;
STICKLINE(OD0<L,C,O,0.5,0),COLOR00EEEE;
STICKLINE(OD0<L,C,O,0.1,0),COLOR00FFFF;
{灰色K}
STICKLINE(O>=C,H,L,0,0),COLOR909090;
STICKLINE(O>=C,C,O,3.1,0),COLOR606060;
STICKLINE(O>=C,C,O,3.1,0),COLOR707070;
STICKLINE(O>=C,C,O,1.2,0),COLOR808080;
STICKLINE(O>=C,C,O,0.2,0),COLOR909090;
STICKLINE(O<=C,H,L,0,0),COLOR666B6F;
STICKLINE(C>O,C,O,3.1,1),COLOR666B6F;
V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
{STICKLINE(C>=O,C,O,3,0),COLOR000045;
STICKLINE(C>=O,C,O,2.5,0),COLOR000065;
STICKLINE(C>=O,C,O,2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1,0),COLOR0000C5;
STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;
STICKLINE(C>=O,H,L,0,0),COLOR0000F5;
STICKLINE(C<O,C,O,3,0),COLOR00FF00;
STICKLINE(C<O,C,O,2.5,0),LINETHICK2,COLOR005500;
STICKLINE(C<O,C,O,2,0),LINETHICK2,COLOR007700;
STICKLINE(C<O,C,O,1.5,0),LINETHICK2,COLOR009900;
STICKLINE(C<O,C,O,1,0),LINETHICK2,COLOR00AA00;
STICKLINE(C<O,C,O,0.5,0),LINETHICK2,COLOR00DD00;
STICKLINE(C<O,H,L,0,0),LINETHICK2,COLOR00FF00;};
STICKLINE(OD0>L,C,O,3.1,0),COLOR009999;{黄}
STICKLINE(OD0>L,C,O,2.5,0),COLOR00AAAA;
STICKLINE(OD0>L,C,O,2,0),COLOR00BBBB;
STICKLINE(OD0>L,C,O,1.5,0),COLOR00CCCC;
STICKLINE(OD0>L,C,O,1,0),COLOR00DDDD;
STICKLINE(OD0>L,C,O,0.5,0),COLOR00EEEE;
STICKLINE(OD0>L,C,O,0.1,0),COLOR00FFFF;
STICKLINE(OC0<H,C,O,3.1,0),COLOR770088;
STICKLINE(OC0<H,C,O,2.5,0),COLOR770077;
STICKLINE(OC0<H,C,O,2,0),COLOR990099;
STICKLINE(OC0<H,C,O,1.5,0),COLORBB00BB;
STICKLINE(OC0<H,C,O,1,0),COLORDD00DD;
STICKLINE(OC0<H,C,O,0.5,0),COLORFF00FF;
STICKLINE(OC0<H,C,O,0.1,0),COLORFF55FF;
尊龙飞龙抄底副图指标
HJ_1:=CLOSE;
HJ_2:=(HIGH+LOW+CLOSE)/3;
HJ_3:=(HIGH+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OL,3)<MA(VOL,6);
HJ_28:=CROSS(HJ_11,1.5) AND COUNT(HJ_16<REF(HJ_16,1),2)=2 AND
HJ_10 AND HJ_8 AND HJ_9 AND REF(HJ_11=REF(HJ_11,1),1) AND
LOW<HJ_26 AND MA(VOL,3)<MA(VOL,6);
HJ_29:=REF(HJ_17,1)<=(-170) OR CROSS(HJ_17,(-170)) OR
(CLOSE-MA(CLOSE,13))/MA(CLOSE,50)*100<(-6) AND
REF(CLOSE,1)/REF(CLOSE,2)<0.945 AND CLOSE/REF(CLOSE,1)>1.025 AND
VOL*1.58<REF(VOL,1) AND NOT(CLOSE/REF(CLOSE,1)>1.0989);
HJ_30:=CROSS(HJ_11,1.5) AND HJ_20 AND HJ_9 AND HJ_10 AND HJ_8 AND
MA(VOL,3)<MA(VOL,6) AND LOW<HJ_26;
尊龙 :IF(HJ_29 OR HJ_30,1.5,0),COLORYELLOW,LINETHICK2;
飞龙:HJ_27 OR HJ_28,COLORRED,LINETHICK2;
小龙:IF(CROSS(HJ_11,1.5) AND (REF(CLOSE/OPEN<1.005 AND
CLOSE/OPEN>0.995 OR (CLOSE>OPEN AND (HIGH/CLOSE>CLOSE/OPEN AND HIGH/CLOSE>OPEN/LOW)),1) OR (CLOSE/OPEN<1.005 AND
CLOSE/OPEN>0.995) OR CLOSE/OPEN>1.033 OR (CLOSE>OPEN AND
(CLOSE/OPEN<OPEN/LOW AND OPEN/LOW>HIGH/CLOSE OR
(HIGH/CLOSE>CLOSE/OPEN AND HIGH/CLOSE>OPEN/LOW)))) AND
COUNT(HJ_6,4)>=3 AND HJ_7 AND HJ_13 AND HJ_9 AND
REF(HJ_11=REF(HJ_11,1),1) AND
MA(VOL,5)<MA(VOL,11),0.7,0),COLORGREEN,LINETHICK2;
哈:IF(HJ_5<=(-0.45) AND HJ_5>=(-0.48) AND
COUNT(HJ_5<REF(HJ_5,1),2)=2 OR (HJ_5<=(-0.48) AND
COUNT(HJ_5<REF(HJ_5,1),3)=3) AND CLOSE>OPEN AND
REF(COUNT(CLOSE<OPEN,2)=2,1) AND
MA(VOL,12)<MA(VOL,24),0.5,0),COLORMAGENTA,LINETHICK2;
飞龙在天副图
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
底部吸筹: STICKLINE(VAR7,0,VAR7,2,1),COLORMAGENTA ;
V1:=LLV(C,248);
龙:100*(C-V1)/V1,COLORLICYAN;
V2:=HHV(C,248);
天:100*(V2-C)/C,COLORGREEN,LINETHICK1;
V3:=SUM(VOL,5)/CAPITAL;
CYF5:=100-(100/(1+V3));
看涨:IF(龙>15 AND 龙>天,龙,DRAWNULL),COLORCYAN,LINETHICK2;
超强:IF(龙>30 AND 龙>天,龙,DRAWNULL),COLORRED,LINETHICK2;
尊龙筹码副图
PR:WINNER(C)*100,NODRAW,;
STICKLINE(PR<9,0,PR,3.1,0),COLORLICYAN;
STICKLINE(PR>=9 AND PR<35,0,PR,3.1,0),COLORMAGENTA;
STICKLINE(PR>=35 AND PR<=50,0,PR,3.1,0),COLORFF8080;
STICKLINE(PR>=50 AND PR<=80,0,PR,3.1,0),COLORGREEN;
STICKLINE(PR>=80 AND PR<=100,0,PR,3.1,0),COLORRED;
{DRAWRECTREL(0,0,240,995,RGB(235,245,255));{矩形大小底色};
DRAWTEXT_FIX(C>0,0,0.05.100,0, '1. 此指标是简单的筹码指标,不保证百战百胜;'),COLORRED;
DRAWTEXT_FIX(C>0,0,0.20.250,0, '2. 注意长期横盘后的绿色红色柱状线,有可能是牛股的开始;'),COLORCYAN;
DRAWTEXT_FIX(C>0,0,0.35.400,0, '3. 长期全盘获利红色柱状线开始断崖变色,注意调整开始;'),COLORMAGENTA;
DRAWTEXT_FIX(C>0,0,0.50.550,0, '4. 断崖式变色 向上向下可能是上涨和下跌的开始;'),COLOR00FF00;
DRAWTEXT_FIX(C>0,0,0.7.700,0, '5. 以主图均线为主;'),COLOR0080FF;
尊龙点火副图
HAN:=DATE=DATE;
MA6:=MA(C,6);
MA12:=MA(C,12);
MA18:=MA(C,18);
YY1:=O<MA6 AND C>MA6;
YY2:=O<MA12 AND C>MA12;
YY3:=O<MA18 AND C>MA18;
YY4:=C/O>=1.02;
YY5:=V>HHV(H,10);
YY6:=MA6>=REF(MA6,1);
XA:=YY1 AND YY2 AND YY3 AND YY4 AND YY5 AND YY6;
DRAWTEXT(XA,50, '-------尊龙点火'),COLORMAGENTA;
STICKLINE(XA,40,20,3.5,0),COLORA8A8A8;
STICKLINE(XA,50,49,1.7,0),COLORA8A8A8;
STICKLINE(XA,49,48,1.9,0),COLORA8A8A8;
STICKLINE(XA,48,47,2.1,0),COLORA8A8A8;
STICKLINE(XA,47,46,2.3,0),COLORA8A8A8;
STICKLINE(XA,46,45,2.5,0),COLORA8A8A8;
STICKLINE(XA,45,44,2.7,0),COLORA8A8A8;
STICKLINE(XA,44,43,2.9,0),COLORA8A8A8;
STICKLINE(XA,43,42,3.1,0),COLORA8A8A8;
STICKLINE(XA,42,41,3.3,0),COLORA8A8A8;
STICKLINE(XA,41,40,3.5,0),COLORA8A8A8;
STICKLINE(XA,101,96,0.1,0),COLORWHITE;
STICKLINE(XA,96,92,0.3,0),COLORWHITE;
STICKLINE(XA,92,88,0.6,0),COLORWHITE;
STICKLINE(XA,88,84,0.9,0),COLORWHITE;
STICKLINE(XA,84,80,1.2,0),COLORWHITE;
STICKLINE(XA,80,50,1.4,0),COLORWHITE;
STICKLINE(XA,74,70,0.6,0),COLORRED;
STICKLINE(XA,65,64,1.5,0),COLORBLUE;
STICKLINE(XA,51,49,1.5,0),COLORBLUE;
STICKLINE(XA,49,25,1.5,0),COLORWHITE;
STICKLINE(XA,25,20,1.3,0),COLORRED;
STICKLINE(XA,20,13,1,0),COLORRED;
STICKLINE(XA,13,7,0.7,0),COLORRED;
STICKLINE(XA,7,1,0.3,0),COLORRED;
STICKLINE(XA,1,(-7),0.1,0),COLORRED;
STICKLINE(XA,24.799999,21.799999,1,0),COLORYELLOW;
STICKLINE(XA,21.799999,18.799999,0.5,0),COLORYELLOW;
STICKLINE(XA,18.799999,15.8,0.1,0),COLORYELLOW;
STICKLINE(XA,60,55,0.5,0),COLORRED;