飞狐红星照我去战斗主图指标公式源码如下: DK:=(COST(20)+(COST(70)-COST(50))); DKX:=((Ema(Ema(DK,63),3)+Ema(Ema(DK,63),6)+Ema(Ema(DK,63),12))+Ema(Ema(DK,63),24))/4,COLORCYAN,LINETHICK2; 成本:ema(DKX,567),LINETHICK2,COLORWHITE; 均价:=(2*C+(H-L)/2+L+o)/4; p1:=if(STKTYPE=0,2,3); 价差:=SUM(均价-REF(均价,1),p1)/p1; GG:EMA((均价+价差),7),COLORWHITE; MM:EMA((均价+价差),21),COLORCYAN; PARTLINE(gg>=REF(GG,1),GG),COLOR9900FF; {www.gpxiazai.com 股票软件下载网_股票飞狐指标公式} PARTLINE(MM>=REF(MM,1),MM),COLORRED,LINETHICK2; 金线:(EMA(MM,3)+EMA(MM,6)+EMA(MM,12)+EMA(MM,24))/4,COLORYELLOW,LINETHICK2; 庄线:(Ema(EMA(MM,63),3)+Ema(EMA(MM,63),6)+EMA(EMA(MM,63),12)+EMA(EMA(MM,63),24))/4,COLOR0066FF,LINETHICK2; 临界:(1+12/100)*EMA(EMA(MM,2),2),LINEDOT,color18A4FF; 反弹:(1-12/100)*EMA(EMA(MM,2),2),LINEDOT,COLORGRAY; 庄获利:=(WINNER(均价)-WINNER(成本*1.2))*100; 底:=BARSLAST(REF(CROSS(EMA(均价+价差,3),反弹),1)) AND CROSS(EMA(均价+价差,3),反弹)AND 庄获利>REF(庄获利,1); DRAWTEXT(底,LOW*0.95,'★'),COLORRED,ALIGN0; |