通达信∠35上升买点主图 主图指标公式源码


持股线:EMA(CLOSE,14),LINETHICK2;
牛熊线:EMA(CLOSE,166);
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10), EMA8,'∠35上升'),COLORYELLOW;
C1:=(CLOSE+LOW+HIGH)/3;
C3:=EMA(C2,5);
DRAWTEXT(FILTER(C4,10),LOW/1.01,'买'),COLORRED;
MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
DRAWTEXT(CROSS(Y,X),(LOW * 0.985),'▲加仓'),LINETHICK2,COLORRED;
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
STICKLINE(C>=O,C,O,1.7,0),COLOR7040FF;
STICKLINE(C<=O,C,O,7.2,0),COLORCC0000;
STICKLINE(C<=O,C,O,0.5,0),COLORFFCC33;
 
 X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
XG:CROSS(Y,X);