N:=26;M1:=10;M2:=20;M3:=40;M4:=62;
A:REF(MA(CR,M1),1+M1/2.5);
B:REF(MA(CR,M2),1+M2/2.5);
STICKLINE( A>B,A,B,0,0),COLOR0000FF;
STICKLINE( A<B,A,B,0,0),COLOR00FF88;
DRAWBAND(A,RGB(155,50,50),B,RGB(0,100,50));
MID:=REF(HIGH+LOW,1)/2;
CR:SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*100,COLORWHITE;
{ 爱约股_最新股票指标公式}
MA3:REF(MA(CR,M3),1+M3/2.5)COLORGREEN;
MA4:REF(MA(CR,M4),1+M4/2.5)COLORBLUE;