设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

股票的公式有哪些?大智慧抓牛股的多日量图公式源码

2016-6-8 13:23:13 股票入门 http://rumen.southmoney.com

股票的公式有哪些大智慧牛股的多日量图公式源码 附:大智慧一套金融市场万能指标公式  南方财富网小编为您提供


【大智慧抓牛股的多日量图公式源码】

量:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">买量:=IF(CLOSE>OPEN,量*(HIGH-LOW),IF(CLOSE<OPEN,量*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=(IF(CLOSE>OPEN,0-量*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-量*(HIGH-LOW),0-VOL/2)))*-1;
总量:=买量+卖量;DRAWGBKLAST(v>1,STRIP(RGB(0,0,205),RGB(60,179,113),0)); 
净量:=买量-卖量;
五日净量:SUM(净量,5),LINETHICK2,COLORFFFFFF;
十日净量:SUM(净量,10),LINETHICK2,COLOR007800;
二十日净量:SUM(净量,20),LINETHICK2,COLOR0000AD;
六十日净量:SUM(净量,60),LINETHICK2,COLORFF0000;

附:【大智慧一套金融市场万能指标公式】

TYP := (HIGH + LOW + C)/3;
收:(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),LINETHICK3,colorwhite;
TYP1 := (HIGH + LOW + o)/3;
开:=(TYP1-MA(TYP1,20))/(0.015*AVEDEV(TYP1,20));
TYP2 := (HIGH + LOW + h)/3;
高:=(TYP2-MA(TYP2,20))/(0.015*AVEDEV(TYP2,20));
TYP3 := (HIGH + LOW + l)/3;
低:=(TYP3-MA(TYP3,20))/(0.015*AVEDEV(TYP,20));
ARRAY:=收;
HIGHBARS:=BARSLAST(NOT(ARRAY>0));
LOWBARS:=BARSLAST(NOT(ARRAY<0));
UPCONDITION:=BARSLAST(HIGHBARS>=6 AND SUM(ARRAY>100,5)>0);
DNCONDITION:=BARSLAST(LOWBARS>=6 AND SUM(ARRAY<-100,5)>0);
UPTREND:=ARRAY>0 AND UPCONDITION<DNCONDITION;
DNTREND:=ARRAY<0 AND UPCONDITION>DNCONDITION;
TRTREND:=HIGHBARS>=5 AND NOT(UPTREND) OR LOWBARS>=5 AND NOT(DNTREND);
STICKLINE(UPTREND,0,收,4,0),COLORFF0000;{蓝色柱子}
STICKLINE(DNTREND,0,收,4,0),color4b2142;{红色柱子}
STICKLINE(TRTREND,0,收,4,0),COLOR00FFFF;{黄色柱子}
STICKLINE(NOT(UPTREND OR DNTREND OR TRTREND),0,收,4,0),COLOR808080;{灰色柱子}
DRAWICON(ABS(收)>=200,收,12);{图标};
ah:=0; 
al:=ref(收,1); {注意指标叠加该函数有循环或分支中将不准确,慎重使用叠加方式} 
ahl:=ah-al;
a61:=al+ahl*0.2;
nnl:=DISPSTATUS=2;
{暂时}
STICKLINE(收>开,高,低,8.8,1),colorred;
STICKLINE(收>开,收,开,3,0),color0000a2;
STICKLINE(收< 开,高,低,8.8,1),COLOrgreen;
STICKLINE(收< 开,收,开,3,0),color005b00;
STICKLINE(收=开,高,低,8.8,1),colorffff00;

q191:=al+(ah-al)*-0.121;
DRAWTEXT(nnl,q191,' 下空上多 ̄ ̄'+q191),ALIGN1,Colorwhite,LINETHICK1;
q1921:=al+(ah-al)*0.121;
DRAWTEXT(nnl,q1921,' STOP ̄ ̄'+q1921),ALIGN1,Colorwhite,LINETHICK1;
q1911:=(高+低)/2;
DRAWTEXT(nnl,q1911,'初入止▔▔▔▔▔▔▔'+q1911),ALIGN1,Coloryellow,LINETHICK2;
DRAWFLAGTEXT(q1911,q1911,'首次入场反向走势止损位置'+q1911),COLORblack,LINETHICK7;
DRAWTEXT(nnl,收,' NEW▔▔▔▔▔▔'+收),ALIGN1,colorffff11,LINETHICK2;
a61:=al+ahl*0.382;
nnl:=DISPSTATUS=2;

差值:(收-开),LINETHICK0,Colorffddff;
高低点分割:收/2,LINETHICK0;

DRAWICON(ABS(收)>=200,收,12);{图标};
STICKLINE(C,30,29,8,0),COLORwhite;
STICKLINE(C,-29,-30,8,0),COLORwhite;
STICKLINE(C,-2,2,7,0),colora0a050;{中轴}
DRAWTEXTREL(567,100,' 差值:'+ 差值),Colorffddff,LINETHICK7;
收q:=ref(收,1);
DRAWTEXT(nnl,收q,'▔ ▔ ▔ ▔ ▔ ▔ '+收q),ALIGN1,VALIGN0,colorffff00,LINETHICK4;
VM:=MA(收,1);
{版权所有---k线的舞者}
DRAWTEXT(BARSTATUS=2 and 收>REF(收,1),Vm,'【升】'),COLORRED,LINETHICK2;
DRAWTEXT(BARSTATUS=2 and 收<REF(收,1),Vm,'【降】'),COLORgreen,LINETHICK2;
PARTLINE(收,收>REF(收,1),RGB(255,20,120),收<REF(收,1),RGB(255,255,255)),linethick4;
DRAWTEXTREL(567,230,' 0.01手赚1$等于10点:'),Colorffddff,LINETHICK7;

更多股票公式相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。