2023炒股无需复杂 简单一买一卖《通达信+指标+公式+副图+源码》

[复制链接]
查看23582 | 回复0 | 2023-9-7 09:28 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
64f927245e53c.png
副图公式 源码支持手机/电脑


GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
DRAWTEXT(CROSS(GUA3,GUA4) AND BARSLAST(GUA5)>3,HIGH+1,'↖卖'),COLORGREEN;
DRAWTEXT(CROSS(GUA3,GUA4) AND BARSLAST(GUA5)<=3,HIGH+1,'↖止损'),COLORBLUE;
DRAWTEXT(CROSS(GUA4,GUA3),LOW-1,'↖买'),COLORYELLOW;
DRAWICON(CROSS(GUA3,GUA4),HIGH+0.5,2);
DRAWICON(CROSS(GUA4,GUA3),LOW-0.5,1);
STICKLINE(C<O,O,C,3,0),COLORFF6600;
STICKLINE(C<O,O,C,2,0),COLORFF9900;
STICKLINE(C<O,O,C,1.2,0),COLORFFCC00;
STICKLINE(C<O,O,C,0.2,0),COLORCYAN;
STICKLINE(C>O,O,C,3,0),COLOR000099;
STICKLINE(C>O,O,C,2,0),COLOR0000CC;
STICKLINE(C>O,O,C,1.3,0),COLOR0000FF;
STICKLINE(C>O,O,C,0.3,0),COLORCC66FF;

选股公式源码



{选股公式:买}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
{DRAWTEXT(CROSS(GUA4,GUA3),LOW-1,'↖买'),COLORYELLOW;
DRAWICON(CROSS(GUA4,GUA3),LOW-0.5,1);
STICKLINE(C<O,O,C,3,0),COLORFF6600;
STICKLINE(C<O,O,C,2,0),COLORFF9900;}
买:CROSS(GUA4,GUA3);
{卖出公式一:卖}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
卖:CROSS(GUA3,GUA4) AND BARSLAST(GUA5)>3;

{卖出公式二:止损}
GUA1:=HHV(HIGH,25);
GUA2:=LLV(LOW,25);
GUA3:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,20);
GUA4:=EMA((CLOSE-GUA2)/(GUA1-GUA2)*100,5);
GUA5:=CROSS(GUA4,GUA3);
止损:CROSS(GUA3,GUA4) AND BARSLAST(GUA5)<=3;

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

本版积分规则