主图
以探寻各个压力支撑位置,提前在预先价格,埋伏主力。值得深度研究
日红不用说=MACD,加红飘带就是为了更直观。
周红这里没有引用 周MACD,而是曲线实现大周期的趋势,也就是规避了周线的一周更新一次,信号图形更顺滑。
傻瓜式买入 副图
第二天基本有冲高可能,想出就出,如果第二天下午收盘前收阴就必须出,确保资金安全不被深套。
主图
HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;
AAB:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AAB,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
DDD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(DDD,REF(H,DDD),H);
DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
DINGBU1:=REF(DINGBU,DDD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,DDD+1);
GDCS2:=CONST(DINGBUTS1);
DINGBU2:=REF(DINGBU1,DDD+1);
MMM:=IF(CURRBARSCOUNT>GDCS2,0,1);
高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORLIGREEN,DOTLINE;
压力A:DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,DOTLINE;
压力B:DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,DOTLINE;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
DD1:=BARSLAST(CC1);
DDTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(DD1,REF(L,DD1),L);
DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
DDCS1:=CONST(DDTS1);
ZDB:=REF(YDB,DD1+1);
DDTS2:=REF(DDTS1,DD1+1);
DDCS2:=CONST(DDTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,DOTLINE;
ZGSTAR:=(高点压力+低点支撑)/2;
ZGEND:=CONST((高点压力+低点支撑)/2);
STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);
中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),POINTDOT,COLORBLACK,LINETHICK1;
TTT:=6;
A1:=REF(HIGH,6)=HHV(HIGH,2*TTT+1); B1:=FILTER(A1,TTT); C1:=BACKSET(B1,TTT+1); D1:=FILTER(C1,TTT);
A2:=REF(LOW,TTT)=LLV(LOW,2*TTT+1); B2:=FILTER(A2,TTT); C2:=BACKSET(B2,TTT+1); D2:=FILTER(C2,TTT);
E1:=(REF(LLV(LOW,2*TTT),1)+REF(HHV(HIGH,2*TTT),1))/2; E2:=(HIGH+LOW)/2;
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);
L2:=LD OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);
UU:=BACKSET(BARSTATUS,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
UU2:=BACKSET(BARSTATUS,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
近低A:REF(L,BARSLAST(VV)),COLORMAGENTA,LINETHICK1,DOTLINE;
近低B:REF(L,BARSLAST(XX)),COLORMAGENTA,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=2,高点压力,STRCAT('压力延伸:',CON2STR(高点压力,2))),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=2,低点支撑,STRCAT('支撑延伸:',CON2STR(低点支撑,2))),COLORRED;
DRAWTEXT(CURRBARSCOUNT=2,中轨,STRCAT('中轨:',CON2STR(中轨,2))),COLORBLACK;
DRAWTEXT(CURRBARSCOUNT=2,压力A,STRCAT('压力A:',CON2STR(压力A,2))),COLORLIGRAY;
DRAWTEXT(CURRBARSCOUNT=2,压力B,STRCAT('压力B:',CON2STR(压力B,2))),COLORLIGRAY;
DRAWTEXT(CURRBARSCOUNT=2,近低A,STRCAT('←近低A:',CON2STR(近低A,2))),COLORMAGENTA ;
DRAWTEXT(CURRBARSCOUNT=2,近低B,STRCAT('←近低B:',CON2STR(近低B,2))),COLORMAGENTA;
NOTEXT4:=EMA(C,4),COLORWHITE;
NOTEXT8:=EMA(C,8),COLORYELLOW;
NOTEXT20:=EMA(C,12),COLOR8000FF,NODRAW;
NOTEXT47:=EMA(C,47),COLOR0080FF,LINETHICK2;
DRAWICON(CROSS(NOTEXT4,NOTEXT8),LOW,34);
DRAWICON(CROSS(NOTEXT8,NOTEXT4),HIGH,35);
DRAWICON(CROSS(NOTEXT4,NOTEXT47),LOW,9);
副图1
P1:=90;
当日换手:V/CAPITAL*100,NODRAW;
半年换手:SUM(当日换手,126),NODRAW;
FC:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0)),NODRAW;
相对换手:V/(CAPITAL*FC)*100,NODRAW;
获利盘:WINNER(C)*100,NODRAW;
观望者众:=相对换手<=6,NODRAW,COLORWHITE;
交投活跃:=相对换手>6 AND 相对换手<14,NODRAW,COLOR00F2F2;
成交异常:=相对换手>=14,NODRAW,COLORRED;
警戒线:=80;
STICKLINE(观望者众,0,相对换手,2,1),COLORWHITE;
STICKLINE(交投活跃,0,相对换手,2,1),COLOR00F2F2;
STICKLINE(成交异常,0,相对换手,2,1),COLORRED;
STICKLINE(相对换手>警戒线,相对换手,相对换手+2,2,0),COLORFFFF00;
套牢者众:=获利盘<=30,NODRAW,COLORWHITE;
输赢各半:=获利盘>30 AND 获利盘<85,NODRAW,COLOR00F2F2;
多数获利:=获利盘>=85,NODRAW,COLORRED;
STICKLINE(套牢者众,0,相对换手/2,2,0),COLORWHITE;
STICKLINE(输赢各半,0,相对换手/2,2,0),COLOR00F2F2;
STICKLINE(多数获利,0,相对换手/2,2,0),COLORRED;
副图2
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK1;
DEA:EMA(DIF,9),LINETHICK1;
MACD日:(DIF-DEA)*2, COLORSTICK;
DRAWBAND(DIF,RGB(255,0,0),DEA,RGB(135,200,0));
副图3
DIF55:(EMA(CLOSE,30)-EMA(CLOSE,90));
DEA55:(EMA(DIF55,26));
MACD周:(DIF55-DEA55)*2, COLORSTICK;
DRAWBAND(DEA55,RGB(135,200,0),DIF55,RGB(255,0,0));
副图4
QAX1:=MA(CLOSE,5);
QAX2:=MA(CLOSE,10);
QAX3:=LLV(LOW,9);
QAX4:=HHV(HIGH,9);
QAX5:=EMA((CLOSE-QAX3)/(QAX4-QAX3)*100,3);
QAX6:=EMA(QAX5,3);
QAX7:=MA(QAX6,3);
QAX8:=CROSS(QAX6,QAX7);
QAX9:=MACD>0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
QAX10:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);
QAX11:=QAX9 OR QAX10;
QAX12:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;
QAX13:=MA(3*SMA(QAX12,6,1)-2*SMA(SMA(QAX12,5,1),5,1),3),LINETHICK1,COLORF00FF0;
QAX14:=MA(QAX13,3),COLORFF0000,LINETHICK1;
QAX15:=3*QAX13-2*QAX14,LINETHICK1,COLORF00FF0;
QAX16:=CROSS(QAX15,QAX13);
QAX17:=VOL;
QAX18:=MA(QAX17,5);
QAX19:=MA(QAX17,10);
QAX20:=REF(QAX17,1)<QAX18 OR REF(QAX17,1)<QAX19;
乾坤傻瓜式买:QAX11 AND QAX16 AND QAX8 AND QAX2>QAX1 AND QAX2>REF(QAX2,1) AND QAX20;