短线王,信号简洁波段操作(通达信公式 主图 源码 测试图)

[复制链接]
查看63 | 回复0 | 2022-6-27 15:55:52 | 显示全部楼层 |阅读模式

 短线王,信号简洁波段操作

{公式名称: 短线王}
X_1:=(4*CLOSE+OPEN)/5;
X_2:=(8*X_1+7*REF(X_1,1)+6*REF(X_1,2)+5*REF(X_1,3)+4*REF(X_1,4)+3*REF(X_1,5)+2*REF(X_1,6)+REF(X_1,8))/36;
X_3:=(HHV(X_2,2)+HHV(X_2,4)+HHV(X_2,8))/3;
X_4:=(LLV(X_2,2)+LLV(X_2,4)+LLV(X_2,8))/3;
X_5:=(HHV(X_3,2)+HHV(X_3,4)+HHV(X_3,8))/3;
X_6:=(LLV(X_4,2)+LLV(X_4,4)+LLV(X_4,8))/3;
X_7:=(LLV(X_2,2)+LLV(X_2,4)+LLV(X_2,8))/3;
IF(X_2<=REF(X_2,1),X_2,DRAWNULL),COLORGREEN,LINETHICK3;
IF(X_2>=REF(X_2,1),X_2,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(X_5>X_2,X_5,X_2,0,0),COLORBLACK;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT(REF(X_6,1)=REF(X_2,1) AND X_6<X_2,LOW*0.97,1),COLORRED;
DRAWTEXT(REF(X_7,1)=REF(X_2,1) AND X_7<X_2,LOW*0.93,1),COLORYELLOW;
DRAWTEXT(REF(X_5,1)=REF(X_2,1) AND X_5>X_2,HIGH*1.05,2),COLORGREEN;
X_8:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;
X_9:=CROSS(CLOSE,X_5) AND X_8;
DRAWTEXT(X_9,LOW,3),COLORWHITE;
STICKLINE(X_9,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(X_9,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(X_9,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(X_9,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(X_9,CLOSE,OPEN,0.3,0),COLORYELLOW;
 



2022113221120645.png

2022113221120645.png

20221132204779013.rar

5.66 KB, 下载次数: 0

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

20221132204779013.rar

回复

使用道具 举报

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

本版积分规则