通达信粘合买入指标公式
通达信牛踪熊影指标公式
VAR0:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR3:=SMA(VAR0,3,1);
VAR1:=SMA(VAR3,4,1)-10;
VAR4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR5:=SMA(VAR4,3,1);
VAR2:=SMA(VAR5,4,1)-90;
stICKLINE(REF(VAR1,1)<VAR1,VAR1,REF(VAR1,1),10,0),COLOR0000FF;
{指标网-股票公式网站 www.gupAng.com}
0, CIRCLEDOT;
STICKLINE(REF(VAR1,1)>VAR1,VAR1,REF(VAR1,1),5,0),COLOR00FF00;
STICKLINE(REF(VAR2,1)>VAR2,VAR2,REF(VAR2,1),10,0),COLOR0000FF;
STICKLINE(REF(VAR2,1)<VAR2,VAR2,REF(VAR2,1),5,0),COLOR00FF00;
0,COLOR0000FF;
B:=zig(3,50/5)*100,COLOR008364;
G:=MA(B,2),COLOR008364;
买:crOSS(B,G)*100;
VAR10:=IF(DATE>=1990601,0,1);
VAR20:=TROUGHBARS(3,15,1)<10;
VAR30:=PEAKBARS(3,15,1)<10;
VAR40:=IF(VAR20=1,50,0);
VAR50:=IF(VAR30=1,50,0);
底部:= IF(VAR40=50,50,0);
头部:= IF(VAR50=50,100,0);
阴买:IF( 底部>REF(底部,1),100,0);
出:IF(头部>REF(头部,1),100,0);
DRAWTEXT(阴买=50,100,'买' ),COLOR00FF00;
DRAWTEXT(出=50,50,'卖'),COLORRED;
通达信趋势力度指标公式