{TU1黄白线}
EXP12:=EXPMA(C,12);
EXP50:=EXPMA(C,50);
六十:MA(C,60),COLORGREEN,DOTLINE;
股价:MA(C,3),COLORRED,LINETHICK0;
白线:EXP12,COLORWHITE,LINETHICK0;
黄线:EXP50,COLORYELLOW,LINETHICK0;
参考:=EXPMA(C,26),DOTLINE,LINETHICK0;
持有线:IF(C>白线 AND EXP12>EXP50,白线,DRAWNULL),COLOR80FFFF,LINETHICK2;
支撑线:IF(EXP12>EXP50,黄线,DRAWNULL),COLORRED,LINETHICK2;
金叉:=CROSS(EXP12,EXP50);
DRAWTEXT(金叉,L*0.95,'金叉'),COLORYELLOW;
{说明与提示 各图通用部分--不要修改}
行业:=STRCAT('行业:',HYBLOCK);
行业1:=STRCAT(行业,' ');
概念:=STRCAT(行业1,'概念:');
概念1:=STRCAT(概念,GNBLOCK);
概念2:=STRCAT(概念1,' ');
行业代码:=STRCAT(概念2,'行业代码:');
行业代码1:=STRCAT(行业代码,HYZSCODE);
{风格板块}
事项:=STRCAT('事项:',FGBLOCK);
DRAWRECTREL(20,15,225,255,RGB(32,0,0));
DRAWTEXT_FIX(ISLASTBAR,0.03,0.03,0,'哇了个噻战法:'),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.04,0.08,0,'1:黄线出现,小幅建仓'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.04,0.12,0,'2:黄线消失,减仓或清仓{看黄线支撑}'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.04,0.16,0,'3:{黄线有支撑买回,}破了红线坚决清仓'),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.04,0.20,0,'4:MACD指标贴近0轴小幅度反复缠绕盘整,远离'),COLORWHITE;
{DRAWTEXT_FIX(ISLASTBAR,0.051,0.24,0,行业代码1),COLOR00FFFF;}
{DRAWTEXT_FIX(ISLASTBAR,0.051,0.28,0,事项),COLOR00FFFF;}
DRAWTEXT_FIX(ISLASTBAR,0.4,0.03,0,概念1),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.4,0.07,0,事项),COLOR00FFFF;