飞狐阴阳K线副图指标
源码
阴阳线:SUM( SGN(c-REF(c,1)),0),colorwhite,linethick2;
mma:=MA(阴阳线,7);底线:mma-3,coloryellow,linethick1;
顶线:mma+3,coloryellow,linethick1;
STICKLINE(mma>ref(mma,1) ,mma ,ref(mma,1),10 ,0 ),colorred,linethick1;
STICKLINE(mma<=ref(mma,1) ,mma ,ref(mma,1) ,10 ,0 ),colorgreen,linethick1;
STICKLINE(mma>ref(mma,1) ,顶线 ,底线 ,1 ,0 ),colorred;
STICKLINE(mma<=ref(mma,1) ,顶线 ,底线 ,1 ,0 ),colorgreen;