设为首页加入收藏

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

同花顺布林趋势公式源码是什么?

2016-6-1 14:49:13 股票入门 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">自用含有未来函数,使用与震荡行情和雄狮行情,大家自己观察
 

VAR1:=(C+H+O+L)/4;

卖出:XMA(VAR1,N)*(1+P1/1000),colorgreen,LINETHICK2;

买入:XMA(VAR1,M)*(1-P2/1000),colormagenta,LINETHICK2;

幅度:100*(卖出-买入)/买入,NODRAW;

MA1:=MA(VAR1,3);

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),colorgreen;

STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),colorgreen;

STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),colorgreen;

STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),colorgreen;

STICKLINE(卖出<LOW,HIGH,LOW,0,0),colorgreen;

STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),colormagenta;

STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),colormagenta;

STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),colormagenta;

STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),colormagenta;

STICKLINE(买入>HIGH,HIGH,LOW,0,0),colormagenta;

DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),colorred,LINETHICK2;

DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),colorgreen;

A:=5;

B:=5;

TR1:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),A);

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

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

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),A);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),A);

PDI:=DMP*100/TR1;

MDI:=DMM*100/TR1;

ADX:=(MA((PDI-MDI)/(MDI+PDI),B)*100) ;

FADX:=((MA(ADX,3)-MA(ADX,13)+MA(ADX,8))) ;

VAR2:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

买盘:=IF(CLOSE>OPEN,VAR2*(HIGH-LOW),IF(CLOSE<OPEN,VAR2*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)) ;

卖盘:=-IF(CLOSE>OPEN,0-VAR2*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR2*(HIGH-LOW),0-VOL/2)) ;

ABR:=EMA((买盘-卖盘)/VOL*100,7)*2;

QS:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),13)+100 ;

STICKLINE(FILTER(CROSS(ABR,ADX),5) AND COUNT(ABR<ADX,4)>=2 ,L ,L ,50 , 901),coloryellow ;

DRAWTEXT(CROSS(ABR,ADX) AND COUNT(ABR<ADX,4)>=2 AND QS<=REF(QS,1) ,L ,'弹' );

STICKLINE(CROSS(ADX,ABR) ,H ,H ,50 , 501),colorgreen;

DRAWICON(ADX<REF(ADX,1) AND REF(ADX,1)>=REF(ADX,2) AND FADX>60,H+0.05 ,8);

低周期:=BARSLAST( CROSS(ABR,ADX));

DRAWICON(FILTER(ADX>REF(ADX,1) AND REF(ADX,1)<REF(ADX,2) AND FADX<-50,5) AND FADX>-100,L ,10);

附:【同花顺海市蜃楼公式源码新编】

VAR2:=REF(LOW,1);

VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;

VAR4:=EMA(IF(CLOSE*1.2,VAR3*10,VAR3/10),3);

VAR5:=LLV(LOW,38);

VAR6:=HHV(VAR4,38);

VAR7:=IF(LLV(LOW,90),1,0);

VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;

有庄的影子: STICKLINE(VAR8,0,VAR8,6,1) , colorlired;

趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100 , COLORAABBDD;

见底信号:-20,coloryellow;

莫要错失机会:-25,colormagenta;

砸锅卖铁等着你:-30,colorgreen;

更多同花顺公式源码相关资讯请关注南方财富网

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