个股天气
{个股获利天气 副图公式}
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;
LONG:=C*V/10000;
SLONG:REF(C,1),COLORWHITE,LINETHICK2;
IF(SLONG>=REF(SLONG,1),SLONG,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(SLONG< REF(SLONG,1),SLONG,DRAWNULL),COLORWHITE,LINETHICK3;
X:=(3*C+L+O+H)/6;
LLONG:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORGREEN,LINETHICK2;
IF(LLONG>=REF(LLONG,1),LLONG,DRAWNULL),COLORRED,LINETHICK3;
IF(LLONG< REF(LLONG,1),LLONG,DRAWNULL),COLORGREEN,LINETHICK3;
获利MACD:DRAWICON(CROSS( SLONG ,LLONG), SLONG ,25),LINETHICK2;
DRAWTEXT(FILTER(获利MACD ,8),LLONG-0.05,'↖低吸'),COLORGREEN;
STICKLINE(获利MACD,OPEN,LLONG,2,0),COLORYELLOW,LINETHICK0;
三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);
三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3);