通达信量价波段买卖公式
{牛牛指标网提供:www.tdx001.com}
复制内容到剪贴板
- {量价波段副图公式}
- MA5:=MA(CLOSE,5),LINETHICK1,COLORWHITE;
- MA10:=MA(CLOSE,10),LINETHICK1,COLORYELLOW;
- CB:=CLOSE*VOL;
- ZZS:EMA((EMA(CB,3)/EMA(VOL,3)+EMA(CB,6)/EMA(VOL,6)+EMA(CB,12)/EMA(VOL,12)+EMA(CB,24)/EMA(VOL,24))/4,13),COLOR00FF00,NODRAW;
- AX:=EMA(CLOSE,5)-EMA(CLOSE,9);{调整此数值改波段大小}
- WJ:=EMA(AX,3);
- A1:IF(AX>=WJ,ZZS,DRAWNULL),COLORRED,LINETHICK2;
- A2:IF(AX<WJ,ZZS,DRAWNULL),COLOR00FF00,LINETHICK2;
- A2A:IF(A1=ZZS,0,A2);
- A1A:IF(A2=ZZS,0,A1),COLORFF00FF,LINETHICK1;
- DRAWICON(FILTER(CROSS(A1A,A2A) AND MA10>REF(MA10,1) ,3)=1,L*0.95,1);
- DRAWICON(FILTER(CROSS(A2A,A1A) ,3)=1,L*0.95,2);
224188513.jpg
|