均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
人:=MA(实价,8);
人角:=ATAN((人/ref(人,1)-1)*100)*180/3.1416;
MM:=EMA(均价+价差,64);
xm:=EMA(均价,64);
I0:=(Ema(MM,3)+Ema(MM,6)+EMA(MM,12)+EMA(MM,24))/4;
I1:=(Ema(xm,3)+Ema(xm,6)+EMA(xm,12)+EMA(xm,24))/4;
牛熊线:=0.5*(I0+I1),LINETHICK,COLORRED;
庄:=(ema(eMA(MM,84),3)+ema(eMA(MM,84),6)+eMA(eMA(MM,84),12)+eMA(eMA(MM,84),24))/4;
小庄线:=(ema(eMA(xm,84),3)+ema(eMA(xm,84),6)+eMA(eMA(xm,84),12)+eMA(eMA(xm,84),24))/4;
庄线:=(庄+小庄线)/2;
乖离:=(人-牛熊线)/牛熊线*100;
乖离0:=(牛熊线-庄线)/庄线*100;
LC := REF(实价,1);
RSIC:=SMA(MAX(实价-LC,0),26.5,1)/SMA(ABS(实价-LC),26.5,1)*100;
JgV:=(5*V+4*REF(V,1)+3*REF(V,2)+2*REF(V,3)+1*REF(V,4))/(5+4+3+2+1);
MMV:=EMA(V,55);
xmV:=EMA(JgV,55);
IV0:=(Ema(MMV,3)+Ema(MMV,6)+EMA(MMV,12)+EMA(MMV,24))/4;
IV1:=(Ema(xmV,3)+Ema(xmV,6)+EMA(xmV,12)+EMA(xmV,24))/4;
生命:=0.5*(IV0+IV1);
返身:乖离0<5 AND ALL(乖离0>-1,5)AND CROSS(乖离0,REF(乖离0,1))AND RSIC>REF(RSIC,1)AND V>生命 AND 人角>15;
加油:乖离<2 AND ALL(乖离>-1,5)AND CROSS(乖离,REF(乖离,1))AND RSIC>REF(RSIC,1)AND V>生命 AND 人角>15;