您的位置 首页 通达信公式

通达信主力风向标主图指标公式

VAR44:=10;
VAR45:=10;
VAR46:=3;
VAR47:=10;
VAR48:=2.5;
VAR49:=MAX(MAX(HIGH-LOW,Abs(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
VAR50:=(HIGH+LOW)/2+MA(VAR49,VAR47)*VAR48;
VAR51:=(HIGH+LOW)/2-MA(VAR49,VAR47)*VAR48;
VAR52:=REF(VAR50,BARSLAST(VAR50<=REF(VAR50,1)));
VAR53:=LLV(VAR50,VAR45*1.5);
VAR54:=IF(VAR53!=REF(VAR53,1) AND VAR52< REF(VAR52,1),VAR52,IF(VAR52=VAR53,VAR52,VAR53));
VAR55:=BARSLAST(crOSS(0.5,VAR50=VAR54))+1;
VAR56:=CROSS(COUNT(CROSS(CLOSE,VAR54) OR CROSS(CLOSE,REF(VAR54,2)) AND VAR50>VAR54,VAR55),0.5);
VAR57:=BARSLAST(VAR56);
VAR58:=BARSLAST(CROSS(HHV(VAR51,VAR57+1),CLOSE));
VAR59:=CROSS(VAR58,VAR57);
VAR60:=CROSS(VAR57,VAR58);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
AA:IF(VAR58>VAR57,HHV(VAR51,BARSLAST(VAR59)+1),LLV(VAR50,BARSLAST(VAR60)+1)),COLORGREEN,LINETHICK6;
庄家成本线:IF(VAR58>VAR57,AA,DRAWNULL),COLOR0000C8,LINETHICK6;
DRAWICON(CROSS(VAR58,VAR57),AA,42);
DRAWICON(CROSS(VAR57,VAR58),AA*1.015,43);
买进:CROSS(VAR58,VAR57)*100,NODRAW,COLORRED;
卖出:CROSS(VAR57,VAR58)*100,NODRAW;

通达信主力风向标主图指标公式

本文来自网络,不代表公式指标立场,转载请注明出处:https://www.gszb.top/107722.html

为您推荐

联系我们

联系我们

在线咨询: QQ交谈

邮箱: admin@gszb.top

关注微信
微信扫一扫关注我们

微信扫一扫关注公众号

加入QQ群
   
微信扫一扫关注我们

QQ扫一扫加入公式群

返回顶部