同花顺布林趋势公式源码是什么? ? 小编为您提供同花顺布林趋势公式源码相关讯息
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 卖出
STICKLINE(卖出>MIN(C,O) AND 卖出
STICKLINE(卖出>LOW AND 卖出
STICKLINE(卖出
STICKLINE(卖出
STICKLINE(买入>LOW AND 买入
STICKLINE(买入>MIN(C,O) AND 买入
STICKLINE(买入>LOW AND 买入
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
卖盘:=-IF(CLOSE>OPEN,0-VAR2*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
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=2 ,L ,L ,50 , 901),coloryellow ;
DRAWTEXT(CROSS(ABR,ADX) AND COUNT(ABR=2 AND QS<=REF(QS,1) ,L ,'弹' );
STICKLINE(CROSS(ADX,ABR) ,H ,H ,50 , 501),colorgreen;
DRAWICON(ADX=REF(ADX,2) AND FADX>60,H+0.05 ,8);
低周期:=BARSLAST( CROSS(ABR,ADX));
DRAWICON(FILTER(ADX>REF(ADX,1) AND REF(ADX,1)-100,L ,10);
想了解更多同花顺布林趋势公式源码相关资讯请关注
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!