精 彩 内 容 呈 现
M1:=8;
M2:=25;
M3:=12;
M4:=50;
ZYG1:=EXPMA(CLOSE,M1)COLORBLUE,LINETHICK1;
ZYG2:=EXPMA(CLOSE,M2)COLORGREEN,LINETHICK2;
ZYG3:=EXPMA(C,M3)COLORLIGREEN,DOTLINE;
ZYG4:=EXPMA(C,M4)COLORWHITE,DOTLINE;
卖:=CROSS(ZYG1,ZYG2);买:=CROSS(ZYG2,ZYG1);DRAWTEXT(卖,L*0.995,'持股'),COLORYELLOW;STICKLINE(卖,C,O,2,0),COLORYELLOW;
DRAWTEXT(买,H*1.008,'持币'),COLORGREEN;STICKLINE(买,C,O,2,0),COLORGREEN;DX:=(C+H+L+O)/4;MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);FB:=MA(DX,17)+ABS(MA(DX,17)-REF(MA(DX,17),1));
FS:=MA(DX,17)+MA(DX,17)-REF(MA(DX,17),1);买1:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
卖1:=IF(HHV(ZLGJ,2)=HHV(ZLGJ,7) AND COUNT(ZLGJ>50,2) AND CROSS(MA(ZLGJ,2),ZLGJ),1,0);STICKLINE(FILTER(买1=1,5),C,O,2,0),COLORFF00FF;
STICKLINE(FILTER(卖1=1,1),C,O,2,0),COLOR00FF00;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A:=(3*C+L+O+H)/6;
DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;
BB:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6) +13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210;
MA101:=MA(CLOSE,10);周MA101:=MA(MA101,5),COLORRED,LINETHICK2;上翘:IF(周MA101>REF(周MA101,1),周MA101,DRAWNULL),COLORRED,LINETHICK4;
下拐:IF(周MA101<REF(周MA101,1),周MA101,DRAWNULL),COLORGRAY,LINETHICK4;
BOLL:=MA(CLOSE,20);上轨:BOLL+2*STD(CLOSE,20);
下轨:BOLL-2*STD(CLOSE,20);MA5 := MA(CLOSE, 5);
MA10 := MA(CLOSE, 10);MA20 := MA(CLOSE, 20);MA30 := MA(CLOSE, 30);
MA60 := MA(CLOSE, 60);MA_LONG1 := MA5 > MA10 AND MA10 > MA20 AND MA20 > MA30 AND MA30 > MA60;EXP1 := EMA(CLOSE, 12);
EXP2 := EMA(CLOSE, 50);EXPMA_JC := CROSS(EXP1, EXP2);
BOLL1 := MA(CLOSE, 20);UP := BOLL1 + 2 * STD(CLOSE, 20);
章鱼哥:=CLOSE >= MA_LONG1 AND EXPMA_JC;
DRAWICON(章鱼哥,L,7);STICKLINE(章鱼哥,O,C,2,0),COLORYELLOW;
DRAWTEXT(章鱼哥,L*0.985,'↑龙渊聚势战法'),COLORYELLOW;
对应的选股公式:
MA5 := MA(CLOSE, 5);
MA10 := MA(CLOSE, 10);
MA20 := MA(CLOSE, 20);
MA30 := MA(CLOSE, 30);
MA60 := MA(CLOSE, 60);
MA_LONG := MA5 > MA10 AND MA10 > MA20 AND MA20 > MA30 AND MA30 > MA60;
EXP1 := EMA(CLOSE, 12);
EXP2 := EMA(CLOSE, 50);
EXPMA_JC := CROSS(EXP1, EXP2);
BOLL := MA(CLOSE, 20);
UP := BOLL + 2 * STD(CLOSE, 20);
章鱼哥:CLOSE >= MA_LONG AND EXPMA_JC;
PS:
新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!
使用说明:
无
点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
我每天分享指标,不求打赏,请大家看完文章后保持互动
帮忙点击底部【在看+赞】
保持互动,系统才会及时向你推送文章,不错过精品指标。