多空股神买必赢通达信公式 副图 源码附图
VARF:=TROUGHBARS(3,15,1)<3.15 AND REF(TROUGHBARS(3,13,1)<3.15,1) AND REF(TROUGHBARS(3,11,1)<3.15,2);
多空股神:=(EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,25))/MA((2*CLOSE+HIGH+LOW)/4,25)*100,3))*1.65,LINETHICK3,COLORWHITE;
STICKLINE(FILTER(VARF=1,5) AND 多空股神<-10,33,0,6.0,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),30,0,3.5,0),COLORGREEN;
VARFC: TROUGHBARS(3,12,1)<3 AND REF(TROUGHBARS(3,12,1)<3,1) AND REF(TROUGHBARS(3,12,1)<3,2);
DRAWICON(FILTER(VARFC=1,3),40,1),COLORFFFF00;
STICKLINE(FILTER(VARFC=1,5),36,0,2.25,0),COLORRED;
STICKLINE(FILTER(VARFC=1,5),35,0,0.35,1),COLORGREEN;
股神:DRAWTEXT(FILTER(VARFC=1,3),37,'必赢'),COLORYELLOW;
未来函数检测结果如下:
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VARF赋值:TROUGHBARS(3,15,1)<3.15 AND REF(TROUGHBARS(3,13,1)<3.15,1) AND REF(TROUGHBARS(3,11,1)<3.15,2)
多空股神赋值:(EMA((收盘价-MA((2*收盘价+最高价+最低价)/4,25))/MA((2*收盘价+最高价+最低价)/4,25)*100,3))*1.65, 线宽为3,画白色
STICKLINE(VARF=1的5过滤 AND 多空股神<-10,33,0,6.0,0),COLORF00FF0
STICKLINE(VARF=1的5过滤,30,0,3.5,0),画绿色
VARFC: TROUGHBARS(3,12,1)<3 AND REF(TROUGHBARS(3,12,1)<3,1) AND REF(TROUGHBARS(3,12,1)<3,2)
DRAWICON(VARFC=1的3过滤,40,1),COLORFFFF00
STICKLINE(VARFC=1的5过滤,36,0,2.25,0),画红色
STICKLINE(VARFC=1的5过滤,35,0,0.35,1),画绿色
输出股神:DRAWTEXT(VARFC=1的3过滤,37,'必赢'),画黄色