通达信逢低买点画图公式源码
2019-05-08 16:09 综投网
VAR1:=REF(CLOSE,2);
短期趋势:SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORFFAA66,LINETHICK2;
VAR2:=REF(CLOSE,1);
VAR3:=SMA(MAX(CLOSE-VAR2,0),7,1)/SMA(ABS(CLOSE-VAR2),7,1)*100;
极品逃亡:IF(短期趋势< REF(短期趋势,1) AND 短期趋势>79,短期趋势,0);
DRAWTEXT(极品逃亡,70,'★'),COLORYELLOW;
DRAWTEXT(极品逃亡,78,'逃'),COLORYELLOW;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C=1.01,短期趋势-短期趋势*0.02,'★');
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C=1.01,短期趋势+40,'绝'),COLORRED;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C=1.01,短期趋势+30,'底'),COLORRED;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C=1.01,短期趋势+20,'将'),COLORRED;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C=1.01,短期趋势+10,'现'),COLORRED;
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),短期趋势,'★'),COLOR9933FF, LINETHICK1;
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),短期趋势+18,'绝'),COLOR9933FF, LINETHICK1;
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),短期趋势+8,'底'),COLOR9933FF, LINETHICK1;
Q2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
Q3:=SMA(Q2,9,1);
Q4:=SMA(Q3,3,1);
主力线:3*Q3-2*Q4,COLORWHITE,LINETHICK2;
Q8:=HHVBARS(HIGH,50);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
跨越趋势:EMA(Q3, 3),COLORRED;
DRAWTEXT(CROSS(主力线,8)AND Q10<-13,20,'*'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力线,8)AND Q10<-13,47,'大'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力线,8)AND Q10<-13,37,'底'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力线,8)AND Q10<-13,27,'来'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力线,93)AND Q10<-13,40,'*'),LINETHICK5;
DRAWTEXT(CROSS(主力线,93)AND Q10<-13,57,'大'),LINETHICK5;
DRAWTEXT(CROSS(主力线,93)AND Q10<-13,47,'底'),LINETHICK5;
DRAWTEXT(CROSS(跨越趋势,主力线)AND REF(主力线,1)>80, REF(主力线,3),'顶'),COLORRED,LINETHICK5;
VAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
南方财富网微信号:南方财富网