发一个原创选股和主图指标,指标命名为“强势起飞”,指标为原创通用源码。
{强势起飞选股}
ma5:=ma(c,5);
布林上轨:=MA(CLOSE,24)+2*STD(CLOSE,24);
XG1:=o<ma5 AND C>MA5 AND o<布林上轨 AND C>布林上轨 AND MA(C,60)>REF(MA(C,60),1) AND C/REF(C,1)>1.03;
XG:COUNT(REF(XG1,1),5)<1 AND XG1;
{强势起飞主图}
ma5:ma(c,5);
ma24:ma(c,24);
ma60:ma(c,60);
布林上轨:MA(CLOSE,24)+2*STD(CLOSE,24);
bulin:=o<ma5 AND C>MA5 AND o<布林上轨 AND C>布林上轨 AND MA(C,60)>REF(MA(C,60),1);
DRAWTEXT(bulin,H*1.02,'★强势起飞'),coloryellow;