{主力变盘突破主图源码如下}
所属板块:=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;
G1:=CLOSE;
G2:=LOW;
G3:=OPEN;
G4:=HIGH;
游资潜伏1:=MEMA(EMA((((C-O)*2)+O),20),10) ;
游资潜伏2:=MEMA(MEMA((((C-O)*2)+O),3),10);
DRAWBAND(游资潜伏1,RGB(0,0,255),游资潜伏2,RGB(255,100,228));
涨跌:EMA((MA(G1,5)),3) ,LINETHICK3,COLORGREEN;
IF(涨跌>REF(涨跌,3),涨跌,DRAWNULL),LINETHICK3,COLORRED;
IF(涨跌< REF(涨跌,3),涨跌,DRAWNULL),LINETHICK3,COLORGREEN;
擒龙筹码1:=((G1-(MA(G1,13)))/(MA(G1,13)))*-100;
擒龙筹码2:=((G1-(LLV(G2,13)))/((HHV(G4,13))-(LLV(G2,13))))*100 ;
擒龙筹码3:=SMA(擒龙筹码2,3,2);
擒龙筹码4:=SMA(擒龙筹码3 ,3,2);
擒龙筹码5:=SMA(擒龙筹码4 ,5,1);
抓底部:=(((REF(擒龙筹码1,1))>=16) AND (((REF(擒龙筹码1,1))/擒龙筹码1)>=1.23)) AND (CROSS(擒龙筹码4,擒龙筹码5));
DRAWTEXT(抓底部,G2,'★抓底部'),COLORWHITE;
主力强启动1:=MA(G1,41)+MA(G1,41)*10/100;
主力强启动2:=MA(G1,23)+MA(G1,23)*5/100;
主力强启动3:=(MA(G1,3)+MA(G1,6)+MA(G1,12)+MA(G1,24))/4;
主力强启动4:=G1>REF(G1,1)*1.05 ;
DRAWTEXT(CROSS(主力强启动3,主力强启动2) AND 主力强启动4,G2*0.98,'强启动'),LINETHICK2,COLORMAGENTA;
STICKLINE((CROSS(主力强启动3,主力强启动2) AND 主力强启动4),G3,G1,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(主力强启动3,主力强启动1) AND 主力强启动4,G2,'涨成妖'),LINETHICK2,COLORRED;
STICKLINE((CROSS(主力强启动3,主力强启动1) AND 主力强启动4),G3,G1,3,0),COLORRED;
游资启动1:=100*(HHV(G4,21)-G1)/(HHV(G4,21)-LLV(G2,21));
游资启动2:=100*(HHV(G4,42)-G1)/(HHV(G4,42)-LLV(G2,42));
游资启动3:=((EMA(G1,12)-EMA(G1,26))-(EMA((EMA(G1,12)-EMA(G1,26)),9)))*2;
游资启动4:=(G4+G2+G1)/3 ;
游资启动5:=(游资启动4-MA(游资启动4,14))/(0.015*AVEDEV(游资启动4,14));
游资启动6:=IF((CROSS(游资启动1,20) AND CROSS(游资启动2,20)),0,1);
游资启动7:=CROSS(游资启动5,250) AND CCI>REF(CCI,1) AND 游资启动3>0 AND 游资启动6 AND C>EMA(C,200);
游资启动8:=SMA(H,14,2)*1.08;
持续涨:FILTER((游资启动7 AND C>游资启动8) OR (REF(游资启动7,1) AND C>游资启动8),3),NODRAW,COLORYELLOW;
DRAWTEXT(持续涨,L*0.99,'持续涨'),LINETHICK2,COLORYELLOW;
STICKLINE(持续涨,G1,G3,3,0),COLORYELLOW,LINETHICK4;
{主力变盘突破副图源码如下}
G1:=CLOSE;
G2:=LOW;
G3:=OPEN;
G4:=HIGH;
变盘突破1:=(G1*2+G4+G2)/4*10;
变盘突破2:=EMA(变盘突破1,13)-EMA(变盘突破1,34);
变盘突破3:=EMA(变盘突破2,5);
变盘突破4:=2*(变盘突破2-变盘突破3)*5.5;
CTA1:=(G1-LLV(G2,13))/(HHV(G4,13)-LLV(G2,13))*100;
CTA2:=(G1-LLV(G2,9))/(HHV(G4,9)-LLV(G2,9))*100;
CTA3:=(SMA(CTA2,3,1)-18)*1.55;
CTA4:=SMA(CTA3,3,1);
CTA5:=(G1-LLV(G2,100))/(HHV(G4,100)-LLV(G2,100))*100;
CTA6:=SMA(CTA5,10,1);
CTA7:=(EMA(SMA(CTA6,8,1),34)-25)*2.6;
CTA8:=POW(MA(G1,5),2)+MA(G1,5);
CTA9:=POW(MA(G2,5),2)+MA(G2,5);
CTB1:=(H-REF(C,1))/REF(C,1)*100;
CTB2:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND CTB1>=4.945;
CTB3:=C=ZTPRICE(REF(C,1),0.1) OR CTB2 ;
CTB4:=HHV(VOL,10);
CTB5:=BARSLAST(CTB4=VOL);
强势线:变盘突破4,COLORMAGENTA,DOTLINE,LINETHICK1;
节点预警:CROSS(C,REF(C,CTB5)) AND CTB3 AND NOT(DYNAINFO(4)=0);
DRAWICON(CROSS(强势线,节点预警),节点预警*1.002,25);
STICKLINE(节点预警,0,38,2,0),COLORRED;
DRAWTEXT(节点预警,25.89,' ★变盘'),COLORRED;