相关标签:
飞狐指南针股王副图指标源码Var2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var3:=SMA(Var2,5,1);
Var4:=REF(Var3,1);
Var5:=SMA(Var3,10,1);
Var6:=(HHV(HIGH,52)-CLOSE)/(HHV(HIGH,52)-LLV(LOW,52))*100;
Var7:=MA(Var6,5);
Var8:=LLV(LOW,5)=LLV(LOW,120);
Var9:=REF(CLOSE,1);
VarA:=SMA(MAX(CLOSE-Var9,0),6,1)/SMA(ABS(CLOSE-Var9),6,1)*100;
VarB:=SMA(MAX(CLOSE-Var9,0),12,1)/SMA(ABS(CLOSE-Var9),12,1)*100;
VarC:=(CLOSE+LOW+HIGH)/3;
VarD:=SUM((VarC-REF(LOW,1)-(HIGH-VarC))*VOL/100000/(HIGH-LOW),0);
VarE:=EMA(VarD,1);
VarF:=VarE;
Var10:=MA(VarE,12);
Var11:=MA(VarE,26);
Var12:=(VarF-Var10)*60;
Var13:=IF(Var12>0.05,Var12,0);
Var14:=IF(Var13>50,50,Var13);
Var15:=CAPITAL/EMA(VOL,5)/30*1.1;
Var16:=Var15;
Var17:=EMA(COST(85),10);
Var18:=EMA(COST(1),10);
Var19:=EMA(CLOSE,10);
Var1A:=(Var19-Var18)*100/(Var17-Var18);
Var1B:=REF(Var1A,1);
Var1C:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;
Var1D:=(INDEXC-REF(INDEXC,12))/REF(INDEXC,12)*100;
Var1E:=EMA(Var1C-Var1D,4);
Var1F:=EMA(Var1D-Var1C,4);
STICKLINE(Var1E>0,0,-5,6,0);
STICKLINE(Var8,-5,-10,6,0);
Var20:=MA(Var1C,4);
Var21:=MA(Var1C,8);
Var22:=REF(Var20,1);
Var23:=MA((Var1A-REF(Var1A,12))/REF(Var1A,12)*100,4);
Var24:=IF(Var23<=-20,-20,Var23);
Var25:=IF(Var24>=20,20,Var24);
Var26:=Var25;
Var27:=REF(Var26,1);
Var28:=REF(Var26,5);
Var29:=IF(CROSS(Var14,Var16),1,0);
Var2A:=IF(Var14Var2B:=IF(Var1E>Var1F,5,-5);
Var2C:=IF(Var3>Var5,5,-5);
Var2D:=IF(Var20>Var21,6,-6);
Var2E:=IF(Var20>0 AND Var20>Var21,8,-8);
Var2F:=IF(Var26<0,-10,10);
Var30:=IF(Var20>Var22,10,-10);
Var31:=IF(Var26>Var27,5,0);
Var32:=IF(Var26Var33:=IF(CLOSE>OPEN,3,-3);
走势: (Var2A+Var2B+Var2C+Var2D+Var2E+Var2F+Var30+Var31+Var32+Var33);
Var34:=REF(CLOSE,2)*0.865;
Var35:=REF(CLOSE,13)*0.772;
Var36:=MIN(Var34,Var35);
Var37:=100*VOL/CAPITAL;
Var38:=MA(CLOSE,13);
Var39:=CLOSE>0.899*REF(CLOSE,1) AND CLOSE<0.901*REF(CLOSE,1);
Var3A:=EMA(WINNER(CLOSE)*100,5);
Var3B:=EMA(WINNER(CLOSE)*100,30)-CAPITAL/EMA(VOL,30)/5;
Var3C:=CAPITAL/EMA(VOL,5)/5;
Var3D:=Var3A;
Var3E:=IF(Var3D>0,0-Var3D,0-Var3D);
Var3F:=REF(Var3D,1);
主力趋势: (Var3B+50);
Var40:=Var3B+50;
Var41:=REF(Var40,1);
Var42:=MA(CLOSE,5);
Var43:=MA(CLOSE,10);
Var44:=MA(CLOSE,30);
Var45:=MA(CLOSE,12);
Var46:=MA(CLOSE,26);
Var47:=REF(Var45,1);
Var48:=REF(Var46,1);
Var49:=(Var45-Var46)/Var45*100;
Var4A:=ABS(Var45-Var47)/Var45*100;
Var4B:=REF(Var46,1);
Var4C:=REF(Var4A,1);
Var4D:=REF(Var42,1);
Var4E:=REF(Var43,1);
Var4F:=COUNT(CLOSE>REF(CLOSE,1),5)/5*100;
Var50:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
Var51:=SMA(Var50,5,1);
Var52:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
Var53:=SMA(Var52,2,1);
Var54:=MA(VOL/CAPITAL,30)*MA(VOL,60)/10000+MA(CLOSE,30)*8;
Var55:=REF(Var51,1);
Var56:=REF(Var53,1);
Var57:=REF(Var54,1);
Var58:=MA(Var53,5);
Var59:=MA(Var53,12);
Var5A:=MA(Var53,26);
Var5B:=REF(Var4F,1);
Var5C:=(Var54-Var57)/Var54*100;
Var5D:=SMA(Var50,5,1);
Var5E:=REF(Var5D,1);
Var5F:=SMA(Var52,2,1);
Var60:=REF(Var5F,1);
Var61:=IF(CLOSE>OPEN,1,0);
Var62:=IF(Var42>Var4D,1,0);
Var63:=IF(Var43>Var4E,1,0);
Var64:=IF(Var4A>Var4C,1,0);
Var65:=IF(Var53>Var56,5,0);
Var66:=IF(Var55>Var51,5,0);
Var67:=IF(Var54>Var57,2,0);
Var68:=IF(Var49>2.25,10,0);
Var69:=IF(Var53>60,6,0);
Var6A:=IF(Var53>80,8,0);
Var6B:=IF(Var53>Var51,10,0);
Var6C:=IF(Var53>Var51,Var59-Var5A,0);
Var6D:=IF(Var53>Var51 AND Var51<20,5,0);
Var6E:=IF(CLOSE>Var45 AND Var45>Var46,5,0);
Var6F:=IF(Var45>Var46,5,0);
Var70:=IF(Var46>Var4B,5,0);
Var71:=IF(Var51<18,Var58-Var51,0);
Var72:=IF(Var51>Var53 AND Var51>50,8,0);
Var73:=(Var61+Var62+Var63+Var64+Var65+Var66+Var67+Var68+Var69+Var6A+Var6B+Var6C+Var6D+Var6E+Var6F+Var70+Var71-Var72);
Var74:=REF(Var73,1);
多头: MA(Var73,5);
Var75:=MA(Var73,8);
Var76:=MA(Var73,12);
Var77:=MA(Var73,26);
Var78:=MA(Var73,13);
Var79:=REF(Var76,1);
Var7A:=REF(Var76,2);
Var7B:=IF(CROSS(Var3,Var5) AND Var4<35 AND Var7>50 AND Var1A<25 AND Var1A>Var1B AND Var41VarB AND VarB>Var3 OR VarA>Var3 AND Var8),100,0);
Var7C:=IF((CLOSE-Var36)/CLOSE<0.1 AND Var41<1.8,100,0);
Var7D:=IF(CROSS(Var3,Var5) AND Var8 AND Var3<25 AND Var1A<20 OR CROSS(Var3,Var5) AND Var8 AND Var3<40 AND Var1A<10,100,0);
信号: IF(Var7B=100 OR Var7C=100 OR Var7D=100,20,-50);
STICKLINE(走势<0,0,走势,1,0);
STICKLINE(走势>0,走势,0,1,0);{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)