喜欢拿去,感谢原创老师
 飞狐;
input:m(3);
 VAR1N:=1990131;
 U1:=IF((DATE <= VAR1N),1,0); MAX((HIGH – LOW),ABS((HIGH – REF(CLOSE,1)))),ABS((LOW – REF(CLOSE,1)))),5);
 HD:=(HIGH – REF(HIGH,1));
 LD:=(REF(LOW,1) – LOW);
 DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) * U1);
 DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);
神偷线1:=(((DMP * U1) * 100) / TR1);
辅助线:=((DMM * 100) / TR1);
动向趋势线:=(MA(((ABS((辅助线 – 神偷线1)) / (辅助线 + 神偷线1)) * 100),M) * U1);ADXR:=((动向趋势线 + REF(动向趋势线,M)) / 2);
 VAR1:=MA(LOW,1);
 VAR2:=MA(HIGH,2);
 VAR3:=MA(CLOSE,2);
 VAR7:=REF(VAR3,1);
【强弱】:=((SMA(MAX((VAR3 – VAR7),0),5,1) / SMA(ABS((VAR3 – VAR7)),5,1)) * 100);

短底:5,LINETHICK2,COLORFF3300;
短顶:43,COLORGREEN;
绝顶:60,LINETHICK2,COLORFF00FF;
 STICKLINE(神偷线1<=短底,神偷线1,短底,8,0),COLOR997700;
 STICKLINE(神偷线1>=短顶,神偷线1,短顶,8,0),COLOR779900;
 STICKLINE(神偷线1>=绝顶,神偷线1,绝顶,8,0),COLOR0033FF;
神偷线:神偷线1,COLOR00FFFF;
预警:(IF(((动向趋势线 > 88) AND (神偷线1 < 5.8)),20,0) * U1),LINETHICK1,COLORFF00FF;Var2:=(2*CLOSE+HIGH+LOW)/4;
 Var3:=IF(YEAR>=2099 AND MONTH>2,0,1);
 Var4:=LLV(LOW,5);
 Var5:=HHV(HIGH,4);
散户: EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3;
庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*Var3;
 DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,20,’短快进’),COLOR00FF00;
 DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,50,’短快出’),COLOR00FFFF;
 DRAWTEXT(CROSS(散户,庄家) AND 散户<30,0,’逢低吸’),COLOR3399CC;
 DRAWTEXT(CROSS(庄家,散户) AND 散户>70,75,’逢高减’),COLORFFFF33;
 DRAWICON(CROSS(散户,庄家) AND 散户<30,20,1);
 DRAWICON(CROSS(庄家,散户) AND 散户>70,80,2);
 Var9:=CLOSE-REF(CLOSE,5);
 VarA:=EMA(EMA(Var9,5),5)/EMA(EMA(ABS(Var9),5),5)*100;
 VarC:=EMA(EMA(Var9,20),20)/EMA(EMA(ABS(Var9),20),20)*100;
卖出: IF(VarA>0 AND CROSS(VarC,VarA),70,80);
 DRAWTEXT(VarA>0 AND CROSS(VarC,VarA),70,’中线逃吧!’),COLOR0033FF;
 DRAWICON(卖出<0,80,2);
 


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。