主力形态 通达信主图指标 源码 贴图

2020-08-21 09:31:00来源:本站整理浏览:577

主力形态 通达信主图指标 源码 贴图

主力形态 通达信主图指标 源码 贴图


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;
{WWW.GPXIAZAI.COM}
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;

 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式