公式描述:无参数公式类型: 技术指标公式-其他类型画线方法: 主图叠加公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无公式源码:}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));箱底
RAWLINE(LOW=VAR11,VAR11,VAR8=0,VAR11,1),COLOR00D9D9;VAR12:=IF(VAR8=0,HHV(HIGH,240),0);VAR13:=CONST(REF(VAR12,VAR10));箱顶
RAWLINE(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;