通达信挖坑种树副图公式
VAR1:=REF((L+O+C+H)/4,1);
VAR2:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=HHV(H,33);
VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*-1;
VAR6:=SMA(ABS(VAR1-L),10,1)/SMA(MIN(VAR1-L,0),5,1);
VAR7:=EMA(VAR6,5);
VAR8:=LLV(L,3);
VAR9:=EMA(IF(L>=VAR8,VAR7,0),3)*-1;
挖坑:-(IF(VAR9>REF(VAR9,1),VAR9,0)),COLORWHITE{COLORFF9933},LINETHICK0;
进场:IF(VAR9<REF(VAR9,1),VAR9,0),COLORRED,LINETHICK0;
0;
STICKLINE(挖坑<=0,挖坑,0,0.0001,0),COLORBLUE;
STICKLINE(进场>=0,进场,0,0.0001,0),COLORYELLOW;
DRAWICON(CROSS(挖坑,-001),0,9);
天下无敌:CROSS(挖坑,-001),COLORLIMAGENTA;
637411001.jpg
|