「翔博精选指标」新组合主图_起爆点 大胆博 加仓 小心变盘 逃顶
2022-02-14原创 编 辑:翔博软件
包含信号:起爆点 大胆博 加仓 小心变盘 逃顶 托压双线 买卖点 牛窝
他类型 主图叠加}
{三条主线};
短线:=EMA(CLOSE,5);
趋势线:=EMA(CLOSE,10);
生命线:EMA(CLOSE,30),LINETHICK2,COLORRED;
警戒线:IF(短线 > 趋势线,趋势线,短线),LINETHICK2,COLORYELLOW;
{IF(短线 > 趋势线,短线,DRAWNULL);
IF(短线 <趋势线,趋势线,DRAWNULL);}
抄底:=(CLOSE / OPEN>1.07 AND 100*(CLOSE-MA(CLOSE,30)) / MA(CLOSE,30)<-10);
买涨:=(BARSLAST(COUNT(生命线>=REF(生命线,1)=3 AND CROSS(趋势线,生命线)AND L<=趋势线,5)));
追进:=COUNT(生命线>=REF(生命线,1),3)=3 AND COUNT(趋势线>生命线,10)>8 AND REF(趋势线,1)<REF(生命线,1)*1.02 AND 趋势线>=生命线*1.02;
VARA1:=(MA(CLOSE,20) + (2 * STD(CLOSE,20)));
VARA2:=CROSS(REF(CLOSE,2),VARA1);
VARA3:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),8,1)) * 100);
VARA4:=CROSS(79,VARA3);
减仓:=(FILTER((VARA2 OR VARA4),5));
STICKLINE(CLOSE / OPEN>1.07 AND 100*(CLOSE-MA(CLOSE,30)) / MA(CLOSE,30)<-10,L*0.992,L*0.98,6,0),COLORRED;
STICKLINE(FILTER(BARSLAST(COUNT(生命线>=REF(生命线,1),3)=3 AND CROSS(趋势线,生命线))<=5 AND L<=趋势线,5),L*0.992,L*0.98,6,0),COLORMAGENTA;
STICKLINE(COUNT(生命线>=REF(生命线,1),3)=3 AND COUNT(趋势线>生命线,10)>8 AND REF(趋势线,1)<REF(生命线,1)*1.02 AND 趋势线>=生命线*1.02,L*0.992,L*0.98,6,0),COLORBLUE
{买卖点和加仓、牛窝};
{基本面数据}
利润同比:=STRCAT('利润同比:',CON2STR(FINANCE(43),2));
收入同比:=STRCAT('收入同比:',CON2STR(FINANCE(44),2));
主营利润率:=STRCAT('主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
市净率:=STRCAT('市净率:',CON2STR(C/FINANCE(34),2));
所属地域:=STRCAT('所属地域:',DYBLOCK);
所属行业:=STRCAT('所属行业:',HYBLOCK);
所属概念:=STRCAT('所属概念:',GNBLOCK);
所属风格:=STRCAT('所属风格:',FGBLOCK);
DRAWTEXT_FIX(1,0.00,0.01,0,利润同比),COLORMAGENTA;
DRAWTEXT_FIX(1,0.11,0.01,0,收入同比),COLORMAGENTA;
DRAWTEXT_FIX(1,0.22,0.01,0,主营利润率),COLORMAGENTA;
DRAWTEXT_FIX(1,0.00,0.05,0,所属地域),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.09,0,所属行业),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.13,0,所属概念),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.17,0,所属风格),COLORCYAN;