抄底红蓝绿通达信公式 副图 源码附图
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
精准抄底:主力进场>10,COLORBLUE,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLORRED;
STICKLINE(VAR5>REF(VAR5,1) AND 主力进场>10,0,VAR5,3,0 ),COLORBLUE;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.08,0.01,1,'股票指标网:70822点COM'),COLORMAGENTA;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:REF((最低价+开盘价+收盘价+最高价)/4,1)
VAR2赋值:SMA(最低价-VAR1的绝对值,13,1)/SMA(最低价-VAR1和0较大值,10,1)
VAR3赋值:VAR2的10日指数移动平均
VAR4赋值:33日内最低价最低值
如果最低价<=VAR4返回VAR3否则返回0
输出主力进场:IF(VAR5>1日前的VAR5,VAR5,0),画红色,NODRAW
输出精准抄底:主力进场>10, 画蓝色,NODRAW
STICKLINE(VAR5>1日前的VAR5,0,VAR5,3,0 ),画红色
STICKLINE(VAR5>1日前的VAR5 AND 主力进场>10,0,VAR5,3,0 ), 画蓝色
输出洗盘:IF(VAR5<1日前的VAR5,VAR5,0),画绿色,NODRAW
STICKLINE(VAR5<1日前的VAR5,0,VAR5,3,0),画绿色
当满足条件ISLASTBAR时,在横轴0.08纵轴0.01位置书写文字