料敌如神 通达信副图指标 源码 贴图
2020-08-26 09:55:00来源:本站整理浏览:551
料敌如神 通达信副图指标 源码 贴图
VAR1:=71;
VAR2:=13;
VAR3:=3;
VAR4:=12;
VAR5:=9;
VAR6:=7;
VAR7:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
DRAWICON(CLOSE>VAR7,105,34);
VAR8:=EMA(CLOSE,VAR4)-EMA(CLOSE,VAR1);
VAR9:=EMA(VAR8,VAR5);
VAR10:=2*(VAR8-VAR9);
DRAWICON(VAR10>REF(VAR10,1),90,34);
VAR11:=(CLOSE-LLV(LOW,VAR1))/(HHV(HIGH,VAR1)-LLV(LOW,VAR1))*100;
VAR12:=SMA(VAR11,VAR2,1);
VAR13:=SMA(VAR12,VAR3,1);
VAR14:=3*VAR12-2*VAR13;
DRAWICON(VAR14>REF(VAR14,1),80,34);
VAR15:=EMA(CLOSE,VAR6);
DRAWICON(CLOSE>VAR15,70,34);
VAR16:=REF(CLOSE,1);
VAR17:=SMA(MAX(CLOSE-VAR16,0),VAR6,1)/SMA(ABS(CLOSE-VAR16),VAR6,1)*100;
VAR18:=SMA(MAX(CLOSE-VAR16,0),VAR2,1)/SMA(ABS(CLOSE-VAR16),VAR2,1)*100;
{WWW.GPXIAZAI.COM}
DRAWICON(VAR17>VAR18,60,34);
VAR19:=(2*CLOSE+HIGH+LOW)/4;
VAR20:=LLV(LOW,34);
VAR21:=HHV(HIGH,34);
VAR22:=EMA((VAR19-VAR20)/(VAR21-VAR20)*100,8);
VAR23:=EMA(VAR22,5);
DRAWICON(VAR22-VAR23<0,50,35);
DRAWICON(VAR22-VAR23>0,50,34);
VAR24:=AMOUNT/VOL/100;
VAR25:=MA(VAR24,10);
DRAWICON(CLOSE<VAR25,40,35);
DRAWICON(CLOSE>VAR25,40,34);
VAR26:=(HHV(HIGH,VAR1)-CLOSE)/(HHV(HIGH,VAR1)-LLV(LOW,VAR1))*100;
VAR27:=SMA(VAR26,VAR6,34);
VAR28:=SMA(VAR27,VAR3,1);
DRAWICON(VAR27>VAR28,30,35);