九毛八公式指标
公式模块:
请在分时画线处作一选股。
现量:=MAX(0,SBUSAMEDAY(&vol)),colorwhite,LINETHICK2;;
CC:IF(ISNULL(NEW),PRE,NEW);
均线:=SUM(SBUSAMEDAY(&VOL)*CC,0)/VOL;
均线H:(均线*1.007 ),COLORFF6600;
均线L:(均线/1.005 ),COLOR00FF00;
均线横盘:=Cc<均线H AND Cc>均线L;
STICKLINE(均线横盘,均线L,均线,3,0),coloryellow;
放量:=SUM(现量,6)>REF(MA(现量,30),1)*10;
横盘:=((HHV(Cc,BARSCOUNT(Cc))-LLV(Cc,BARSCOUNT(Cc)))/Cc)<1;
横涨:=横盘 AND 放量 AND (Cc>均线H);
横跌:=横盘 AND 放量 AND crOSS(均线L,Cc) ;
突破:=FILTER(横涨,100);
下破:=FILTER(横跌,50);
DRAWTEXT(突破,均线H,'★突破'),COLORFF00FF;
MA30:=EMA(Cc,30);
强弱界定:EMA(Cc,900);
STICKLINE((MA30>强弱界定),MA30,强弱界定,1,0),COLOR0000FF;
STICKLINE((MA30<强弱界定),MA30,强弱界定,1,0),COLOR00FF00;
VERLINE(CROSS(MA30,强弱界定),1);
H1:=MAX(PRE,HHV(Cc,0));
L1:=MIN(PRE,LLV(Cc,0));
P1:=H1-L1;
阻力:L1+P1*7/8,COLOR00DD00;
支撑:L1+P1*0.5/8,COLOR00DD00;
STICKLINE(突破>0,支撑,阻力,2,0),colorred;
JX:IF(BETWEEN(Cc/(SUM(AMOUNT,0)/SUM(现量,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(现量,0))),coloryellow;