资源描述:
《大智慧冷暖气带主图指标公式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、大智慧冷暖气带主图指标公式MA5:MA(CLOSE,5),PRECIS2;MA10:MA(CLOSE,10),PRECIS2;MA20:MA(CLOSE,20),PRECIS2;MA30:MA(CLOSE,30),PRECIS2;MA60:MA(CLOSE,60),PRECIS2;MA120:MA(CLOSE,120),PRECIS2;{彩带}FILLRGN(MA60,MA120,MA60>MA120,RGB(86,0,0),MA602、(MA5,MA10,MA5>MA10,RGB(128,0,128),MA53、↑空间%:(C/REF(L,上涨)-1)*100,COLOR339999,linethick0;最高%:(HHVALL(HH)/REF(L,上涨)-1)*100,COLORDD66DD,linethick0;下跌:BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(H=HH)+1)),COLOR008800,linethick0;↓空间%:(C/REF(H,下跌)-1)*100,COLOR998888,linethick0;最低%:(LLVALL(LL)/REF(H,下跌)
4、-1)*100,COLORFF9900,linethick0;DRAWTEXTABS(40,08,'所属板块:'+BKNAME),Color009999,linethick1,LAYER6;DRAWTEXTABS(40,26,'流通盘:'+CAPITAL/1000000+'亿股,利润增长:'+FINANCE2(10)+'%。每股收益:'+FINANCE2(3)+'元'+'市盈率:'+DYNAINFO(39)+'%'),ColorFFBB33,linethick1,LAYER6;{买卖指示}Var0:=
5、SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100;DRAWTEXT(CROSS(82,Var0),high,'快卖'),colorwhite;s:=C-REF(C,1);DX:=100*EMA(EMA(s,6),6)/EMA(EMA(ABS(s),6),6);买:=IF(LLV(DX,2)=LLV(DX,7)ANDCOUNT(DX<0,2)ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(filte
6、r(买=1,5),LOW-0.03,'拉升'),ColorFFDE00;da:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;db:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4;DRAWTEXT(CROSS(da-db,0),L*0.99,'B'),ALIGN1,VALIGN0,COLOR00FFFF,linethick5;JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),
7、5,1)*100;DRAWTEXT(CROSS(84,JH),H*1.02,'S'),ALIGN1,VALIGN0,COLORGREEN,linethick4;YC:=REF(CLOSE,1);止损价位:(YC*1.0035*97+0.2)/99.65,PRECIS2,ColorFFCC33,LINETHICK0;盘子:CAPITAL/1000000,linethick0;盘子1:CAPITAL/100,linethick0;盘子2:FINANCE2(37),linethick0;{缺口}STICKL
8、INE(L>REF(H,1),L,REF(H,1),50,1001),Color408080;STICKLINE(REF(L,1)>H,ref(L,1),H,50,1001),Color808040;DRAWTEXT(L>REF(H,1),REF(H,1),NUMTOSTRN(REF(H,1),2)+'-'+NUMTOSTRN(L,2)),Color408080;DRAWTEXT(REF(L,1)>H,REF(L,1),NUMTOSTRN(ref(l,1