缺口:=(L>REF(H,1));
不破:=(ALL(L>REF(H,BARSLAST(缺口)+1),BARSLAST(缺口)+1));
STICKLINE(不破,REF(H,BARSLAST(缺口)+1),REF(L,BARSLAST(缺口)),10,0),COLORGRAY;
均价:=(2*C+(H-L)/2+L+o)/4;
价差:=SUM(均价-REF(均价,1),3)/3;
实价:=(均价+价差);
人:MA(实价,8),COLORWHITE,LINETHICK2;
人角:ATAN((人/ref(人,1)-1)*100)*180/3.1416,LINETHICK,COLORGREEN;
PARTLINE(人角>30,人),COLORMAGENTA,LINETHICK2;
PARTLINE(人角>45,人),COLORYELLOW,LINETHICK2;
PARTLINE(人角>60,人),COLORRED,LINETHICK2;
PARTLINE(人角<0,人),COLORAAAA00,LINETHICK2;
PARTLINE(人角<-30,人),COLOR00bb00,LINETHICK2;
MM:=EMA(均价+价差,64),COLORCYAN;
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,COLORYELLOW;
小庄线:=(ema(eMA(xm,84),3)+ema(eMA(xm,84),6)+eMA(eMA(xm,84),12)+eMA(eMA(xm,84),24))/4,COLORRED;
FILLRGN(庄>小庄线,庄,小庄线),COLOR7F00FF,LINETHICK1;
FILLRGN(庄<小庄线,庄,小庄线),COLORGRAY,LINETHICK2;
庄线:(庄+小庄线)/2,COLORYELLOW,LINEDOT;
STICKLINE(i0<i1,i1,i0,10,0),COLOR00bb00;
STICKLINE(I0>I1,I1,I0,10,0),COLORRED;