源码
ly1:=(LOW+HIGH)/2;
ly2:=REF(ly1,1);
ly3:=SMA(ly1-ly2,12,1)/SMA(ABS(ly1-ly2),12,1)*100;
L1:ly3,colorWHITE;
L2: EMA(L1,8),coloryellow,linethick1;
L3: EMA(L1,20),LINETHICK1,colormagenta;
L4:ema(L2,40),linethick1,colorgreen;{colorC0D155};{40}
stickline(L4-ref(L4,1)>0,-100,-95,10,0),colordddddd;
stickline(L4-ref(L4,1)<0,-100,-95,10,1),color889900;
战鹰: if(CROSS(L1,L3) and L2<-30