通達(dá)信公式——?jiǎng)討B(tài)底部副圖指標(biāo) 收益:FINANCE(33),NODRAW; 流通:FINANCE(7)/100000000,NODRAW; 換手:V/CAPITAL*100,NODRAW; {N=13 , M=3} 好趨勢3:=MA((3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,3,1)),2) -MA((2*SMA(SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,3,1),3,1)),2); 動(dòng)態(tài)底部3:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1) /SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趨勢3<REF(好趨勢3,1) AND 好趨勢3<50,0,40),COLORWHITE; DRAWBAND(動(dòng)態(tài)底部3,RGB(100,00,100),0,DRAWNULL); 好趨勢2:=MA((3*SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1)),2) -MA((2*SMA(SMA((C-LLV(L,M))/(HHV(H,M)-LLV(L,M))*100,3,1),3,1)),2); 動(dòng)態(tài)底部2:=IF(EMA(IF(L<=LLV(L,13),SMA(ABS(L-REF(L,1)),5,1) /SMA(MAX(L-REF(L,1),0),5,1),0),3)*10 AND 好趨勢2<REF(好趨勢2,1) AND 好趨勢2<50,0,20),COLORWHITE; 買警0:=IF(好趨勢2<=30 AND 好趨勢2<REF(好趨勢2,1),50.1,100),LINETHICK1,COLORLIGRAY; 買警01:=IF(好趨勢2<=27 AND 好趨勢2<REF(好趨勢2,1),50.2,100),LINETHICK1,COLORLIGRAY; 買警02:=IF(好趨勢2<=24 AND 好趨勢2<REF(好趨勢2,1),50.4,100),LINETHICK1,COLORLIGRAY; 買警03:=IF(好趨勢2<=21 AND 好趨勢2<REF(好趨勢2,1),50.6,100),LINETHICK1,COLORLIGRAY; 買警04:=IF(好趨勢2<=18 AND 好趨勢2<REF(好趨勢2,1),50.8,100),LINETHICK1,COLORLIGRAY; 買警05:=IF(好趨勢2<=15 AND 好趨勢2<REF(好趨勢2,1),30,100),LINETHICK1,COLORLIGRAY; 買警06:=IF(好趨勢2<=12 AND 好趨勢2<REF(好趨勢2,1),30.2,100),LINETHICK1,COLORLIGRAY; 買警07:=IF(好趨勢2<=9 AND 好趨勢2<REF(好趨勢2,1),30.4,100),LINETHICK1,COLORLIGRAY; 買警08:=IF(好趨勢2<=6 AND 好趨勢2<REF(好趨勢2,1),30.6,100),LINETHICK1,COLORLIGRAY; 買警09:=IF(好趨勢2<=3 AND 好趨勢2<REF(好趨勢2,1),30.8,100),LINETHICK1,COLORLIGRAY; 買警010:=IF(好趨勢2<=0 AND 好趨勢2<REF(好趨勢2,1),30.9,100),LINETHICK1,COLORLIGRAY; 買警011:=IF(好趨勢2<=-3 AND 好趨勢2<REF(好趨勢2,1),10,100),LINETHICK1,COLORLIGRAY; DRAWBAND(100,RGB(5,5,5),買警0,DRAWNULL); DRAWBAND(100,RGB(10,10,10),買警01,DRAWNULL); DRAWBAND(100,RGB(15,15,15),買警02,DRAWNULL); DRAWBAND(100,RGB(20,20,20),買警03,DRAWNULL); DRAWBAND(100,RGB(25,25,25),買警04,DRAWNULL); DRAWBAND(100,RGB(30,30,30),買警05,DRAWNULL); DRAWBAND(100,RGB(35,35,35),買警06,DRAWNULL); 因字?jǐn)?shù)限制,源碼發(fā)不完整,請諒解#股市財(cái)經(jīng)# |
|