通达信选股指标_通达信指标下载_主力形态和谐通达信公式源码分享 主图

BA189和谐通达信公式源码分享

VAR1:=MA(CLOSE,240);
VAR2:=IF(COUNT(VAR1<=REF(VAR1,1),50)=50,1,0);
VAR3:=IF(REF(VAR2,1)=1 AND VAR1>=REF(VAR1,1),1,0);
VAR4:=BARSLAST(VAR3);
VAR5:=ISLASTBAR;
VAR6:=BACKSET(VAR5=1,VAR4);
VAR7:=IF(VAR6>REF(VAR6,1),1,0);
VAR8:=BARSLAST(VAR7=1);
VAR9:=IF(VAR8=0,LLV(LOW,240),0);
VAR10:=BARSLAST(VAR9>0);
VAR11:=CONST(REF(VAR9,VAR10));
箱底:DRAWLINE(LOW=VAR11,VAR11,VAR8=0,VAR11,1),COLOR00D9D9;
VAR12:=IF(VAR8=0,HHV(HIGH,240),0);
VAR13:=CONST(REF(VAR12,VAR10));
箱顶:DRAWLINE(LOW=VAR11,VAR13,VAR8=0,VAR13,1),COLOR00D9D9; {通达信公式大全 股票指标网}
VAR14:=BARSSINCEN(CROSS(CLOSE,箱顶),VAR8);
VAR15:=HHV(CLOSE,VAR14);
DRAWLINE(VAR14=0,VAR11,CLOSE,VAR11,0),COLORRED;
DRAWLINE(VAR14=0,VAR13,CLOSE,VAR13,0),COLORRED;
VAR16:=CONST(VAR11+(VAR13-VAR11)/2);
DRAWLINE(VAR8=0,VAR16,CLOSE,VAR16,0),COLORCYAN;
STICKLINE(VAR14=0,箱顶,箱底,0,0),COLORMAGENTA;
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA30:MA(CLOSE,30),COLORRED;
MA60:MA(CLOSE,60),COLORGREEN;

跟庄杀入通达信公式 副图 源码附图没未来函数