2023跟着主力吃肉 多种买入信号《通达信+指标+公式+副图+源码》

股票赢家公式网(www.guxue8.cn)温馨提醒您:指标公式是通过数学逻辑角度编写而来,仅是股票分析环节中的一个辅助工具,对股票选股效率和分析便捷上起到一定的作用,股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!本板块所有内容:文字和图片,如包含股票名称或代码,皆为举例演示或技术复盘,内容仅供参考,不构成投资建议,如发现下载衔接失效问题,请第一时间留言或联系在线客服。


3247ee536664e3f71a9234a902adab6b

副图公式源码 支持: 手机/电脑

{今天发布的是买入信号的公式,结合上次发布的卖出信号公式,两个公式可以合并放到一起使用。}
N1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);N2:=EMA(N1,21);
GUP1J:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) – EMA((CLOSE + LOW)/(2),3) – ((CLOSE + LOW)/(2))*(0.1);
GUP2J:=IF(((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5),2)))/(10));
GUP3J:=IF((GUP2J > 0),GUP2J – 0,(-1));
买入:=CROSS(GUP3J,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8));
STICKLINE(买入,130,0,1,1),COLORRED;
DRAWTEXT(买入,90,’买入’),COLORLIRED;
GUP2P:=REF(LOW,1);
GUP3P:=SMA(ABS(LOW-GUP2P),3,1)/SMA(MAX(LOW-GUP2P,0),3,1)*100;
GUP4P:=EMA(IF(CLOSE*1.2,GUP3P*10,GUP3P/10),3);
GUP5P:=LLV(LOW,38);
GUP6P:=HHV(GUP4P,38);
GUP7P:=IF(LLV(LOW,90),1,0);
GUP8P:=EMA(IF(LOW<=GUP5P,(GUP4P+GUP6P*2)/2,0),3)/618*GUP7P;
趋势:=3*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
启动:=CROSS(趋势,10);
STICKLINE(启动,130,0,1,1),COLORRED;
DRAWTEXT(启动,50,’启动’),COLORLIRED;
GUP1Z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
GUP2Z1:=SMA(GUP1Z1,3,1);
GUP3Z1:=SMA(GUP2Z1,3,1);
GUP4Z1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
杀入:=CROSS(GUP4Z1,10) AND GUP3Z1<12;
STICKLINE(杀入,130,0,1,1),COLORRED ;
DRAWTEXT(杀入,40,’杀入’),COLORLIRED;
Y1:=EMA(EMA(C,5),5);Y2:=HHV(MA(H,13),13);
GUP51:=FILTER(Y1>REF(Y1,1)AND Y2<REF(Y2,1)AND C>REF(C,1),11);
加仓:=GUP51;
STICKLINE(加仓,130,0,1,1),COLORRED;
DRAWTEXT(加仓,30,’加仓’),COLORLIRED;
多头:=(7*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
空头:= EMA(MA(多头,5),7);
买底:=CROSS(多头,空头) AND 空头<35;
STICKLINE(买底,130,0,1,1),COLORRED;
DRAWTEXT(买底,10,’买底’),COLORLIRED;

选股公式源码

{选股公式一:买入}
N1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);N2:=EMA(N1,21);
GUP1J:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) – EMA((CLOSE + LOW)/(2),3) – ((CLOSE + LOW)/(2))*(0.1);
GUP2J:=IF(((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) – GUP1J)*(5),2)))/(10));
GUP3J:=IF((GUP2J > 0),GUP2J – 0,(-1));
买入:CROSS(GUP3J,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8));

{选股公式二:启动}
GUP2P:=REF(LOW,1);
GUP3P:=SMA(ABS(LOW-GUP2P),3,1)/SMA(MAX(LOW-GUP2P,0),3,1)*100;
GUP4P:=EMA(IF(CLOSE*1.2,GUP3P*10,GUP3P/10),3);
GUP5P:=LLV(LOW,38);
GUP6P:=HHV(GUP4P,38);
GUP7P:=IF(LLV(LOW,90),1,0);
GUP8P:=EMA(IF(LOW<=GUP5P,(GUP4P+GUP6P*2)/2,0),3)/618*GUP7P;
趋势:=3*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
启动:CROSS(趋势,10);
{选股公式三:杀入}
GUP1Z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
GUP2Z1:=SMA(GUP1Z1,3,1);
GUP3Z1:=SMA(GUP2Z1,3,1);
GUP4Z1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
杀入:CROSS(GUP4Z1,10) AND GUP3Z1<12;

{选股公式四:加仓}
Y1:=EMA(EMA(C,5),5);Y2:=HHV(MA(H,13),13);
GUP51:=FILTER(Y1>REF(Y1,1)AND Y2<REF(Y2,1)AND C>REF(C,1),11);
加仓:GUP51;

{选股公式五:买底}
多头:=(7*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
空头:= EMA(MA(多头,5),7);
买底:CROSS(多头,空头) AND 空头<35;


© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
相关推荐
评论 抢沙发

请登录后发表评论

    暂无评论内容