成交量寶塔線(副圖)
A:=EMA(EMA(AMOUNT/10000000,5),10);
N1:=A;
【最高】:N1,LINETHICK;
【最低】:N1,LINETHICK;
【收盤】:N1,LINETHICK;
【開盤】:REF(【收盤】,1),LINETHICK;
STICKLINE(【收盤】>【開盤】,【最高】,【最低】,0,0),COLOR0000FF;
STICKLINE(【收盤】>【開盤】,【收盤】,【開盤】,2,0),COLOR0000FF;
STICKLINE(【收盤】<【開盤】,【收盤】,【開盤】,2,0),COLOR00FF00;
STICKLINE(【收盤】<【開盤】,【最高】,【最低】,0,0),COLOR00FF00;
均量10:MA(A,10);
B:=【收盤】>【開盤】;
D:=【收盤】<【開盤】;
DRAWTEXT(ISLASTBAR AND B,【最高】,'-量增'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR AND D,【最高】,'-量縮'),COLORYELLOW;
F:=EMA(EMA(C,5),10);
N2:=F;
【收盤1】:=N2;
【開盤1】:=REF(【收盤1】,1);
G:=【收盤1】>【開盤1】;
I:=【收盤1】<【開盤1】;
DRAWTEXT(ISLASTBAR AND G,【最低】*0.90,'-價漲'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR AND I,【最低】*0.90,'-價跌'),COLORYELLOW;
K:=B AND G;
DRAWTEXT(K,【最低】*0.90,'▲'),COLORMAGENTA;
P:=D AND G;
DRAWTEXT(P,【最低】*0.90,'●'),COLORYELLOW;
(南方財富網(wǎng)SOUTHMONEY.COM)