通達信逢低買(mǎi)點(diǎn)畫(huà)圖公式源碼
2019-05-08 16:09 綜投網(wǎng)
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);
主力線(xiàn):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(主力線(xiàn),8)AND Q10<-13,20,'*'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),8)AND Q10<-13,47,'大'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),8)AND Q10<-13,37,'底'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),8)AND Q10<-13,27,'來(lái)'),COLORYELLOW,LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),93)AND Q10<-13,40,'*'),LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),93)AND Q10<-13,57,'大'),LINETHICK5;
DRAWTEXT(CROSS(主力線(xiàn),93)AND Q10<-13,47,'底'),LINETHICK5;
DRAWTEXT(CROSS(跨越趨勢,主力線(xiàn))AND REF(主力線(xiàn),1)>80, REF(主力線(xiàn),3),'頂'),COLORRED,LINETHICK5;
VAR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
南方財富網(wǎng)微信號:南方財富網(wǎng)