量价定买点副图指标公式
A:=EMA(EMA(AMOUNT/10000000,5),10);
N1:=A;
最高:N1,LINETHICK1;
最低:N1,LINETHICK1;
收盘:N1,LINETHICK1;
开盘:REF(收盘,1),LINETHICK1;
均量 10:=MA(A,10);
B:=收盘>开盘;
D:=收盘<开盘;
F:=EMA(EMA(C,5),10);
N2:=F;
收盘 1:=N2;
开盘 1:=REF(收盘 1,1);
G:=收盘 1>开盘 1;
I:=收盘 1<开盘 1;
DRAWTEXT_FIX(1,0.9,0.42,0,'【量价趋势】 '),COLORYELLOW;
DRAWTEXT_FIX(收盘 1>开盘 1 AND ISLASTBAR,0.94,0.58,0 ,'价涨'),COLORRED;
DRAWTEXT_FIX(收盘 1<开盘 1 AND ISLASTBAR,0.94,0.58,0 ,'价跌'),COLORGREEN;
DRAWTEXT_FIX(收盘>开盘 AND ISLASTBAR,0.91,0.58,0 ,'量增'),COLORMAGENTA;
DRAWTEXT_FIX(收盘<开盘 AND ISLASTBAR,0.91,0.58,0 ,'量缩'),COLORLIRED;
P:=D AND G;
高:=REF(HHV(N1,130),3);
上部:REFDATE(高,DATE),COLORWHITE,LINETHICK1;
STICKLINE(K,上部,上部*1.05,4,0),COLOR3333FF;
STICKLINE(P,上部,上部*1.05,4,0),COLOR3CFFFF;
DRAWBAND(开盘,RGB(0,255,100),最高,RGB(255,00,100));
DRAWTEXT_FIX(1,0.29,0.1,0,'上部红色为价涨量升, 上升趋势; '),COLOR3333FF;
DRAWTEXT_FIX(1,0.485,0.1,0,'黄色为价跌量减, 量价背离, 注意顶部! '),COLOR3CFFFF;
DRAWTEXT_FIX(1,0.35,0.25,0,'没有标记的区 域包括放量下跌和无量阴 跌, 都不参与
'),COLOR66FF33
量价买卖点指标公式
重心:(H+L+3*C+O)/6,NODRAW;
STICKLINE(重心>0,重心,重心*1.001,0.1,0),COLORLIRED;
重心转向:重心>REF(重心,1) AND REF(重心,1)<REF(重心,2),NODRAW;
STICKLINE(重心转向,L,MAX(C,O),0.1,0),COLORYELLOW;
STICKLINE(重心转向,L,L*1.001,2,0),COLORYELLOW;
高:=EMA(H/REF(CLOSE,1),N)*C,COLORCYAN,DOTLINE;
低:=EMA(L/REF(CLOSE,1),N)*C,COLORRED,DOTLINE;
卖:IF(CURRBARSCOUNT=1,高,DRAWNULL),COLORLIRED;
买:IF(CURRBARSCOUNT=1,低,DRAWNULL),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,卖,'_____'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,买,'_____'),COLORYELLOW;
DRAWNUMBER(CURRBARSCOUNT=1,卖*1.01,卖),COLORLIRED;
DRAWNUMBER(CURRBARSCOUNT=1,买*1.01,买),COLORYELLOW;
评论(0)