2024抄在底部 顶部双逃《通达信+指标+公式+副图+源码》

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

G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
MA5:MA(G1,5);
MA10:MA(G1,10);
MA20:MA(G1,20);
MA60:MA(G1,60);
GUP1:=REF(G1,1);
GUP2:=SMA(MAX(G1-GUP1,0),2,1)/SMA(ABS(G1-GUP1),2,1)*100;
GUP3:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUP4:=SMA(GUP3,3,1)*GUP2/100;
GUP5:=SMA(MAX(G1-GUP1,0),275,1)/SMA(ABS(G1-GUP1),275,1)*100;
GUP6:=(G1-LLV(G2,26))/(HHV(G4,26)-LLV(G2,26))*100;
GUP7:=SMA(GUP6,2,1)*GUP5/100;
GUP8:=SMA(MAX(G1-GUP1,0),139,1)/SMA(ABS(G1-GUP1),139,1)*100;
GUP9:=(G1-LLV(G2,33))/(HHV(G4,33)-LLV(G2,33))*100;
GUP10:=SMA(GUP9,2,1)*GUP8/100;
DRAWTEXT(IF(G1>MA(HHV(G4,670),20),CROSS(GUP10,64),CROSS(GUP4,80)),G4*1.005,'逃顶A'),COLORGREEN;
DRAWTEXT(REF(EVERY(MA(G1,5)<MA(G1,10),13),1) AND REF(G1,1)/REF(G1,2)>1.03 AND REF(VOL,1)/REF(VOL,2)>1.2 AND G1<REF(G1,1) AND VOL>REF(VOL,1),G4*1.005,'逃顶B'),COLORGREEN;
DRAWTEXT(FILTER(IF(G1<MA(LLV(G2,8),20),REF(GUP7,1)<4 AND GUP7>REF(GUP7,1),CROSS(4.5,GUP4)),3),G2*0.995,'抄底'),COLORYELLOW;

选股公式源码

{选股公式:抄底}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(G1,1);
GUP2:=SMA(MAX(G1-GUP1,0),2,1)/SMA(ABS(G1-GUP1),2,1)*100;
GUP3:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUP4:=SMA(GUP3,3,1)*GUP2/100;
GUP5:=SMA(MAX(G1-GUP1,0),275,1)/SMA(ABS(G1-GUP1),275,1)*100;
GUP6:=(G1-LLV(G2,26))/(HHV(G4,26)-LLV(G2,26))*100;
GUP7:=SMA(GUP6,2,1)*GUP5/100;
抄底:FILTER(IF(G1<MA(LLV(G2,8),20),REF(GUP7,1)<4 AND GUP7>REF(GUP7,1),CROSS(4.5,GUP4)),3);
{卖出公式一:逃顶A}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=REF(G1,1);
GUP2:=SMA(MAX(G1-GUP1,0),2,1)/SMA(ABS(G1-GUP1),2,1)*100;
GUP3:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
GUP4:=SMA(GUP3,3,1)*GUP2/100;
GUP5:=SMA(MAX(G1-GUP1,0),275,1)/SMA(ABS(G1-GUP1),275,1)*100;
GUP6:=(G1-LLV(G2,26))/(HHV(G4,26)-LLV(G2,26))*100;
GUP7:=SMA(GUP6,2,1)*GUP5/100;
GUP8:=SMA(MAX(G1-GUP1,0),139,1)/SMA(ABS(G1-GUP1),139,1)*100;
GUP9:=(G1-LLV(G2,33))/(HHV(G4,33)-LLV(G2,33))*100;
GUP10:=SMA(GUP9,2,1)*GUP8/100;
逃顶A:IF(G1>MA(HHV(G4,670),20),CROSS(GUP10,64),CROSS(GUP4,80));

{卖出公式二:逃顶B}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
逃顶B:REF(EVERY(MA(G1,5)<MA(G1,10),13),1) AND REF(G1,1)/REF(G1,2)>1.03 AND REF(VOL,1)/REF(VOL,2)>1.2 AND G1<REF(G1,1) AND VOL>REF(VOL,1);
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则