逆进而行
发表于 2017-5-3 07:38
大家早上好
逆进而行
发表于 2017-5-3 08:04
已经补全,见下面:
MA6:MA(C,6),COLOR0000FF;
MA18:MA(C,18),COLOR0096FF;
MA30:MA(C,30),COLOR00FF99;
MA60:MA(C,60),COLORFF00FF;
MA120:MA(C,120),COLORWHITE;
{MA250:MA(C,250),COLORCYAN;}
D1:=((MEMA(CLOSE,3) - MEMA(CLOSE,6)) * 5);
S:=MA(C,9);
Z:=((EMA(D1,7) + EMA(CLOSE,5))-S)*100;
P:=EMA(Z,2);
D2:=IF(Z>P,1,0);
STICKLINE(D2=0,OPEN,CLOSE,0.8,0),COLORBLUE;
STICKLINE(D2=1,OPEN,CLOSE,0.8,0),COLORWHITE;
A:=C-MA6;
A1:=CROSS(A,0);
A2:=CROSS(0,A);
A3:=0.68*MA(FORCAST(CLOSE,2),40);
A4:=IF(C<A3 OR L<A3,1,0);
A5:=CLOSE-OPEN;
A6:=OPEN-CLOSE;
A7:=IF(CLOSE>OPEN,A5,A6);
A8:=IF(OPEN<CLOSE,OPEN,CLOSE);
DRAWICON(A1 AND REF(A1,1)=0 ,L*0.98,7);
DRAWICON(A2 AND REF(A2,1)=0 ,H*1.02,8);
LC:=REF(C,1);
LD:=IF(C<LC*0.89,1,0);
LE:=COUNT(LD=1,20);
LF:=COUNT(LD=1,6);
LG:=MA6/4.5;
RSI1:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100,NODRAW,COLORYELLOW;
EE:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, ;
AA:=((REF(EE,1)<REF(EE,2) AND EE<-30) AND EE>=REF(EE,1)) OR (REF(CROSS(-30,EE),1) AND CROSS(EE,-30)) OR EE=-30;
MJ0:=IF(AA AND LE<1,1,0);
VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR2:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR3:=(CLOSE-VAR1)/VAR1*100<-10;
VAR4:=(VAR1-VAR2)/VAR2*100<-16;
VAR5:=VAR3 AND VAR4;
VAR6:=VAR5 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0;
DRAWTEXT(MJ0=1 AND MACD>REF(MACD,1),L*0.95,'极品底'),COLORMAGENTA;
DRAWTEXT(A<-LG AND LF=0,L*0.96,'下跌过急'),COLORYELLOW;
STICKLINE(A4=1,A8,A8+A7/2,2.8,0),COLORMAGENTA;
DRAWICON(VAR6,L*0.96,11);
PT:=REF(H,1)-REF(L,1);
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
AH:=CDP+PT;
AL:=CDP-PT;
NH:=CDP*2-REF(L,1);
NL:=CDP*2-REF(H,1);
强:=IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
阻力位:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;
M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL);
支撑位:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW,COLORLIRED;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,NODRAW,COLORYELLOW;
DRAWICON(CROSS(J,0) AND RSI<33,L*0.995,1);
DRAWICON(CROSS(102,J),H*1.005,2);
DRAWTEXT(CROSS(J,5)AND RSI<40,L*0.98,'短买');
DRAWICON(CROSS(90,RSI),H+0.2,2);
忍耐淡定
发表于 2018-10-6 14:00
大吉利 发表于 2010-11-17 21:03
清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;
出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;
高 ...
老师:这是个什么指标?可否把隐藏的部分分享给我,研究学习一下?
忍耐淡定
发表于 2018-10-6 14:02
大吉利 发表于 2010-11-17 21:03
清仓:=1.66*MA(FORCAST(CLOSE,2),40),COLORRED;
出货:=1.36*MA(FORCAST(CLOSE,2),40),COLOR08FFFF;
高 ...
老师:这是个什么指标?可否把隐藏的部分分享给我,研究学习一下?:handshake