精品主图 两月翻一番
大智慧精品主图 ( 两月翻一番)源码
MA10:MA(C,10),COLORWHITE;
MA20:MA(C,20),COLORYELLOW;
MA40:MA(C,40),COLORRED;
MA60:MA(C,60),COLORGREEN;MA120:MA(C,120),COLORE66878;
MA250:MA(C,250),COLORFF937F;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
REF(HHJSJDA,20))/210;
HHJSJDC:=MA(HHJSJDB,5);
STICKLINE(HHJSJDB>HHJSJDC,HHJSJDB,HHJSJDC,10,0),COLORYELLOW;
STICKLINE(HHJSJDC>HHJSJDB,HHJSJDB,HHJSJDC,10,0),COLORBLUE;
MA21:=EMA(CLOSE,21);
MID:=MA(CLOSE,21);
风险线:= MA(CLOSE,13);
止损线:= MA(CLOSE,27);
牛熊线:=EMA(C,250);
界:=MA(CLOSE,21);
DRAWTEXT(CROSS(MA10,界),(LOW * 0.80),'◇底背离'),COLORWHITE;
DRAWTEXTABS(5,5,'每次都抓主升浪'),linethick1,COLOR00EEff;
DRAWTEXT(CROSS(C,止损线)AND 止损线>风险线,(LOW * 0.96),'主升浪'),COLORRED,LINETHICK3;
DK:=MA(((SLOPE(C,20)*5)+C),20);
STICKLINE(DK=OPEN,HIGH,LOW,0.1,1),COLORRED;
STICKLINE(DK=OPEN,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(DKC AND CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORGREEN;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(DK>C AND CLOSEC AND CLOSE1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),
EMA8,'∠45上升'),COLORWHITE;
BEGIN DRAWTEXTREL(0,10,'所属板块:'+BKNAME),LINETHICK1,ColorF7F700;end;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
DRAWTEXTREL(800,100,'量能饱和度:'+NUMTOSTRN(SAT,0)),LINETHICK2,Color00FBFB;
DD:=FINANCE2(35)/10000;
SS:=FINANCE2(37)/10000;
GG:=FINANCE2(3);
TH:=DYNAINFO(39);
DRAWTEXTABS(0,20,'总股本:'+NUMTOSTRn(DD,2)+'亿股' +'流通A股:'+NUMTOSTRn(SS,2)+'亿股'+'市盈率:'+NUMTOSTRn(TH,2)+' 倍'+'每股收益:'+NUMTOSTRn(GG,3)+' 元'),ColorF7F700;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');