操盘趋势(通达信公式 副图 源码 测试图)

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

 操盘趋势

 
VAR1:=EXPMEMA(EXPMEMA(CLOSE,7),7);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED;
A10:=CROSS(控盘,0);
建仓:IF(控盘>REF(控盘,1) AND 控盘<0 AND CROSS(C,EXPMEMA(C,7)),控盘,0),COLORYELLOW,NODRAW;
加仓:IF(A10,控盘,0),COLORMAGENTA,NODRAW;
持股:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;
减仓:IF(控盘<REF(控盘,1) AND 控盘>0.8,控盘,0),COLORGREEN,NODRAW;
回补:IF(控盘>0 AND 控盘<0.8,控盘,0),COLORLIRED,NODRAW;
控盘线:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000,COLORRED;
持币:IF(控盘线<0,控盘线,DRAWNULL),COLORCYAN,LINETHICK1;
操盘价:EXPMEMA(CLOSE,7),COLORWHITE,NODRAW;
EXPMEMA(CLOSE,14),COLORYELLOW,NODRAW;
EXPMEMA(CLOSE,26),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
DRAWBAND(0,RGB(0,224,224),控盘,RGB(139,0,0));
操盘线:=IF(控盘线>=0,控盘线,DRAWNULL),COLORRED,LINETHICK1;
IF(控盘>REF(控盘,1) AND 控盘<0 AND CROSS(C,EXPMEMA(C,7)),控盘*0.5,0),LINETHICK1,COLORYELLOW;
IF(A10 AND CURRBARSCOUNT=1,2,0),LINETHICK1,COLORMAGENTA;
0,COLORRED;
STICKLINE(BETWEEN(控盘,0,0.8) AND CURRBARSCOUNT=1,0,0,4,0),COLORLIRED;
STICKLINE(BETWEEN(控盘,100,0.8) AND 控盘<REF(控盘,1) AND CURRBARSCOUNT=1,0,0,4,0),COLORGREEN;
 

202264482342788.png

202264482342788.png

20226448235257.rar

2.27 KB, 下载次数: 0

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

20226448235257.rar

回复

使用道具 举报

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

本版积分规则