专用指标优化及自用低点指标源码《通达信+指标+公式+副图

[复制链接]
查看164382 | 回复0 | 2022-12-9 16:16 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
6392ee960b2d1.png
6392eeb29b751.png
6392eec2428b8.png
指标源码:
G1:=REF(CLOSE,1);
G2:=SMA(MAX(CLOSE-G1,0),5,1)/SMA(ABS(CLOSE-G1),5,1)*100;
G3:=SMA(G2,5,1);
G4:=BARSLAST(G2<=15)<5;
G5:=SMA(G2,5,1);
G6:=CROSS(G2,G3) AND G5>15 AND G4;
G7:=FILTER(G6,10);
G8:=IF(CLOSE>REF((6*HIGH+5*REF(HIGH,1)+4*REF(HIGH,2)+3*REF(HIGH,3)+2*REF(HIGH,4)+1*REF(HIGH,5))/(6+5+4+3+2+1),1),1,IF(CLOSE<REF((6*LOW+5*REF(LOW,1)+4*REF(LOW,2)+3*REF(LOW,3)+2*REF(LOW,4)+1*REF(LOW,5))/(6+5+4+3+2+1),1),(-1),0));
G9:=BARSLAST(NOT(G8=0));
G10:=IF(G8=0,REF(G8,G9),G8);
低点:G7,NODRAW,COLORRED;
STICKLINE(低点>0,0,1,(-1),0),COLORRED;
DRAWTEXT(低点>0,0.5,'买入');
选股源码:
G1:=REF(CLOSE,1);
G2:=SMA(MAX(CLOSE-G1,0),5,1)/SMA(ABS(CLOSE-G1),5,1)*100;
G3:=SMA(G2,5,1);
G4:=BARSLAST(G2<=15)<5;
G5:=SMA(G2,5,1);
G6:=CROSS(G2,G3) AND G5>15 AND G4;
G7:FILTER(G6,10);

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则