一个和个股股价无关的指标---源码加图
-^O O^-与个股无关的指标-^O O^-
{N(1,100.5)可调}
N:=5;
A1:=((INDEXC-(REF(INDEXC,1)))/(REF(INDEXC,1)))*100;
A2:=((HY_INDEXC -(REF(HY_INDEXC,1)))/(REF(HY_INDEXC,1)))*100;
A5:=(EMA((A2-A1),10));
A6:=REF(A5,1);
STICKLINE((A5>A6),A5,A6,3,0),COLORRED;
STICKLINE((A5<A6),A5,A6,3,1),COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.95,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.11,0.95,0,STKNAME),COLORYELLOW;
SUPER_T:REF(HHV(A5,N),1),COLORGREEN,DOTLINE;
SUPER_B:REF(LLV(A5,N),1),COLORLIRED,DOTLINE;
说明:这只是一个巧合,不作为买卖依据。大家可以DIY哈