源码
N:=4;50, POINTDOT;
Var1:="DMI.PDI";
Var2:="DMI.MDI";
Var3:=Var1>65 AND Var1>REF(Var1, 1);
Var4:=IF(DATE>=1020601, 0, 1);
Var5:=LLV(Var1, 0);
Var6:=BARSLAST(Var1=Var5);
Var7:=(-REF(Var2, 4))/(Var5-REF(Var2, Var6))>2;
Var8:=Var1>REF(Var1, 1);
Var9:=VOL>2*MA(VOL, 30);
T4:"DMI.ADX";
T5:"DMI.ADXR";
Var10:=CLOSE>MA(CLOSE, 30) AND CLOSE<MA(CLOSE, 30)*(1+N/100);
Var11:=MA(CLOSE, 30)>REF(MA(CLOSE, 30), 1);
Var12:=BARSLAST(CROSS(MA(CLOSE, 5), MA(CLOSE, 10)))<BARSLAST(CROSS(MA(CLOSE, 10), MA(CLOSE, 5)));
Var13:=-"MACD.DIFF"(12,26,27);
Var14:=TROUGHBARS(3, 15, 1)<N;
Var15:=EMA(CLOSE, 30)>REF(EMA(CLOSE, 30), 2);
Var16:=IF(Var14=1, 50, 0);
Var17:=CROSS(Var2, Var1) AND CROSS(T5, T4);
Var18:=CROSS(Var2, Var1) AND CROSS(T4, T5);
Var19:=(Var10 AND Var11 AND Var12 AND Var15 AND Var7 AND Var8 AND Var9)*50;
DRAWTEXT(DATE=1020527, 35, 'www.guhai.com.cn '), COLOR33FF00;
Var20:=BARSLAST(CROSS(Var2, Var1)=1);
Var21:=BARSLAST(CROSS(Var1, Var2)=1);
Var22:=HHV(Var1, Var21);
Var23:=BARSLAST(Var1=Var22);
STICKLINE(Var16=50, 100*Var4, 50*Var4, 10, 0), COLORRED;
Var24:=(Var3 OR Var17 OR Var18)*100;
Var25:=Var18*100;