龙听期货论坛's Archiver

C
+
+


 微信: QQ:

龙听 发表于 2018-12-15 10:35

大智慧出水芙蓉指标源码 副图公式[大智慧公式]

[code]
Var1:=ref(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and CXH=5);
DRAWTEXTREL(10 ,10 ,'');
DRAWTEXT(Var2>92 AND ref(Var2,1)<92,100,'☆胜利!');
Var3:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var4:=1/WINNER(CLOSE);
Var5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var6:=100-ABS(Var5);
Var7:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var8:=SMA(Var7,20,1);
Var9:=SMA(Var8,15,1);
VarA:=100-3*Var8+2*Var9;
VarB:=((EMA(IF(VarA>ref(VarA,1),VarA,VarA-3),3)-50)*(-1)*2/2+50)/10;
VarC:=EMA(AMOUNT,13)/EMA(VOL,13);
VarD:=(VarC/ref(VarC,1)-1)*100;
VarE:=VOL/CAPITAL*100;
VarF:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
Var10:=(VarB+VarE)*VarF*VarD;
Var11:=VOL/CAPITAL;
Var12:=VOL/700000000;
Var13:=IF(Var11=0,Var12,Var11);
Var14:=1.1*(MAX(HIGH,ref(CLOSE,1))/MIN(LOW,ref(CLOSE,1))-1);
Var15:=2.5*MAX(Var13,Var14);
Var16:=DMA(CLOSE,Var15);
Var17:=SMA(20*(Var16/ref(Var16,1)-1),2,1);
Var18:=EMA(Var17,2); Var19:=0.17;
Var1A:=CLOSE>=ref(CLOSE,1); Var1B:=VOL/CAPITAL;
Var1C:=VOL/700000000;
Var1D:=IF(Var1B=0,Var1C,Var1B);
Var1E:=1.1*(MAX(HIGH,ref(CLOSE,1))/MIN(LOW,ref(CLOSE,1))-1);
Var1F:=2.5*MAX(Var1D,Var1E);
Var20:=DMA(CLOSE,Var1F);
Var23:=20*(Var20/ref(Var20,1)-1);
Var21:=SMA(Var23*20,2,1);
Var22:=EMA(Var21,2);
介入: IF(Var17>Var19 AND Var18>=0.005 AND Var1A,70,0),STICK ,linethick3,coloryelLOW ;
买入: IF(Var10>100 AND Var10<200,130,0),STICK ,linethick3,colorMAgenta ;
加码: IF(Var10>200,200,0),color3366cc ,STICK,linethick3 ;
止盈: IF(Var3>1.15 AND Var3<ref(Var3,1),-200,0),colorff6633;
卖出: IF(Var3>1.1 AND Var3<1.15 AND Var3<ref(Var3,1),-100,0),colorgreen ,linethick3 ;
STICKLINE(Var22>=0.003,-0.05,0.05,10,0),linethick5 ,colorred ;
STICKLINE(BETWEEN(Var22,0.003,-0.003),-0.05,0.05,10,0),linethick5,colorwhite ;
STICKLINE(Var22<=-0.003,-0.05,0.05,10,0),linethick5 ,colorgreen;
[/code]
[attach]5851[/attach]

页: [1]