通达信顶背离指标公式
顶背离N1:=5;N2:=10;
V型转向DF2:=(C-REF(C,1))/REF(C,1)*100》5;
DF3:=(C-O)/O*100》4;
最底价:=COST(1);
底V型反转:=L《最底价 AND DF2;
底V型反转2:=CROSS(C,最底价) AND DF2;
底V型反转3:=L《最底价 AND DF3;
V型转向:底V型反转 OR 底V型反转2 OR 底V型反转3;
STICKLINE(V型转向=1,0,2.5,6,0),COLORGREEN;
STICKLINE(V型转向=1,0,1.5,8,0),COLORGREEN;
STICKLINE(V型转向=1,0,4,2,0),COLORWHITE;
DRAWTEXT(V型转向=1,3,‘---V
(股票资源馆lixiangluntan.com)炒股教程
通达信MACD融入主图指标公式
融入主图A1:(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)+EMA(C,8);