#最新
期货抄底逃顶术:结合均线交易策略,有这个指标源码就够了

2024-09-01 0 64,635

指标逻辑:均线上下k线变色,支撑画线,买、逃顶、减仓等文字提示。信号简单明了,适合大部分投资者。适用文华财经软件电脑端

M1:=30;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,LOW,’﹉’),COLOR208FFF,LINETHICK3;
DRAWTEXT(SEL,HIGH,’﹉’),COLORGREEN,LINETHICK3;
N1:=10;
A:=C-REF(C,1);
A1:=EMA(A,N1);
A2:=EMA(ABS(A),N1);
A3:=EMA(A1,N1)/EMA(A2,N1)*100;
短期趋势线:=A3,COLORGREEN;
A4:=MA(A3,2);
短期买:=LLV(A3,2)=LLV(A3,7) AND COUNT(A3<0,2) AND CROSS(A3,A4);
DRAWTEXT(FILTER(短期买=1,5) ,L,’↖买’),COLORRED;
DRAWTEXT(FILTER(A3<REF(A3,1) AND REF(A3,1)>80 AND HHV(A3,2)=HHV(A3,10),5),H,’逃顶’),FONTSIZE20,COLORRED;
DRAWTEXT(FILTER(A3<REF(A3,1) AND REF(A3,1)<80 AND 50<REF(A3,1) AND HHV(A3,2)=HHV(A3,10),5),H,’逃顶’),FONTSIZE20,COLORBLUE;
EMA13:=EMA(C,20);
EMA34:=EMA(C,60);
EMA55:=EMA(C,80);
YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YZ:=YZ1 AND YZ2 AND Y>10;
DRAWTEXT(YZ,HIGH+0.2,’减仓’),COLORLIGHTGREEN;
BIAS1 := (CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2 := (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
BIAS3 : =(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GR1:=BARSLAST(BETWEEN(BIAS2,0,5) );
GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
DIFF : =EMA(CLOSE,12) – EMA(CLOSE,26);
DEA := EMA(DIFF,9);
MACD:=2*(DIFF-DEA),COLORSTICK;
GR3:=COUNT(BIAS2>10 AND H=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:=MACD<REF(MACD,1);
GR6:=GR2 AND GR3 AND GR4;
GR7:=GR2 AND GR3 AND GR4 AND GR5;
DRAWTEXT(GR6 AND GR7,H+0.13,’保利’),COLORLIGHTGREEN;
A11:=EMA(C,14);
A1X:=(A11-REF(A11,1))/REF(A11,1)*100,NODRAW;
支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),COLORBLUE,LINETHICK5;
阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),COLORBLACK,LINETHICK5;
MA10:MA(C,10);
DRAWCOLORKLINE(C>MA10,COLORRED,0);
DRAWCOLORKLINE(C<MA10,COLORGREEN,0);

期货抄底逃顶术:结合均线交易策略,有这个指标源码就够了

常见问题及下载声明: 1、指标不提供具体的使用方法,详情里一般会说明使用建议,需自行学习研究。 2、指标下载后,代表已对该指标认可,顾不退款! 3、指标不会安装,可在首页点击指标公式安装,各大软件指标安装教程。 4、指标是分析学习工具,不能依赖操作,仅供学习之用,依次操作,盈亏自负! 转载文章声明:本网站转载文章仅为传播更多期货行业信息,并不代表本网站赞同其观点,本网站也不保证文章内容的真实性、准确性和可靠性、完整性。 文章解释权归原作者所有,依次操作,所有后果自行承担,与本站无任何关系。如该文章涉及作品内容、版权或禁止转载的,请及时联系,我们将在第一时间处理。

云析赢指标公式网首席工程师

相关文章

发表评论
暂无评论