大智慧大智慧趋势主图源码,用来趋势判断,非常不错的,多空明了
DRAWGBKLAST(CLOSE>0,STRIP(RGB(85,105,185),RGB(0,0,0),0));
VAR1z:=EMA(AMOUNT/VOL/100,3);
成本:EMA(VAR1z,88),LINETHICK2,COLORffff00;
SSL:=EMA(CLOSE,3);
MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
MM:=MA(MMV,1);
SA:=(MM*0.985);
趋势:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORyellow;
AA10:=MA(C,10);
BB10:=ATAN((AA10-REF(AA10,1)))*180/3.1416;
STICKLINE(BB10>1 AND AA10>REF(AA10,1), o,c,5,0),COLORRED;
STICKLINE(BB10<1 AND AA10<REF(AA10,1), o,c,5,0),COLORGREEN;
DRAWTEXTABS(10,1,BKNAME ),colorff00ff;
DRAWTEXTABS(10,15,'流通盘:'+CAPITAL/100+'万股,利润增长:'+FINANCE2(10)+'%。市盈率'+DYNAINFO(39)+'倍。每股收益:'+FINANCE2(3)+'元。'),coloryellow;
Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
A1:(EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,14)+EMA(Var1,14))/4,ColorFF8000;
PARTLINE(A1,A1>=REF(A1,1),RGB(255,0,0),A1<=REF(A1,1),RGB(0,100,250)),LINETHICK1;
A2: EMA(A1,3);
PARTLINE(A2,A2>=REF(A2,1),RGB(255,70,20),A2<=REF(A2,1),RGB(0,100,250)),LINETHICK1;
A3: EMA(A2,4);
PARTLINE(A3,A3>=REF(A3,1),RGB(255,90,40),A3<=REF(A3,1),RGB(0,100,250)),LINETHICK1;
MA1:EMA(CLOSE,4),ColorC0C0C0,linethick1;
PARTLINE(mA1,mA1>=REF(mA1,1),RGB(255,0,0),mA1<=REF(mA1,1),RGB(50,210,20)),LINETHICK1;
MA2:EMA(CLOSE,5),ColorC0C0C0;
PARTLINE(mA2,mA2>=REF(mA2,1),RGB(255,0,0),mA2<=REF(mA2,1),RGB(50,210,20)),LINETHICK1;
MA3:EMA(CLOSE,6),ColorC0C0C0;
PARTLINE(mA3,mA3>=REF(mA3,1),RGB(255,0,0),mA3<=REF(mA3,1),RGB(50,210,20)),LINETHICK1;
A55:EMA(A1,18);
PARTLINE(A55,A55>=REF(A55,1),RGB(250,20,141),A55<=REF(A55,1),RGB(255,255,255)),LINETHICK1;
A56:EMA(A55,3);
PARTLINE(A56,A56>=REF(A56,1),RGB(250,20,141),A56<=REF(A56,1),RGB(255,255,255)),LINETHICK1;
A57:EMA(A55,5);
PARTLINE(A57,A57>=REF(A57,1),RGB(250,20,141),A57<=REF(A57,1),RGB(255,255,255)),LINETHICK1;