源码

M:=42;N:=3;N1:=28;M1:=4;M2:=2;

TYP := (HIGH + LOW + CLOSE)/3;
短:(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M));
中:ma(短,7);
长:ma(短,30),;
D:if(CROSS(短,中) and CROSS(短,长),70,-100),Color0000FF;
zjg:if(ref(短,1)<100 and 短>100,-20,-100);

Z:100,pointdot,Linethick3,colorff00;
ZZ:-100,pointdot,Linethick3,,ColorFFFFFF;
PARTLINE(中>Z,中),,Color0000FF;
PARTLINE(长>Z,长),LINEDOT,Color00FFFF;
{PARTLINE(月>ref(月,1),月),ColorFF0000;}
PARTLINE(短>z,短);
PARTLINE(短>Z,Z),ColorFF0000;
PARTLINE(短<-Z,-Z),,Color0000FF;

{n:1,100,3}
Var1:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
Var2:=Var1+Var1*34/100;
Var3:=LOW;
Var4:=REF(LOW,1);
Var5:=SMA(ABS(Var3-Var4),3,1)/SMA(MAX(Var3-Var4,0),N,1)*100;
Var6:=MA(IF(CLOSE*1.68<="CYC@CYCMAX",Var5*10,Var5/10),N);
Var7:=LLV(LOW,30);
Var8:=HHV(Var6,30);
牛魔王:= MA(IF(LOW<=Var7,(Var6+Var8*2)/2,0),N);
{A:IF(牛魔王>10000,牛魔王,0), , COLORRED;}
魔道:if(牛魔王>0 and 短<-100,80,100);
DRAWICON(cross(短, 中) and 魔道,-80,9);
DRAWICON(cross(短, 中) and 魔道,-100,9);
DRAWICON(cross(短, 中) and 魔道,-85,9) , COLORRED;
DRAWICON(cross(短, 中) and 魔道,-75,9);
DRAWICON(cross(短, 中) and 魔道,-70,9) , COLORRED;
DRAWICON(cross(短, 中) and 魔道,-65,9);
和易:=REF(CLOSE,1);
郑:=SMA(MAX(CLOSE-和易,0),7,1)/SMA(ABS(CLOSE-和易),7,1)*100,color0066ff,LINETHICK2;
STICKLINE( CROSS(20,郑),-100,0,4,0),COLORCCFF66;
短线买入:STICKLINE( CROSS(郑,20),0,50,4,0),COLORGREEN,,LINETHICK2;

Var11:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
Var22:=SMA(Var11,M1,1);
Var33:=SMA(Var22,M2,1);
Var44:=VOL/CAPITAL*34;
Var55:=REF(Var4,1);
建仓: if(Var33<8.5 AND Var22<11,-50,-100);

VAR1:=REF(CLOSE,2);
短线反弹:((SMA(MAX((CLOSE – VAR1),0),7,1) / SMA(ABS((CLOSE – VAR1)),7,1)) * 100),LINETHICK0,colorFFFF;
仅供参考:IF((短线反弹 < 12),60,0),LINETHICK1,colorFF;


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