源码
年:=2002;月:=5;日:=28;
Var1:=IF(YEAR=年, 1, 0);
Var2:=IF(MONTH=月, 1, 0);
Var3:=IF(DAY=日, 1, 0);
Var4:=Var1*Var2*Var3;
Var5:=EMA((CLOSE+LOW+HIGH)/3, 3);
Var6:=REF(CLOSE, 1);
Var7:=SUM(VOL, 2)/((HHV(HIGH, 2)-LLV(LOW, 2))*100);
Var8:=EMA(CLOSE, 26);
Var9:=Var8+2*STD(CLOSE, 26);
Var10:=ABS(EMA(CLOSE, 100)-EMA(CLOSE, 10))/EMA((CLOSE+LOW+HIGH)/3, 3)*CLOSE*2+EMA((CLOSE+LOW+HIGH)/3, 3);
Var11:=ABS(EMA(CLOSE, 100)-EMA(CLOSE, 10))/EMA((CLOSE+LOW+HIGH)/3, 3)*CLOSE+EMA((CLOSE+LOW+HIGH)/3, 3);
Var12:=(Var10-Var5)/(Var10+Var5)*500;
Var13:=(CLOSE-Var6)*Var7;
Var14:=SUM(Var13, 0);
Var15:=SMA(Var14, 10, 1);
Var16:=SMA(Var14, 20, 1);
Var17:=Var15-Var16;
Var18:=MA(Var17, 10);
Var19:=Var15-Var16;
Var20:=1/WINNER(CLOSE);
Var21:=(CLOSE-MA(CLOSE, 13))/MA(CLOSE, 13)*100;
Var22:=100-ABS(Var21);
Var23:=WINNER(CLOSE);
Var24:=DMA(Var23, VOL/CAPITAL)*100+12;
Var25:=Var24-65;
Var26:=EMA(Var25, 6);
Var27:=Var26;
Var28:=MA(Var27, 6);
Var29:=3*SMA((CLOSE-LLV(LOW, 75))/(HHV(HIGH, 75)-LLV(LOW, 75))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW, 75))/(HHV(HIGH, 75)-LLV(LOW, 75))*100, 20, 1), 15, 1);
Var30:=100-Var29;
Var31:=(-1)*(EMA(Var30, 1)-50)+50;
Var32:=(-1)*(EMA(Var30, 12)-50)+50;
Var33:=(Var31-Var32)*10+Var18;
Var34:=EMA(Var17/10+3, 4);
Var35:=EMA(Var33/(-20), 4);
Var36:=(Var12-50)*2;
Var37:=Var36;
Var38:=MA(Var36, 6);
DRAWTEXT(Var4 AND Var12<6.180, CLOSE*1.012, '行情即将反转
DRAWTEXT(Var4 AND Var12>93.820, CLOSE*1.012, ''), COLORGREEN;
Var39:=(HIGH+4*LOW+OPEN+CLOSE)/7;
Var40:=EMA(Var39, 13)-EMA(Var39, 34);
Var41:=EMA(Var40, 5);
Var42:=(Var40-Var41)*5;
Var43:=IF(Var42>=1000, 1000, IF(Var42<=Var39, Var39, Var42));
Var44:=FORCAST(FORCAST(Var43, 31), 10);
DRAWTEXT(Var4 AND Var43>Var44, CLOSE*0.980, ''), COLORRED;
DRAWTEXT(Var4 AND Var43
Var46:=(2*CLOSE+HIGH+LOW)/4;
Var47:=LLV(LOW, 34);
Var48:=EMA((Var46-Var47)/(Var45-Var47)*100, 13);
Var49:=EMA(0.667*REF(Var48, 1)+0.333*Var48, 2);
Var50:=COUNT(Var48-Var49>0, 2)=2;
Var51:=Var48-Var49<0;
DRAWTEXT(Var4 AND Var50, CLOSE*0.990, ''), COLOR1133FF;
DRAWTEXT(Var4 AND Var51, CLOSE*0.990, ''), COLOR22FF22;
Var52:=1.100*CLOSE;
Var53:=0.900*CLOSE;
Var54:=100*(WINNER(Var52)-WINNER(Var53));
Var55:=EMA(100-Var54, 1);
Var56:=MA(Var55, 9)*2-100;
Var57:=EMA(Var56, 4);
DRAWTEXT(Var4 AND Var57
Var58:=EMA(CLOSE, 5)/EMA(EMA(CLOSE, 9), 16);
Var59:=WINNER(CLOSE);
Var60:=DMA(Var59, VOL/CAPITAL)*100+12;
Var61:=Var60-65;
Var62:=EMA(Var61, 6);
Var63:=Var62;
Var64:=MA(Var63, 6);
Var65:=(Var61-Var64)*30;
Var66:=1/WINNER(CLOSE);
Var67:=(CLOSE-MA(CLOSE, 13))/MA(CLOSE, 13)*100;
Var68:=100-ABS(Var67);
Var69:=(CLOSE-LLV(LOW, 75))/(HHV(HIGH, 75)-LLV(LOW, 75))*100;
Var70:=SMA(Var69, 20, 1);
Var71:=SMA(Var70, 15, 1);
Var72:=100-3*Var70+2*Var71;
Var73:=((EMA(IF(Var72>REF(Var72, 1), Var72, Var72-3), 3)-50)*(-1)*2/2+50)/10;
Var74:=EMA(AMOUNT, 13)/EMA(VOL, 13);
Var75:=(Var74/REF(Var74, 1)-1)*100;
Var76:=VOL/CAPITAL*100;
Var77:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
Var78:=(Var73+Var76)*Var77*Var75;
DRAWTEXT(Var4 AND Var78>50 AND Var78<100, OPEN, ''), COLORWHITE;
DRAWTEXT(Var4 AND Var78>100 AND Var78<200, OPEN, ''), COLORYELLOW;
DRAWTEXT(Var4 AND Var78>200, OPEN, ''), COLORMAGENTA;
DRAWTEXT(Var4 AND Var58>1.100 AND Var58<1.150 AND Var58
DRAWTEXT(Var4 AND Var58>1.150 AND Var58
JJJ1:EMA(LOW, 5),LINETHICK2;
JJJ2:EMA(LOW, 10),LINETHICK2;
JJJ3:EMA(LOW, 30),LINETHICK2;