如题。
请观察MA(C,160)日线;MA(C,32)周线;MA(C,8)月线,破了没有?
来不及发图。发指标吧。以前发过,有些修改(TDX版)。
{主图:一路发市 ; YLFS ; 始创及版权属于JIPGEMLING.见凌见};
{参数设置:N(-3,3,0) ; N--微调牛熊线带周期};
{1、构造牛熊带、力气带};N:=0;
N1:=8+N;N2:=32+4*N;N3:=160+20*N;N4:=N3/10;N5:=320;N6:=640;
E5:=EMA(CLOSE,4);
A5:=MA(CLOSE,4);
E8:=EMA(CLOSE,N1);A8:=MA(CLOSE,N1);
E16:=EMA(CLOSE,N4);A16:=MA(CLOSE,N4);
E32:=EMA(CLOSE,N2);A32:=MA(CLOSE,N2);
E64:=EMA(CLOSE,N6);A64:=MA(CLOSE,N6);
E80:=EMA(CLOSE,N5);A80:=MA(CLOSE,N5);
E160:=EMA(CLOSE,N3);A160:=MA(CLOSE,N3);
ZQ:=PERIOD;
MX:=IF(ZQ=4,A64,IF(ZQ=10,A5,IF(ZQ=7,A8,IF(ZQ=6,A32,IF(ZQ=8,A80,IF(ZQ=9,A32,A160))))));
EX:=IF(ZQ=4,E64,IF(ZQ=10,E5,IF(ZQ=7,E8,IF(ZQ=6,E32,IF(ZQ=8,E80,IF(ZQ=9,E32,E160))))));
EX1:=(EX+EX+MX)/3;MX1:=(MX+MX+EX)/3;
NX带_5_8_32_160:DRAWBAND(MX1,RGB(16,233,68),EX1,RGB(233,18,38));
JDS:=BARSLAST(CROSS(EX,MX)+CROSS(MX,EX)),NODRAW;
{力:EMA(EX-REF(EX,1),3),COLOR3213D8,NODRAW;
气:SUM(EX-MX,JDS+1),COLOR13E733,NODRAW;}
FJTJ:=(ZQ>4)AND (ZQ!=8)AND (ZQ!=9)AND (ZQ!=11);
N红柿子:=DRAWICON(CROSS(CLOSE,MX)*FJTJ,LOW*0.998,17);
X绿柿子:=DRAWICON(CROSS(MX,CLOSE)*FJTJ,LOW*0.998,16);
KX:DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
变盘预备跑步:DRAWICON(JDS=0,EX,15),COLORGREEN;
{2、JIPGEMLING.见凌见均线};
M5:A5,COLORDDDDDD;
M8:A8,COLOR13EEEE;
M13:MA(CLOSE,13),COLOREE33EE;
M20:MA(CLOSE,20),COLOR13EE13;
M32:A32,COLOR999999;
M55:MA(CLOSE,55),COLOR138899,LINETHICK2;
M93:MA(CLOSE,93),COLOREEEEEE;
M160:A160,COLOR33DEEF;
M254:MA(CLOSE,254),COLOREE33EE;
M403:=IF(ZQ<5,DRAWNULL,MA(CLOSE,403)),COLOR33EE33;
NXJX:=MX,COLORLIMAGENTA,LINETHICK1;
NXQ:=IF(ZQ=4,482,IF(ZQ=5,120,IF(ZQ=6,24,IF(ZQ=7,6,
IF(ZQ=8,241,IF(ZQ=9,24,IF(ZQ=10,2,0))))))){多日=5;多分钟=120};
HH:=HHV(EMA(H,1),NXQ);
LL:=LLV(EMA(L,1),NXQ);
YKH:=IF(CAPITAL,0.7*HH,0.80*HH);
YKL:=IF(CAPITAL,1.3*LL,1.20*LL);
PH:=IF(ZQ=5,2,IF(ZQ=6,1,IF(ZQ=7,2,2)));
PB:=ZQ>3 AND ZQ!=11;
力:EMA(EX-REF(EX,1),3),COLORLIRED,NODRAW;
气:SUM(EX-MX,JDS+1),COLORLIGREEN,NODRAW;
NXGNX:EMA(IF(PB,(YKH+YKL)/2,DRAWNULL),PH),COLORRED,LINETHICK2;
{END};