指标由六项经典指标组成,MACD,KDJ,RSI,LW&R,BBJ及ZLMM.红箭金叉趋势向上,绿箭死叉预示趋势向下.当六项指标中三个以上同时发出红箭头标记时买入待涨机会大也就是投资回报大于投资付出,反之亦然.趋势一目了然.欢迎讨论
{www.gszx.com.cnDRAWGBK(1,COLORRGB(0,0,30),COLORRGB(0,0,100),1);} N1:=3;N2:=9;N3:=12;N4:=26; DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4); DEA:=EMA(DIFF,N2); DRAWICON(DIFF>DEA,1,4); DRAWICON(DIFF<DEA,1,5); DRAWTEXTEX(1,1,980,950,'MACD'),colorFFFFFF; A1:=DIFF>DEA; RSV:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100; K:=SMA(RSV,N1,1); D:=SMA(K,N1,1); DRAWICON(K>D,2,4); DRAWICON(K<D,2,5); DRAWTEXTEX(1,1,980,770,'KDJ'),colorFFFFFF; A2:=K>D; LC:=REF(CLOSE,1); RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100; DRAWICON(RSI1>RSI2,3,4); DRAWICON(RSI1<RSI2,3,5); DRAWTEXTEX(1,1,980,560,'RSI'),colorFFFFFF; A3:=RSI1>RSI2; RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100; LWR1:=SMA(RSV,N1,1); LWR2:=SMA(LWR1,N1,1); DRAWICON(LWR1>LWR2,4,4); DRAWICON(LWR1<LWR2,4,5); DRAWTEXTEX(1,1,980,370,'LW&R'),colorFFFFFF; A4:=LWR1>LWR2; BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4; DRAWICON(CLOSE>BBI,5,4); DRAWICON(CLOSE<BBI,5,5); DRAWTEXTEX(1,1,980,170,'BBI'),colorFFFFFF; A5:=CLOSE>BBI; MTM:=CLOSE-REF(CLOSE,1); MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1); MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3); DRAWICON(MMS>MMM,6,4); DRAWICON(MMS<MMM,6,5); DRAWTEXTEX(1,1,980,-15,'ZLMM'),colorFFFFFF; A6:=MMS>MMM; VERTLINE(A1 AND A2 AND A3 AND A4 AND A5 AND A6),colorFFFF; 涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1 AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,colorFFFF,LINETHICK2; DRAWICON(DIFF>DEA,1,4); DRAWICON(DIFF<DEA,1,5); DRAWICON(K>D,2,4); DRAWICON(K<D,2,5); DRAWICON(RSI1>RSI2,3,4); DRAWICON(RSI1<RSI2,3,5); DRAWICON(LWR1>LWR2,4,4); DRAWICON(LWR1<LWR2,4,5); DRAWICON(CLOSE>BBI,5,4); DRAWICON(CLOSE<BBI,5,5); DRAWICON(MMS>MMM,6,4); DRAWICON(MMS<MMM,6,5);
大智慧用 input:N1(3,1,100),N2(5,1,100),N3(9,1,100),N4(13,1,100),N5(21,1,100),N6(34,1,100); DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4); DEA:=EMA(DIFF,N2); DRAWICON(DIFF>DEA,1,7),ALIGN1; DRAWICON(DIFF<DEA,1,8),ALIGN1; DRAWTEXT(BARSTATUS=2,1,' MACD'),COLORFFFFFF; {www.gszx.com.cnDRAWTEXT(CROSS(DIFF,REF(DIFF,1)),0.5,'MACD'),COLORFFFFFF;} A1:=DIFF>REF(DIFF,1); RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100; K:=SMA(RSV1,N1,1); D:=SMA(K,N1,1); DRAWICON(K>REF(K,1),2,7),ALIGN1; DRAWICON(K<REF(K,1),2,8),ALIGN1; DRAWTEXT(BARSTATUS=2,2,' KD'),COLORFFFFFF;
A2:=K>REF(K,1); LC:=REF(CLOSE,1); RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100; DRAWICON(RSI1>RSI2,3,7),ALIGN1; DRAWICON(RSI1<RSI2,3,8),ALIGN1; DRAWTEXT(BARSTATUS=2,3,' RSI'),COLORFFFFFF;
A3:=RSI1>RSI2; RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100; LWR1:=SMA(RSV,N1,1); LWR2:=SMA(LWR1,N1,1); DRAWICON(LWR1>REF(LWR1,1),4,7),ALIGN1; DRAWICON(LWR1<REF(LWR1,1),4,8),ALIGN1; DRAWTEXT(BARSTATUS=2,4,' LWR'),COLORFFFFFF;
A4:=LWR1>REF(LWR1,1); BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4; DRAWICON(CLOSE>BBI,5,7),ALIGN1; DRAWICON(CLOSE<BBI,5,8),ALIGN1; DRAWTEXT(BARSTATUS=2,5,' BBI'),COLORFFFFFF;
A5:=CLOSE>BBI; MTM:=CLOSE-REF(CLOSE,1); MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1); MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3); DRAWICON(MMS>MMM,6,7),ALIGN1; DRAWICON(MMS<MMM,6,8),ALIGN1; DRAWTEXT(BARSTATUS=2,6,' ZLMM'),COLORFFFFFF;
通达信用 {www.gszx.com.cn参数:M1(1,360,3) M2(1,360,5) M3(1,360,8) M4(1,360,13) M5(1,360,21) M6(1,360,34)}
DIFF:=EMA(CLOSE,M3)-EMA(CLOSE,M4); DEA:=EMA(DIFF,M2); DRAWICON(DIFF>DEA,1,1); DRAWICON(DIFF<DEA,1,2); DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF; A1:=DIFF>DEA; RSV1:=(CLOSE-LLV(LOW,M3))/(HHV(HIGH,M3)-LLV(LOW,M3))*100; K:=SMA(RSV1,M1,1); D:=SMA(K,M1,1); DRAWICON(K>D,2,1); DRAWICON(K<D,2,2); DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF; A2:=K>D; LC:=REF(CLOSE,1); RSI1:=(SMA(MAX(CLOSE-LC,0),M2,1))/(SMA(ABS(CLOSE-LC),M2,1))*100; RSI2:=(SMA(MAX(CLOSE-LC,0),M4,1))/(SMA(ABS(CLOSE-LC),M4,1))*100; DRAWICON(RSI1>RSI2,3,1); DRAWICON(RSI1<RSI2,3,2); DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF; A3:=RSI1>RSI2; RSV:=-(HHV(HIGH,M4)-CLOSE)/(HHV(HIGH,M4)-LLV(LOW,M4))*100; LWR1:=SMA(RSV,M1,1); LWR2:=SMA(LWR1,M1,1); DRAWICON(LWR1>LWR2,4,1); DRAWICON(LWR1<LWR2,4,2); DRAWTEXT(ISLASTBAR=1,4,'.LW&R'),COLORFFFFFF; A4:=LWR1>LWR2; BBI:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4; DRAWICON(CLOSE>BBI,5,1); DRAWICON(CLOSE<BBI,5,2); DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF; A5:=CLOSE>BBI; MTM:=CLOSE-REF(CLOSE,1); MMS:=100*EMA(EMA(MTM,M2),M1)/EMA(EMA(ABS(MTM),M2),M1); MMM:=100*EMA(EMA(MTM,M4),M3)/EMA(EMA(ABS(MTM),M4),M3); DRAWICON(MMS>MMM,6,1); DRAWICON(MMS<MMM,6,2); DRAWTEXT(ISLASTBAR=1,6,'.ZLMM'),COLORFFFFFF; A6:=MMS>MMM; (A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORFFFF00; 涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1 AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,COLORFFFF00; DRAWICON(DIFF>DEA,1,1); DRAWICON(DIFF<DEA,1,2); DRAWICON(K>D,2,1); DRAWICON(K<D,2,2); DRAWICON(RSI1>RSI2,3,1); DRAWICON(RSI1<RSI2,3,2); DRAWICON(LWR1>LWR2,4,1); DRAWICON(LWR1<LWR2,4,2); DRAWICON(CLOSE>BBI,5,1); DRAWICON(CLOSE<BBI,5,2); DRAWICON(MMS>MMM,6,1); DRAWICON(MMS<MMM,6,2); 7,COLORWHITE;{www.gszx.com.cn防止显示字符不全,可不用};
移动端首页 | PC端
© by gszx.com.cn Mobile Web
指标由六项经典指标组成,MACD,KDJ,RSI,LW&R,BBJ及ZLMM.红箭金叉趋势向上,绿箭死叉预示趋势向下.当六项指标中三个以上同时发出红箭头标记时买入待涨机会大也就是投资回报大于投资付出,反之亦然.趋势一目了然.欢迎讨论
{www.gszx.com.cnDRAWGBK(1,COLORRGB(0,0,30),COLORRGB(0,0,100),1);}
N1:=3;N2:=9;N3:=12;N4:=26;
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
DRAWICON(DIFF>DEA,1,4);
DRAWICON(DIFF<DEA,1,5);
DRAWTEXTEX(1,1,980,950,'MACD'),colorFFFFFF;
A1:=DIFF>DEA;
RSV:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV,N1,1);
D:=SMA(K,N1,1);
DRAWICON(K>D,2,4);
DRAWICON(K<D,2,5);
DRAWTEXTEX(1,1,980,770,'KDJ'),colorFFFFFF;
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
DRAWICON(RSI1>RSI2,3,4);
DRAWICON(RSI1<RSI2,3,5);
DRAWTEXTEX(1,1,980,560,'RSI'),colorFFFFFF;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
DRAWICON(LWR1>LWR2,4,4);
DRAWICON(LWR1<LWR2,4,5);
DRAWTEXTEX(1,1,980,370,'LW&R'),colorFFFFFF;
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
DRAWICON(CLOSE>BBI,5,4);
DRAWICON(CLOSE<BBI,5,5);
DRAWTEXTEX(1,1,980,170,'BBI'),colorFFFFFF;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
DRAWICON(MMS>MMM,6,4);
DRAWICON(MMS<MMM,6,5);
DRAWTEXTEX(1,1,980,-15,'ZLMM'),colorFFFFFF;
A6:=MMS>MMM;
VERTLINE(A1 AND A2 AND A3 AND A4 AND A5 AND A6),colorFFFF;
涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1 AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,colorFFFF,LINETHICK2;
DRAWICON(DIFF>DEA,1,4);
DRAWICON(DIFF<DEA,1,5);
DRAWICON(K>D,2,4);
DRAWICON(K<D,2,5);
DRAWICON(RSI1>RSI2,3,4);
DRAWICON(RSI1<RSI2,3,5);
DRAWICON(LWR1>LWR2,4,4);
DRAWICON(LWR1<LWR2,4,5);
DRAWICON(CLOSE>BBI,5,4);
DRAWICON(CLOSE<BBI,5,5);
DRAWICON(MMS>MMM,6,4);
DRAWICON(MMS<MMM,6,5);
大智慧用
input:N1(3,1,100),N2(5,1,100),N3(9,1,100),N4(13,1,100),N5(21,1,100),N6(34,1,100);
DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
DEA:=EMA(DIFF,N2);
DRAWICON(DIFF>DEA,1,7),ALIGN1;
DRAWICON(DIFF<DEA,1,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,1,' MACD'),COLORFFFFFF;
{www.gszx.com.cnDRAWTEXT(CROSS(DIFF,REF(DIFF,1)),0.5,'MACD'),COLORFFFFFF;}
A1:=DIFF>REF(DIFF,1);
RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
K:=SMA(RSV1,N1,1);
D:=SMA(K,N1,1);
DRAWICON(K>REF(K,1),2,7),ALIGN1;
DRAWICON(K<REF(K,1),2,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,2,' KD'),COLORFFFFFF;
A2:=K>REF(K,1);
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
DRAWICON(RSI1>RSI2,3,7),ALIGN1;
DRAWICON(RSI1<RSI2,3,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,3,' RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
LWR1:=SMA(RSV,N1,1);
LWR2:=SMA(LWR1,N1,1);
DRAWICON(LWR1>REF(LWR1,1),4,7),ALIGN1;
DRAWICON(LWR1<REF(LWR1,1),4,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,4,' LWR'),COLORFFFFFF;
A4:=LWR1>REF(LWR1,1);
BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
DRAWICON(CLOSE>BBI,5,7),ALIGN1;
DRAWICON(CLOSE<BBI,5,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,5,' BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
DRAWICON(MMS>MMM,6,7),ALIGN1;
DRAWICON(MMS<MMM,6,8),ALIGN1;
DRAWTEXT(BARSTATUS=2,6,' ZLMM'),COLORFFFFFF;
通达信用
{www.gszx.com.cn参数:M1(1,360,3) M2(1,360,5) M3(1,360,8) M4(1,360,13)
M5(1,360,21) M6(1,360,34)}
DIFF:=EMA(CLOSE,M3)-EMA(CLOSE,M4);
DEA:=EMA(DIFF,M2);
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,M3))/(HHV(HIGH,M3)-LLV(LOW,M3))*100;
K:=SMA(RSV1,M1,1);
D:=SMA(K,M1,1);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
A2:=K>D;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),M2,1))/(SMA(ABS(CLOSE-LC),M2,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),M4,1))/(SMA(ABS(CLOSE-LC),M4,1))*100;
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
A3:=RSI1>RSI2;
RSV:=-(HHV(HIGH,M4)-CLOSE)/(HHV(HIGH,M4)-LLV(LOW,M4))*100;
LWR1:=SMA(RSV,M1,1);
LWR2:=SMA(LWR1,M1,1);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWTEXT(ISLASTBAR=1,4,'.LW&R'),COLORFFFFFF;
A4:=LWR1>LWR2;
BBI:=(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
A5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,M2),M1)/EMA(EMA(ABS(MTM),M2),M1);
MMM:=100*EMA(EMA(MTM,M4),M3)/EMA(EMA(ABS(MTM),M4),M3);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
DRAWTEXT(ISLASTBAR=1,6,'.ZLMM'),COLORFFFFFF;
A6:=MMS>MMM;
(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORFFFF00;
涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1
AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,COLORFFFF00;
DRAWICON(DIFF>DEA,1,1);
DRAWICON(DIFF<DEA,1,2);
DRAWICON(K>D,2,1);
DRAWICON(K<D,2,2);
DRAWICON(RSI1>RSI2,3,1);
DRAWICON(RSI1<RSI2,3,2);
DRAWICON(LWR1>LWR2,4,1);
DRAWICON(LWR1<LWR2,4,2);
DRAWICON(CLOSE>BBI,5,1);
DRAWICON(CLOSE<BBI,5,2);
DRAWICON(MMS>MMM,6,1);
DRAWICON(MMS<MMM,6,2);
7,COLORWHITE;{www.gszx.com.cn防止显示字符不全,可不用};