通达信量价认同主图指标公式
2020/6/1 19:05:03
年认同价:=MA(C,240);
价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));
G:=价格中枢*1.2,LINETHICK2,COLOR009900;
G2:价格中枢*1.618,POINTDOT,COLORWHITE;
G3:价格中枢*1.382,POINTDOT,COLORWHITE;
G1:=价格中枢*0.8,LINETHICK2,COLOR009900;
STICKLINE(G1>0,G1,G,4,0),COLOR5F5F5F;{填色修饰}
IF(G1>0,G,DRAWNULL),COLOR00A800,LINETHICK2;{箱体上沿}
IF(G1>0,G1,DRAWNULL),COLOR008000,LINETHICK2;{箱体下沿}
IF(G1>0,价格中枢,DRAWNULL),COLORFFB900,LINETHICK1;{价格中枢}
{K线}
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
毛利润率:=FINANCE(21)/FINANCE(20);
成长价值:年认同价*(1+毛利润率),COLORYELLOW;
收益价值:年认同价+FINANCE(33),COLORRED;
回调认同:EMA(EXPMA(C,20),13),COLORWHITE;
{突破指示}
AA:=CLOSE/REF(C,1)>=1.09;
STICKLINE(AA,O,C,3,0),COLORYELLOW;
STICKLINE(AA,L,H,0,0),COLORYELLOW;
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.02 AND ABS(O-C)/O<0.02 AND C>MA(C,30);
JYZHV:=V<REF(V,1) ;
JYZH:=JYZHK AND JYZHV;
DRAWTEXT(JYZH,LOW/1.01,'★'),COLORRED;
A:=(3*C+L+O+H)/6;
C2:=EMA(A,6);
C3:=EMA(A,5);
C4:=CROSS(C2,C3);
DRAWTEXT(C4,LOW/1.01,'▲');
投股 票网 www.tou 18.cn
股市公式下载推荐