2023龙头买入持股 波段反弹主图《通达信+指标+公式+副图+源码》

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

GUP1:=CLOSE-REF(CLOSE,6);
GUP2:=MA(GUP1,6);
GUP3:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
GUP4:=SMA(GUP3,3,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=EMA((3*GUP4-2*GUP5),2);
GUP7:=(HIGH+LOW+CLOSE)/3;
GUP8:=((GUP7-MA(GUP7,14))/(0.015*AVEDEV(GUP7,14)))/2;
GUP9:=(GUP8+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
GUA0:=GUP9-REF(GUP9,14);
GUA1:=GUP9-REF(GUP9,26);
GUA2:=(GUP9+GUA0+GUA1)/3;
GUB1:=EMA(GUA2,4);
GUA3:=HHV(HIGH,34);
GUA4:=(2*CLOSE+HIGH+LOW)/4;
GUA5:=LLV(LOW,34);
GUA6:=EMA(((GUA4-GUA5)/(GUA3-GUA5))*100,13);
GUA7:=EMA(0.667*REF(GUA6,1)+0.333*GUA6,2);
GUB2:=GUA6-GUA7>1 AND GUA6<30 AND GUA7<30;
GUB3:=GUA6-GUA7<0 AND GUA6>80 AND GUA7>80 AND REF(GUA6-GUA7,1)>0;
GUB4:=COUNT(GUA6-GUA7>0,2)=2;
GUB5:=(GUA6-GUA7)<0;
M20:MA(CLOSE,20),COLOR0000FF;
M10:MA(CLOSE,10);
DRAWTEXT(FILTER(GUB2,30),L,'多头'),COLOR00FFFF;
DRAWTEXT(FILTER(GUB3,30),H,'空头'),COLORFFFF00;
DRAWTEXT(FILTER(GUB4,30),C,'持股'),COLOR00FF00;
DRAWTEXT(FILTER(GUB5,30),H,'持币'),COLORFF8080;
DRAWTEXT(FILTER(GUB1>EMA(GUB1,4) AND GUB1>REF(GUB1,1),30),L*0.98,'买入');
DRAWTEXT(FILTER(GUB1<EMA(GUB1,4) AND GUB1<REF(GUB1,1),30),H*1.02,'离场');
DRAWTEXT(FILTER(GUB1>EMA(GUB1,4) AND GUB1<REF(GUB1,1),30),H,'卖出'),COLORAA8800;
DRAWTEXT(FILTER(GUB1<EMA(GUB1,4) AND GUB1>REF(GUB1,1),30),L,'反弹'),COLORAA00AA;

选股公式源码



{选股公式一:买入}
GUP1:=CLOSE-REF(CLOSE,6);
GUP2:=MA(GUP1,6);
GUP3:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
GUP4:=SMA(GUP3,3,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=EMA((3*GUP4-2*GUP5),2);
GUP7:=(HIGH+LOW+CLOSE)/3;
GUP8:=((GUP7-MA(GUP7,14))/(0.015*AVEDEV(GUP7,14)))/2;
GUP9:=(GUP8+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
GUA0:=GUP9-REF(GUP9,14);
GUA1:=GUP9-REF(GUP9,26);
GUA2:=(GUP9+GUA0+GUA1)/3;
GUB1:=EMA(GUA2,4);
买入:FILTER(GUB1>EMA(GUB1,4) AND GUB1>REF(GUB1,1),30);
{选股公式二:反弹}
GUP1:=CLOSE-REF(CLOSE,6);
GUP2:=MA(GUP1,6);
GUP3:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100;
GUP4:=SMA(GUP3,3,1);
GUP5:=SMA(GUP4,3,1);
GUP6:=EMA((3*GUP4-2*GUP5),2);
GUP7:=(HIGH+LOW+CLOSE)/3;
GUP8:=((GUP7-MA(GUP7,14))/(0.015*AVEDEV(GUP7,14)))/2;
GUP9:=(GUP8+(EMA(((0-(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))))+100)/100,3)*200-100))/2;
GUA0:=GUP9-REF(GUP9,14);
GUA1:=GUP9-REF(GUP9,26);
GUA2:=(GUP9+GUA0+GUA1)/3;
GUB1:=EMA(GUA2,4);
反弹:FILTER(GUB1<EMA(GUB1,4) AND GUB1>REF(GUB1,1),30);
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则