飞狐红底淘金公式源码是什么?
2016-5-30 14:06:16 股票入门 http://rumen.southmoney.com
飞狐红底淘金公式源码是什么?附:庄家持仓量飞狐大交易师公式源码 南方财富网小编为您提供
【飞狐红底淘金公式源码】
n:=5;m:=26;
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">zx:=MA(CLOSE,M);
来势线:=EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW;
阻力线:=(zx + N*STD(CLOSE,M)),POINTDOT,LINETHICK2,colorgreen;
拉升力:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,47))*1.8*CLOSE;
拉升力A:=SMA(拉升力,9,1);
波峰波谷:=SMA(拉升力A,4,1),colorwhite;
拉升力B:=3*拉升力A-2*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:=IF(空方>拉升力B,拉升力B,空方),LINETHICK2,Color00FF00;
短线:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*40,LINETHICK0,COLORYELLOW;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*40,LINETHICK0,colorwhite;
红柱:=sma(短线,3,1),LINETHICK0,Color0000FF;
蓝柱:=sma(中线,3,1),colorstick,ColorFFFF00;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000AA;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000BB;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000CC;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000DD;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),COLOR0000FF;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,1,0),COLORRED;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000AA;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000BB;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000CC;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000DD;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLOR0000FF;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,1,0),COLORRED;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0000FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0033FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0055FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0077FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0099FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),COLOR00BBFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00DDFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF0000;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF3300;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF5500;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF7700;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFBB00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFDD00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF0000;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF3300;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF5500;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF7700;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFBB00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFDD00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLOR998800;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORBBAA90;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;
主力:(((CLOSE - MA(LLV(LOW,40),40)) / MA(LLV(LOW,40),40)) * 100),COLORF0F000;
AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
BB:=MA(AA,10);
CC:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
判势:SMA(CC,32,1)-20,COLOR00FF00,LINETHICK1;
加码:DRAWTEXT(CROSS(主力,判势),判势-10,低◆买),COLOR00FF00;
把红柱蓝柱也表现出来n:=5;m:=26;
zx:=MA(CLOSE,M);
来势线: EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW;
阻力线:=(zx + N*STD(CLOSE,M)),POINTDOT,LINETHICK2,colorgreen;
拉升力:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,47))*1.8*CLOSE;
拉升力A:=SMA(拉升力,9,1);
波峰波谷:=SMA(拉升力A,4,1),colorwhite;
拉升力B:=3*拉升力A-2*波峰波谷;
空方:=3*波峰波谷-1* 拉升力A;
做空:=IF(空方>拉升力B,拉升力B,空方),LINETHICK2,Color00FF00;
短线:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*40,LINETHICK0,COLORYELLOW;
中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*40,LINETHICK0,colorwhite;
红柱:=sma(短线,3,1),LINETHICK0,Color0000FF;
蓝柱:=sma(中线,3,1),colorstick,ColorFFFF00;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000AA;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000BB;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000CC;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000DD;
STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),COLOR0000FF;
STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,1,0),COLORRED;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000AA;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000BB;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000CC;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000DD;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLOR0000FF;
STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,1,0),COLORRED;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0000FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0033FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0055FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0077FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0099FF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),COLOR00BBFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00DDFF;
STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF0000;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF3300;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF5500;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF7700;
STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFBB00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFDD00;
STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF0000;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF3300;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF5500;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF7700;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF9900;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFBB00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFDD00;
STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLOR998800;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORBBAA90;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99;
STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;
主力:=(((CLOSE - MA(LLV(LOW,40),40)) / MA(LLV(LOW,40),40)) * 100),COLORF0F000;
AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
BB:=MA(AA,10);
CC:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
判势:=SMA(CC,32,1)-20,COLOR00FF00,LINETHICK1;
加码:=DRAWTEXT(CROSS(主力,判势),判势-10,低◆买),COLOR00FF00;
附:【庄家持仓量飞狐大交易师公式源码】
我们把从MACD指标金叉的那一周开始,
到你所计算的那一周为止,把所有各周的成交量加起来再除以流通盘,
可得出这段时间的换手率,然后再把这个换手率×13.3%得出的数字即为庄家的控盘度
,所以一个中线庄家的换手率应在300%~450%之间,只有足够的换手,庄家才能吸足筹码。
至于成本,可采用在所计算的那段时间内的最低价加上最高价,然后除以2,即为庄家的成本区,
虽然简单,但相当实用,误差不超过10%,我们把庄家的成本和持仓量计算出了以后,
庄家的第一目标为成本×(50%+1),即若庄家成本为10元,则其最低目标即第一目标为15元,
这样我们就可在操作上做到有的放矢。
MACD:="MACD.MACD#WEEK";
起点0:=BARSLAST(MACD<0);
起点:=if(macd<0,ref(起点0,BARSLAST(MACD>0)),起点0);
VERTLINE(起点=1);
累计量:=SUM(IF(MACD>0,V,0),起点+1);
时段换手:累计量/CAPITAL*100,LINETHICK;
控盘度:时段换手*13.3/100,LINETHICK;
成本区:(HHV(C,起点)+LLV(C,起点))/2,LINETHICK;
平均成本:MA((HHV(C,起点)+LLV(C,起点))/2,起点[DATACOUNT]),LINETHICK;
第一目标:平均成本*1.5,LINETHICK;第二目标:成本区*1.5,LINETHICK;
成本区[DATACOUNT];平均成本[DATACOUNT];第一目标[DATACOUNT];第二目标[DATACOUNT];
起点价:REF(C,起点);
DRAWTEXT(起点=1,C,'起点价');
DRAWTEXT(起点=1,成本区[DATACOUNT],'庄家成本区');
DRAWTEXT(起点=1,平均成本[DATACOUNT],'庄家平均成本');
DRAWTEXT(起点=1,第一目标[DATACOUNT],'庄家第一目标');
DRAWTEXT(起点=1,第二目标[DATACOUNT],'庄家第二目标');
更多飞狐公式源码相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。