通达信牛股牛股耕耘区副图指标公式源码
森林:AA,COLOR00FF00,LINETHICK1;
X26:=EMA(量,26),COLORFF00FF;
STICKLINE(X26< REF(X26,1),0,X26,5,0),COLORDDDDDD;
TJ1:=AA>=REF(AA,1);
TJ3:=X26>=REF(X26,1);
长叶:(牛股耕耘区 AND COUNT(牛股耕耘区,3)=1)*30,STICK,COLOR00FF00,LINETHICK5;
结果:((TJ1+TJ2 +TJ3)=3 AND AA>=20 AND COUNT(AA>REF(AA,1),3)=1)*80,STICK,COLORFF00FF,LINETHICK5;
IF(AA< 0, AA, 5),COLORFF6600,LINETHICK2;
STICKLINE(X26< REF(X26,1), X26, X26,8,0),COLORWHITE,LINETHICK1;
STICKLINE((TJ1+TJ2 +TJ3)=3,-5,5,4,1),COLOR00FF00,LINETHICK1;
来函数检测结果如下:
该公式没有未来函数
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出森林:AA,COLOR00FF00,LINETHICK1
X26赋值:量的26日指数移动平均,COLORFF00FF
STICKLINE(X26< 1日前的X26,0,X26,5,0),COLORDDDDDD
TJ1赋值:AA>=1日前的AA
TJ3赋值:X26>=1日前的X26
输出长叶:(牛股耕耘区 AND 统计3日满足牛股耕耘区的天数=1)*30,STICK,COLOR00FF00,LINETHICK5
输出结果:((TJ1+TJ2 +TJ3)=3 AND AA>=20 AND COUNT(AA>1日前的AA,3)=1)*80,STICK,COLORFF00FF,LINETHICK5
如果AA< 0返回 AA否则返回 5
STICKLINE(X26< 1日前的X26, X26, X26,8,0),画白色,LINETHICK1
STICKLINE((TJ1+TJ2 +TJ3)=3,-5,5,4,1),COLOR00FF00,LINETHICK1
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图