主图
粉红梯上做多,绿梯休息。同时要多多关注量能平台(安全线上看多做多,风险线下看空做空),再结合钱袋子信号去研判后期的发展
XX_1:=(3*CLOSE+OPEN+LOW+HIGH)/6;
AEFGB:(20*XX_1+19*REF(XX_1,1)+18*REF(XX_1,2)+17*REF(XX_1,3)+16*REF(XX_1,4)+15*REF(XX_1,5)+14*REF(XX_1,6)+13*REF(XX_1,7)+12*REF(XX_1,8)+11*REF(XX_1,9)+10*REF(XX_1,10)+9*REF(XX_1,11)+8*REF(XX_1,12)+7*REF(XX_1,13)+6*REF(XX_1,14)+5*REF(XX_1,15)+4*REF(XX_1,16)+3*REF(XX_1,17)+2*REF(XX_1,18)+REF(XX_1,20))/210,NODRAW;
AEFGC:MA(AEFGB,5),NODRAW;
X_2:=AEFGB;
X_3:=AEFGC;
X_4:=(X_2+X_3)/2;
X_5:=REF(X_4,1);
STICKLINE(X_4>X_5,X_4,X_5,3,0),COLORFF00FF;
STICKLINE(X_4<X_5,X_4,X_5,3,0),COLORGREEN;
STICKLINE(C>=O,C,O,3,0),COLOR1111FF;
STICKLINE(C>=O,C,O,2.5,0),COLOR3333FF;
STICKLINE(C>=O,C,O,2,0),COLOR5555FF;
STICKLINE(C>=O,C,O,1,0),COLOR7777FF;
STICKLINE(C>=O,C,O,0.5,0),COLOR9999FF;
STICKLINE(C<O,C,O,3,0),COLORFFFF11;
STICKLINE(C<O,C,O,2.5,0),COLORFFFF33;
STICKLINE(C<O,C,O,2,0),COLORFFFF55;
STICKLINE(C<O,C,O,1,0),COLORFFFF77;
STICKLINE(C<O,C,O,0.5,0),COLORFFFF99;
DD:=EXIST(C/REF(C,1)>1.055,60);
天量:=V>REF(HHV(V,BARSLAST(BARSCOUNT(C)=1)+1),1) AND CAPITAL<5000000 AND DD;
DRAWICON(天量,L*0.98,9);
高量天数C:=8;
GLT:=CONST(HHVBARS(V,高量天数C));
高量顶:=IF(CURRBARSCOUNT<=GLT+1,CONST(REF(C,GLT)),DRAWNULL);
高量底:=IF(CURRBARSCOUNT<=GLT+1,CONST(REF(L,GLT)),DRAWNULL);
K5:STICKLINE(高量底,高量底,高量底,8,0),COLORGREEN;
K6:STICKLINE(高量顶,高量顶,高量顶,8,0),COLORRED;
字安:DRAWTEXT(ISLASTBAR,高量顶,STRCAT(' ','安全线')),COLORRED,LINETHICK5;
字保:DRAWTEXT(ISLASTBAR,高量底,STRCAT(' ','风险线')),COLORWHITE,LINETHICK5;
涨跌:=REF(C,1);
涨停1:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(涨停1,OPEN,CLOSE,0.5,0),COLORYELLOW;
跌停1:=IF((涨跌-C)*100/涨跌>=(10-0.01*100/涨跌),1,0);
STICKLINE(跌停1,OPEN,CLOSE,2,0),COLORWHITE;
STICKLINE(跌停1,H,L,0,1),COLORGREEN;
副图1绿红黄柱
1.此指标用来判断是否为强势股。
2.用法:出现绿柱可关注,出现绿红柱加强关注,出现绿红黄柱重点关注,再根据量能和题材以及位置低吸,
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),5);
见牛启动副图:STICKLINE(VAR5>REF(VAR5,1),0,VAR5/100,7,0 ),COLORRED;
见牛启动副 :STICKLINE(VAR5>REF(VAR5,1) AND C>O,0,VAR5/100,7,0 ),COLORYELLOW;
A1:=EMA((L+H)/2,7)-EMA((L+H)/2,21);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
B1,COLORSTICK;
X1:=V/SUM(V,13);
X2:=DMA(C,X1);
X3:=(C-X2)/X2*40;
L2:=MA(AMOUNT/(100*V),13);
见牛:IF(A1>=B1,A1,B1),LINETHICK2,COLORRED;
启动:IF(B1-A1,B1,A1),COLORGREEN,LINETHICK2;
A:0.45,DOTLINE,COLORRED;
B:1.00,DOTLINE,COLORGREEN;
D:0.2,DOTLINE,COLORGREEN;
V1:STICKLINE(见牛>=A ,A-1,0,3,0),COLORRED;
V2:STICKLINE(见牛>=B,0,0.5,3,0),COLORYELLOW;
V3:STICKLINE(启动>=D,-1,-0.5,3,0),COLORGREEN;
见牛启动MACD副图2
DIFF: EMA(CLOSE,12) - EMA(CLOSE,26);
DEA: EMA(DIFF,9);
MACD: 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD>0,MACD,0,2,1),COLOR0000DC;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,2,1),COLOR00B400;
STICKLINE(MACD<=0,MACD,0,2,1),COLORGRAY;
STICKLINE(MACD<=0 AND MACD>REF(MACD,1),MACD,0,2,1),COLORC800C8;
XX0:=BARSLAST((CROSS(MACD,REF(MACD,1)) AND MACD>0) OR CROSS(MACD,0));
XX1:=BARSLAST(CROSS(0.5,COUNT(MACD>REF(MACD,1),XX0+1)=XX0+1));{回}
XX2:=COUNT(MACD<REF(MACD,1),XX1+1)=XX1+1 AND COUNT(MACD<0,XX1+1)<=2;
XX3:=REF(XX2,1) AND MACD>REF(MACD,1) AND C>O AND C>REF(C,1);
STICKLINE(XX1=0 AND MACD>0,MACD,0,2,0),COLORDCDC00;
STICKLINE(XX3,MACD,0,2,0),COLOR0854FF;
ER:=VOL/CAPITAL*100;
ZD:=C/REF(C,1)*100-100;
AA0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIFF>=2));
AA1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),AA0+1)=AA0+1);
AA2:=REF(HHV(ER,AA0+1),1)>=3 AND REF(HHV(ZD,AA0+3),1)>=5;
BB0:=BARSLAST(AA1 AND AA2);
BB1:=COUNT(MACD<REF(MACD,1),BB0+1)=BB0+1;
BB2:=COUNT(MACD<0,BB0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR BB0>=1);
BB3:=BB1 AND BB2;
BB4:=REF(BB3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0;
DRAWBAND(DIFF,RGB(200,50,55),DEA,RGB(50,100,10));
TRIX:=(DIFF-REF(DIFF,1))/REF(DIFF,1)*100;
J1:=0.7*(26-12)/2*EMA((C-REF(C,1)),12);
J2:EMA(EMA(J1,3),3);
J3:EMA(J1,3);
DRAWBAND(J3,RGB(155,50,50),J2,RGB(0,100,50));
JC:CROSS(DIFF,DEA) ,NODRAW;
DRAWICON(JC,DIFF*0.9,1);
见牛前高副图3
RA:=MAX(O,C);
RB:=MIN(O,C);
RC:=REF(HHV(H,2),1);
RD:=REF(LLV(L,2),1);
T1:=IF(RA>RC,1,IF(RB<RD,-1,0));
T2:=BARSLAST(T1=0);
TH:=REF(REF(H,BARSLAST(T1=1)),T2);
TL:=REF(REF(L,BARSLAST(T1=-1)),T2);
TA:=IF(T1=1,IF(RA>TH,1,0),IF(T1=-1,IF(RB<TL,-1,0),0));
T3:=BARSLAST(TA=-1);
T4:=BARSLAST(TA=1);
RE:=REF(COUNT(CROSS(TA,-0.5),T4),T3);
RF:=COUNT(CROSS(TA,0.5),T3);
TB:=IF(TA=1,IF(RF=1,IF(RE>0,1,0),0),0);
NOTEXT1:=VALUEWHEN(TB,REF(REF(H,T4),T3)),COLORGREEN,LINETHICK2;{水平线};
乖离:=100*ABS(C-NOTEXT1)/NOTEXT1<10;
DIF:=EMA(CLOSE,18)-EMA(CLOSE,40);
DEA:=EMA(DIF,3);
MACD:=(DIF-DEA)*2;
MD:=MACD#DAY;
MW:=MACD#WEEK;
MM:=MACD#MONTH;
MS:=MACD#SEASON;
NOTEXTMACD1:EMA((MD+MW*7+MM*31+MS*94)/133,5) LINETHICK2 COLORYELLOW NODRAW;
STICKLINE(NOTEXTMACD1>0,NOTEXTMACD1,0,3,1),COLORRED;
STICKLINE(NOTEXTMACD1<0,NOTEXTMACD1,0,3,1),COLORCYAN;
NOTEXTMACD120:REF(NOTEXTMACD1/2,BARSLAST(NOTEXTMACD1=HHV(NOTEXTMACD1,120))),COLORRED,LINETHICK1;
NOTEXTMACD250:REF(NOTEXTMACD1/2,BARSLAST(NOTEXTMACD1=HHV(NOTEXTMACD1,250))),COLORWHITE,LINETHICK1;
XG:=NOT(REF(NOTEXTMACD120,1)=NOTEXTMACD120);
STICKLINE(XG,0,NOTEXTMACD1,2,0),COLORYELLOW;{画金柱 120}
STICKLINE(NOTEXTMACD1>=NOTEXTMACD250,NOTEXTMACD250,NOTEXTMACD1,2,0),COLORMAGENTA; {画粉柱 250}
大行情:=NOT(REF(NOTEXTMACD120,1)=REF(NOTEXTMACD250,1)) AND NOTEXTMACD120=NOTEXTMACD250 AND C>NOTEXT1 AND 乖离;
NOTEXT前高:IF(HHVBARS(MACD ,90) ,REF(MACD ,HHVBARS(MACD,90) ),MACD )COLORYELLOW,LINETHICK2;
NOTEXT3:IF(NOTEXT前高>REF(NOTEXT前高,1),NOTEXT前高,DRAWNULL),COLORMAGENTA,LINETHICK4;
NOTEXT4:IF(NOTEXT前高<REF(NOTEXT前高,1),NOTEXT前高,DRAWNULL),COLORGREEN,LINETHICK4;
DRAWTEXT(大行情 AND NOTEXT前高>NOTEXTMACD250,-0.01,'↖大牛启动'),COLORYELLOW;
见牛行大运副图4
1使用比较简单,分别有黄色、红色、绿色、白色等颜色柱状图信号提示。
2、当指标出现黄色和红色柱状图信号提示,此时就是买点到来。一般来说红色柱状图相对于黄色柱状图而言,信号更少,但是信号强度更强。
3、当指标出现绿色和白色柱状图信号提示时,此时就是卖点到来,当出现白色柱状图信号时,其卖点信号强度要远远强于绿色柱状图。
4、绿色柱状图一般而言只是相对需要减仓操作,并不需要立即清仓,而出现白的柱状图时,则需要及时卖出。
N:=15;
DMH:=SUM(IF(H>REF(H,1),H-REF(H,1),0),N);
DML:=SUM(IF(L>REF(L,1),0,REF(L,1)-L),N);
量:DMH/(DMH+DML);
0.80,DOTLINE;
0.5,DOTLINE;
0.15,DOTLINE;
XG:=量<0.1;
STICKLINE(量>0.88,1,0.9,1,0),COLORWHITE;
ST:=CROSS(0.8,量);
STICKLINE(ST,1,0.8,1,0),COLOR00FF00;
DRAWTEXT(ST,0.76,'减'),COLORYELLOW;
STICKLINE(量<0.1,0.3,0.00,1,0),COLORYELLOW;
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100;
SS1:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5);
SM01:=MA((2*C+H+L)/4,5);
SM02:=SM01*(200-102)/100;
SM03:=(1-7/100)*DMA(C,ABS((2*C+H+L)/4-MA(C,20))/MA(C,20));
SM04:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
SM05:=3*SMA(SM04,3,1)-2*SMA(SMA(SM04,3,1),3,1);
SM06:=((H+L+C)/3-MA((H+L+C)/3,14))/(0.015*AVEDEV((H+L+C)/3,14));
SM07:=SM02<SM03&&SM05>REF(SM05,1)&&REF(SM05,1)<REF(SM05,2)&&SM06<-100
&&SM06>REF(SM06,1);
AA1:=STICKLINE(SM07,0,0.5,2,0),COLORYELLOW;
买点:=SM07,COLORRED,LINETHICK3;
选股:SS1 AND 买点,,STICK,COLORRED,LINETHICK4;