大智慧副图公式源码 大智慧彩虹量价副图公式源码
2014-12-29 10:13:46 股票入门 http://rumen.southmoney.com
南方财富网小编为您带来大智慧副图公式源码 大智慧彩虹量价副图公式源码:
{彩虹动向}
DRAWGBK((C》 0),STRIP(RGB(10,10,30),RGB(10,10,10),0));
DRAWTEXTABS(5,3,STKLABEL+‘ ’+STKNAME+‘’),Color00DDFF;
V1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*300;
黄柱主力量能:stickline(V1》0,V1,0,4,0),color00CCFF;
{STICKLINE(V1》0,0,V1,8,0),COLOR00AAFF;
STICKLINE(V1》0,0,V1,6,0),color00BBFF;}
STICKLINE(V1》0,0,V1,4.4,0),COLOR00CCFF;
STICKLINE(V1》0,0,V1,3.3,0),COLOR00DDFF;
STICKLINE(V1》0,0,V1,2,0),COLOR00EEFF;
STICKLINE(V1》0,0,V1,1,0),COLOR00FFFF;
{筹码定义和显示}
A33:=EMA(IF(L《= LLV(L,40),SMA(ABS(L-REF(L,1)),40,1)/SMA(MAX(L-REF(L,1),0),40,1),0),3)*10;
庄家吸筹留踪影:STICKLINE(A33,0,A33,6,0),ColorEF7B12,LAYER1;
STICKLINE(A33,0,A33,4,0),ColorF08728,LAYER1;
STICKLINE(A33,0,A33,2,0),ColorF29540,LAYER1;
STICKLINE(A33,0,A33,1,0),ColorF5A963,LAYER1;
红包:= IF(TROUGHBARS(3,15,1)=0 AND HIGH》LOW+0.01,10,-5);
PP:= 红包=10 AND A33》10;
价格线:(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*300,linethick2,colorred,LAYER0;
STICKLINE(PP,价格线,A33,3,0),Color00CCFF,LAYER0;
STICKLINE(PP,价格线,价格线+10,3,0),Color485AFB,LAYER0;
STICKLINE(PP,A33-10,A33,3,0),Color485AFB,LAYER0;
参考线:EMA(价格线,6),COLORFFFF00,DOTLINE,LAYER1;
DRAWTEXT(PP,-10,‘底部起飞’),COLORWHITE,ALIGN1,VALIGN1,LINETHICK1;
DRAWICON(PP,价格线-5,1),layer0,ALIGN1,VALIGN1;
lna:=SMA(vol,5,1);
wr1:=100-200*(HHV(Hhv(lna,1),14)-lna)/(HHV(Hhv(lna,1),14)-LLV(Llv(lna,1),14));
wr2:=100-200*(HHV(Hhv(lna,1),34)-lna)/(HHV(Hhv(lna,1),34)-LLV(Llv(lna,1),34));
wr3:=100-200*(HHV(Hhv(lna,1),55)-lna)/(HHV(Hhv(lna,1),55)-LLV(Llv(lna,1),55));
量能趋势:(wr1+wr2+wr3)/3,COLORF08728,linethick2,LAYER0;
RSI5:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),3,1))*100;
WR10:=100*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));
活跃度:(RSI5-WR10)/5,LINETHICK0,ColorWHITE;
STICKLINE(活跃度》0,-30,-30+活跃度,2,1),COLORFF00FF;
STICKLINE(活跃度《0,-30,-30+活跃度,2,0),COLOR808080;
STICKLINE(活跃度》13 AND 活跃度《16,-30,-30+活跃度,2,0),COLORFFFF00;
STICKLINE(活跃度》16,-30,-30+活跃度,2,0),COLORGREEN;{危险}
{以下设置强弱区域提示}
M3:=MA(C,3);
M5:=MA(C,5);
N1:=BARSLAST(CROSS(M3,M5));
N2:=BARSLAST(CROSS(M5,M3));
N:=IF(N1《N2,N1+1,0-N2-1);
强势区:STICKLINE(N》0,0-100,0-90,10,0),COLOR0000FF;
弱势区:STICKLINE(N《0,0-100,0-110,10,0),Color808080;
DRAWTEXTABS(100,3,‘【量增价平=看多信号 量增价升=买入信号 量平价升=持续买入 量减价升=继续持有 量减价平=警戒信号 ’),LINETHICK1,colorwhite;
DRAWTEXTABS(700,3,‘量减价跌=卖出信号 量平价跌=继续卖出 量增价跌=高位空仓,低位弃卖观望】’),COLORYELLOW;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。