九毛八公式指标
能不能先把飞天指标改成通达信的?谢谢, 大智慧源码: 飞天:MA(CLOSE,25)+MA(CLOSE,25)*20/100,COLORRED,LINETHICK2; 强势线:MA(CLOSE,25)+MA(CLOSE,25)*6/100,COLORYELLOW,LINETHICK2; 支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFCC00,LINETHICK2; 压力线:MA(HIGH,5),COLORMAGENTA; MA10:MA(CLOSE,10),coloryellow,linethick0; MA54:MA(CLOSE,54),Colorffcccc,linethick0; PL1:=(((CLOSE - MA54) / MA54) < 0.1); PL2:=(((CLOSE - MA10) / MA10) < 0.3); 偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2); 平台突破:=((((偏离率 = 0) AND (REF(偏离率,1) = 0.2)) AND (REF((COUNT((偏离率 = 0.2),10) = 10),1) = 1)) * -0.1); DRAWTEXT(平台突破,l,'突破★牛股'),COLORFFCC00;
公式模块:
s1:=((c-ma(c,54))/ma(c,54))<0.1 and ((c-ma(c,10))/ma(c,10))<0.3;
s1=0 and ref(every(s1,10),1);