源码
Var1:=SMA(AMOUNT,19,3)/60000;
Var2:=MA(REF(CLOSE,1),5)/60000;
Var3:=Var1*CLOSE/Var2/5700000;
Var4:=Var3;
Var5:=REF(Var4,1);
Var6:=REF(Var4,2);
Var5, , COLORBLACK;
Var6, , COLORBLACK;
Var7:=REF(Var4,3);
Var8:=REF(Var4,4);
Var9:=REF(Var4,5);
VarA:=REF(Var4,6);
VarB:=REF(Var4,7);
VarC:=REF(Var4,8);
VarD:=REF(Var4,9);
VarE:=REF(Var4,10);
VarF:=REF(Var4,11);
Var10:=REF(Var4,12);
Var11:=REF(Var4,13);
Var12:=REF(Var4,14);
Var13:=REF(Var4,15);
Var14:=REF(Var4,16);
Var15:=REF(Var4,17);
Var16:=REF(Var4,18);
Var17:=REF(Var4,19);
Var18:=REF(Var4,20);
Var19:=REF(Var4,21);
Var1A:=REF(Var4,22);
Var1B:=REF(Var4,23);
Var1C:=REF(Var4,24);
Var1D:=REF(Var4,25);
Var1E:=REF(Var4,26);
Var1F:=REF(Var4,27);
Var20:=REF(Var4,28);
Var21:=REF(Var4,29);
Var22:=REF(Var4,30);
Var23:=REF(Var4,31);
Var24:=REF(Var4,32);
Var25:=REF(Var4,33);
Var26:=REF(Var4,34);
Var27:=REF(Var4,35);
Var28:=REF(Var4,36);
Var29:=REF(Var4,37);
Var2A:=REF(Var4,38);
Var2B:=REF(Var4,39);
Var2C:=REF(Var4,40);
Var2D:=REF(Var4,41);
Var2E:=REF(Var4,42);
Var2F:=REF(Var4,43);
Var30:=REF(Var4,44);
Var31:=REF(Var4,45);
Var32:=REF(Var4,46);
Var33:=REF(Var4,47);
Var34:=REF(Var4,48);
Var35:=REF(Var4,49);
Var36:=REF(Var4,50);
Var37:=IF(Var4>Var5 AND Var5>=Var6,1,IF(Var4<=Var6,-1,IF(Var4>Var6 AND Var6>Var5,2,IF(Var4
Var38:=IF(Var5>Var6 AND Var5>Var7,1,IF(Var5Var7 AND Var6>Var8,2,IF(Var6Var8 AND Var7>Var9,3,IF(Var7Var9 AND Var8>VarA,4,IF(Var8VarA AND Var9>VarB,5,IF(Var9VarB AND VarA>VarC,6,IF(VarAVarC AND VarB>VarD,7,IF(VarBVarD AND VarC>VarE,8,IF(VarCVarE AND VarD>VarF,9,IF(VarDVarF AND VarE>Var10,10,IF(VarEVar10 AND VarF>Var11,11,IF(VarFVar11 AND Var10>Var12,12,IF(Var10Var12 AND Var11>Var13,13,IF(Var11Var13 AND Var12>Var14,14,IF(Var12Var14 AND Var13>Var15,15,IF(Var13Var15 AND Var14>Var16,16,IF(Var14Var16 AND Var15>Var17,17,IF(Var15Var17 AND Var16>Var18,18,IF(Var16Var18 AND Var17>Var19,19,IF(Var17Var19 AND Var18>Var1A,20,IF(Var18Var1A AND Var19>Var1B,21,IF(Var19Var1B AND Var1A>Var1C,22,IF(Var1AVar1C AND Var1B>Var1D,23,IF(Var1BVar1D AND Var1C>Var1E,24,IF(Var1CVar1E AND Var1D>Var1F,25,IF(Var1DVar1F AND Var1E>Var20,26,IF(Var1EVar20 AND Var1F>Var21,27,IF(Var1FVar21 AND Var20>Var22,28,IF(Var20Var22 AND Var21>Var23,29,IF(Var21Var23 AND Var22>Var24,30,IF(Var22Var24 AND Var23>Var25,31,IF(Var23Var25 AND Var24>Var26,32,IF(Var24Var26 AND Var25>Var27,33,IF(Var25Var27 AND Var26>Var28,34,IF(Var26Var28 AND Var27>Var29,35,IF(Var27Var29 AND Var28>Var2A,36,IF(Var28Var2A AND Var29>Var2B,37,IF(Var29Var2B AND Var2A>Var2C,38,IF(Var2AVar2C AND Var2B>Var2D,39,IF(Var2BVar2D AND Var2C>Var2E,40,IF(Var2CVar2E AND Var2D>Var2F,41,IF(Var2DVar2F AND Var2E>Var30,42,IF(Var2EVar30 AND Var2F>Var31,43,IF(Var2FVar31 AND Var30>Var32,44,IF(Var30Var32 AND Var31>Var33,45,IF(Var31Var33 AND Var32>Var34,46,IF(Var32Var34 AND Var33>Var35,47,IF(Var33Var35 AND Var34>Var36,48,IF(Var34
Var39:=REF(Var3,1)/5700000;
Var3A:=(Var3-REF(Var3,1))/REF(Var3,1)*100;
Var3B:=Var1*OPEN/Var2/5700000;
最高: Var1*HIGH/Var2/5700000, , COLORBLACK;
最低: Var1*LOW/Var2/5700000, , COLORBLACK;
趋势生命线: EMA(Var3,13), , COLORGREEN;
★蓄势★: STICKLINE((Var37=1 OR Var37=2) AND Var38<0,Var6,Var5,9,0), , COLORYELLOW;
带量上涨: STICKLINE(Var37=2,Var6,Var4,9,0), , COLORRED;
多头: STICKLINE(Var37=1 OR Var38>=1 AND Var37=0,Var5,Var4,9,0), , COLOR33CCFF;
★多翻空变盘★: STICKLINE((Var37=-1 OR Var37=-2) AND Var38>0,Var6,Var5,9,0), ,COLORFF6633;
空头: STICKLINE(Var37=-2,Var6,Var4,9,0), , COLORWHITE;
下跌: STICKLINE(Var37=-1 OR Var38<=-1 AND Var37=0,Var5,Var4,9,0), , COLORFFCC00;