设为首页加入收藏

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

股票的公式有哪些?同花顺抓疯牛副图公式源码

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

股票的公式有哪些同花顺抓疯牛副图公式源码 附:同花顺博尔多空概率指标公式  南方财富网小编为您提供


【同花顺抓疯牛副图公式源码】

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"> 留意粗红色疯牛线需要走平。买卖点说明:买点:文字标注“始”。卖点:文字标注“终”。

1、当有连续多个“始”,以第一个“始”做为买点,忽略后面的信号。

2、当有连续多个“终”,以第一个“终”做为卖点,忽略后面的信号。

3、最优指标成功率、收益率的统计也是以第一个“始”与第一个“终”做为统计点。


VAR1:=MA((HIGH+LOW+2*CLOSE)/4,5);

VAR2:=EMA(VAR1,10)-EMA(VAR1,30);

VAR3:=EMA(VAR2,5);

VAR4:=(VAR2-VAR3)*5;

VAR5:=IF(VAR4<=VAR1,VAR1,VAR4);

动向:= FORCAST(FORCAST(VAR5,10),10);

趋势: IF(VAR5>动向,VAR5,VAR1);

强势: MA(VAR1,5),colorred;

弱势:= MA(HHV(VAR1,10),5);

主力: SMA(CLOSE,10,1),COLORFFFF00;

疯牛: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHICK2,colorred;

年线: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,250),VOL),LINETHICK2,POINTDOT,COLOR30CC00;

VAR6:=EMA(CLOSE,5);

VAR7:=EMA(CLOSE,10);

VAR8:=EMA(CLOSE,20);

VAR9:=EMA(CLOSE,30);

VARA:=EMA(CLOSE,60);

VARB:=EMA(CLOSE,90);

VARC:=EMA(CLOSE,125);

VARD:=EMA(CLOSE,250);

VAR10:=1.809*LLV(LOW,250);

VAR11:=MA(CLOSE,10)-EMA(CLOSE,10)*100;

VAR12:=MA(VAR11,5);

VAR13:=3*(VAR12-VAR11);

VAR14:=((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*200-100)/2-REF(CLOSE,5);

VAR15:=SMA(SMA(VAR14,5,1),5,1);

VAR16:=MA(MA(VAR15,5),5);

VAR17:=3*VAR16-5*VAR15;

VAR18:=EMA(VAR17,10);

VAR19:=MA(CLOSE,20)/MA(CLOSE,20)-REF(CLOSE,20)/CLOSE*100;

VAR1A:=DMA(SMA(EMA(VAR19,5),5,1),VOL/REF(VOL,5));

VAR1B:=SMA(EMA(VAR19,10),5,1);

VAR1C:=(-100)*(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13));

VAR1D:=(-100)*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));

VAR1E:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);

VAR1F:=HIGH-REF(HIGH,1);

VAR20:=REF(LOW,1)-LOW;

VAR21:=SMA(IF(VAR1F>0 AND VAR1F>VAR20,VAR1F,0),14,1);

VAR22:=SMA(IF(VAR20>0 AND VAR20>VAR1F,VAR20,0),14,1);

VAR23:=VAR21*100/VAR1E;

VAR24:=VAR22*100/VAR1E;

VAR25:=SMA(ABS(VAR24-VAR23)/(VAR24+VAR23)*100,14,1);

VAR26:=(VAR25+REF(VAR25,6))/2;

DRAWTEXT(CROSS(VAR13,50) AND VAR6>VAR7 AND VAR7>VAR8 AND VAR8>VAR9 AND VAR9>VARA AND VARA>VARB AND VARB>VARC AND VARC>VARD AND

疯牛>VARD AND VAR19>VAR1A AND VAR1A>VAR1B AND VAR1B>-100 AND VAR1C>-20 AND VAR1D>-20 AND -30>VAR18 AND VAR18>VAR17 AND

VAR23>VAR25 AND VAR25>VAR26 AND VAR26>VAR24,年线,'宝典'),coloryellow;

DRAWTEXT(CROSS(VAR13,200) AND VAR6>VAR7 AND VAR7>VAR8 AND VAR8>VAR9 AND VAR9>VARA AND VARA>VARB AND VARB>VARC AND VARC>VARD AND

VARD>年线 AND 年线>VAR10 AND VAR19>VAR1A AND VAR1A>VAR1B AND VAR1B>-100 AND VAR1C>-20 AND VAR1D>-20 AND VAR23>VAR25 AND

VAR25>VAR26 AND VAR26>VAR24,年线,'疯牛');

DRAWTEXT(CROSS(趋势,主力),趋势,'始');

DRAWTEXT(CROSS(强势,趋势),强势,'终');

附:【同花顺博尔多空概率指标公式】

DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));

做空95:HHV((HIGH+LOW+OPEN+2*CLOSE)/5+H-L,5);

做空68:HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5);

平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3);

做多68:LLV((HIGH+LOW+OPEN+2*CLOSE)/5*2-H,8);

做多95:LLV((HIGH+LOW+OPEN+2*CLOSE)/5-H+L,8);

F:=100*(C-REF(C,1))/REF(C,1);

今小昨:=IF(C<REF(O,1) AND F<0,1,0);

P1:=今小昨;

今小前:=IF(C<REF(O,2) AND F<0,1,0);

P2:=今小前;

STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,6,0),colormagenta;

STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1 AND REF(P2,1)=0,OPEN,CLOSE,3,0),colorblue;

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

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