点击关注☝,置顶+星标每天订阅,学习更多指标内容☼☝
公式如下:
所属板块:=STRCAT('【所属板块】:',STRCAT(STRCAT(' [行业]—',HYBLOCK),STRCAT(' [概念]—',GNBLOCK)));风格板块:=STRCAT('【风格板块】:',STRCAT(STRCAT(' [地域]—',DYBLOCK),STRCAT(' [风格]—',FGBLOCK)));总股本:=STRCAT(STRCAT(' 总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');流通盘:=STRCAT(STRCAT(' 流通盘:',CON2STR(CAPITAL/1000000,2)),'亿');全流通:=STRCAT(STRCAT(' 流通比:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');市值:=STRCAT(STRCAT(' 流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');股本市值:=STRCAT('【股本市值】:',STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值));市盈率:=STRCAT(' 市盈率:',CON2STR(C/FINANCE(33),2));净资收益率:=STRCAT(' 净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));当前业绩:=STRCAT('【当前业绩】:',STRCAT(STRCAT(市盈率,净资收益率),主营利润率));DRAWTEXT_FIX(ISLASTBAR,0.005,0.02,0,所属板块),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR ,0.005,0.07,0,风格板块),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,股本市值),COLORMAGENTA;DRAWTEXT_FIX(ISLASTBAR,0.005,0.17,0,当前业绩),COLORMAGENTA;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;MA5:MA(CLOSE,5) COLORYELLOW LINETHICK2;MA10:MA(CLOSE,10)LINETHICK3,COLORMAGENTA;MA30:MA(CLOSE,30)DOTLINE;MA40:=MA(CLOSE,40);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);ANGEL:=EMA(CLOSE,2);DEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);IBUY:=CROSS(ANGEL,DEVIL);ISEL:=CROSS(DEVIL,ANGEL);RMA10:=MA(CLOSE,10);RMA20:=MA(CLOSE,20);RMA40:=MA(CLOSE,40);RMA60:=MA(CLOSE,60);RMA120:=MA(CLOSE,120);RANGEL:=EMA(CLOSE,2);RDEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);LBUY:=CROSS(ANGEL,DEVIL);N:=7;M:=5;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;B:=SMA(VAR1,N,1);VAR2:=SMA(B,M,1);MAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;MAR2:=LLV(LOW,34);MAR3:=HHV(HIGH,34);SK:=EMA((MAR1-MAR2)/(MAR3-MAR2)*100,13);LDB:=B<=10 AND SK<=10 AND B>REF(B,1) AND SK>REF(SK,1);龙抬头:=LBUY AND LDB COLORMAGENTA ;DRAWICON(CROSS(龙抬头,0.5),L,9);DRAWTEXT(CROSS(龙抬头,0.5),L*0.98,'←龙抬头'),COLORYELLOW;STICKLINE(CROSS(龙抬头,0.5),C,O,2,0),COLORYELLOW;STICKLINE(CROSS(龙抬头,0.5),H,L,0,0),COLORYELLOW;
信号比较简单,做个一“龙抬头”的选股,如果有公式问题,扫描下方二维码联系我。
选股公式如下:
ANGEL:=EMA(CLOSE,2);DEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);IBUY:=CROSS(ANGEL,DEVIL);RANGEL:=EMA(CLOSE,2);RDEVIL:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);LBUY:=CROSS(ANGEL,DEVIL);N:=7;M:=5;VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;B:=SMA(VAR1,N,1);VAR2:=SMA(B,M,1);MAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;MAR2:=LLV(LOW,34);MAR3:=HHV(HIGH,34);SK:=EMA((MAR1-MAR2)/(MAR3-MAR2)*100,13);LDB:=B<=10 AND SK<=10 AND B>REF(B,1) AND SK>REF(SK,1);龙抬头:LBUY AND LDB ;
测试一下,平仓规则是,不论盈亏,以持股5天后平仓为条件,胜率62.71%
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
END
如果知识内容对你有帮助,可以点赞
or 点在看
,分享给更多的人☟☟☟↓↓↓ |