量价趋势副图(通达信公式 副图 源码 测试图)

[复制链接]
查看110 | 回复0 | 2022-6-27 14:51:18 | 显示全部楼层 |阅读模式


量价趋势副图

 
价量同升:=C>REF(C,1) AND V>REF(V,1);
价量背离1:=C<REF(C,1) AND V>REF(V,1);
价量背离2:=C>=REF(C,1) AND V<REF(V,1);
价量同降:=C<REF(C,1) AND V<REF(V,1);
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.98,0.9,1,C),COLORRED;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同降,0.28,0.9,1,C),COLORGREEN;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量同升,0.28,0.20,1,C),COLORRED;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离1,0.28,0.7,1,C),COLORGREEN;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 价量背离2,0.98,0.20,1,C),COLORRED;
价涨幅1:=(C-REF(C,1))/REF(C,1);
量涨幅1:=(V-REF(V,1))/REF(V,1);
价涨幅:SUM(价涨幅1,0),COLORFF2000,LINETHICK2,LINESTICK;
量涨幅:=SUM(量涨幅1,0);{分析家公式网}
量涨幅2:=EMA(量涨幅,50)/EMA(价涨幅,30);
量涨幅线:量涨幅/量涨幅2,COLORGRAY,LINETHICK2,LINESTICK;
 DRAWRECTREL(10,500,990,500,0);
 DRAWRECTREL(500,10,500,990,0);
 DRAWTEXT_FIX(价量同升,0.9,0.9,1,'价量同升且量较小,低买');
DRAWTEXT_FIX(价量同降,0.2,0.9,1,'价量同降,清仓');
DRAWTEXT_FIX(价量背离1,0.2,0.7,1,'价量背离,清仓');
DRAWTEXT_FIX(价量背离2,0.9,0.2,1,'价量背离,观望');
DRAWTEXT_FIX(价量同升,0.2,0.2,1,'价量同升且量大,持股');
 
 

20225311394010256.png

20225311394010256.png
 

20225311394689927.png

20225311394689927.png

20225311392072444.rar

2.16 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20225311392072444.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则