您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:通道线+波段预测主图+副图源码 通达信 贴图

通道线+波段预测主图+副图源码 通达信 贴图


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2019-03-18 10:02:00
公式简介:

X_1:=IF(CLOSE>OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(C,1)),0);
X_2:=IF(CLOSE>OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(C,1)),0);
X_3:=IF(CLOSE>OPEN AND HIGH=REF(CLOSE,1),0,0);
X_4:=IF(CLOSE<OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_5:=IF(CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
X_6:=IF(CLOSE<OPEN AND HIGH=REF(CLOSE,1),0,0);
X_7:=FORCAST(X_1+X_2+X_3+X_4+X_5+X_6,3);
X_8:=FORCAST(X_7,8);
X_9:=FORCAST(X_7,5);
X_10:=FORCAST(X_7,3);
X_11:=IF(CLOSE>OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_12:=IF(CLOSE>OPEN AND LOW<REF(CLOSE,1),-ATAN(REF(CLOSE,1)-LOW)/REF(CLOSE,1),0);
X_13:=IF(CLOSE>OPEN AND LOW=REF(CLOSE,1),0,0);
X_14:=IF(CLOSE<OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_15:=IF(CLOSE<OPEN AND LOW<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
X_16:=IF(CLOSE<OPEN AND LOW=REF(CLOSE,1),0,0);
X_17:=FORCAST(X_11+X_12+X_13+X_14+X_15+X_16,3);
X_18:=FORCAST(X_17,8);
X_19:=FORCAST(X_17,5);
X_20:=FORCAST(X_17,3);
X_21:=ATAN(X_8/0.08);
X_22:=ATAN(X_9/0.05);
X_23:=ATAN(X_10/0.03);
X_24:=ATAN((-X_18)/0.08);
X_25:=ATAN((-X_19)/0.05);
X_26:=ATAN((-X_20)/0.03);
VAR2J:=(2*CLOSE+HIGH+LOW)/4;
VAR3J:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4J:=LLV(LOW,5);
VAR5J:=HHV(HIGH,5);
周期:=FORCAST((VAR2J-VAR4J)/(VAR5J-VAR4J)*100,3)*VAR3J/80,COLORCYAN;
买线:FORCAST(MA(((X_23+X_22+X_21+周期)/4/6.18*360),3),3),COLORRED,LINETHICK2;
LK:=买线<=REF(买线,1);
IF(LK,买线,DRAWNULL),COLORBLUE,LINETHICK2;
买线2:MA(买线,2),COLORYELLOW;
卖线:FORCAST((X_26+X_25+X_24)/3/6.18*360,3),COLORWHITE,LINETHICK2;
X7:=FORCAST(X_1+X_2+X_3+X_4+X_5+X_6,5);
X8:=FORCAST(X7,21);
X9:=FORCAST(X7,13);
X10:=FORCAST(X7,8);
X21:=ATAN(X8/0.08);
X22:=ATAN(X9/0.05);
X23:=ATAN(X10/0.03);
XHH:=(X23+X22+X21)/3/6.18*360;
卖线1:=FORCAST((X23+X22+X21)/3/6.18*360,34),COLORGREEN,LINETHICK2;
多空线:20,COLORLIGRAY,CIRCLEDOT;
转强线:0,COLORLIGRAY,DOTLINE;
强势线:40,DOTLINE,COLORCYAN;
卖线见底线:=60,COLORBROWN,DOTLINE;
DRAWTEXT_FIX(买线<REF(买线,1),0,0,0,'
【买线】下跌4天--6天股价可能反弹'),COLORMAGENTA;
DRAWICON(CROSS(买线,买线2),买线-1,1);
DRAWICON(CROSS(买线2,买线),买线,2);

主图源码
突破:REF(SMA(C,13,3),1);
A1X:=(FORCAST(C,8)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,8),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);
空方:=IF(A1X<0,REF(EMA(C,8),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);
STICKLINE(A1X>=0,多方,突破,1,1),COLORMAGENTA;
STICKLINE(A1X<0,空方,突破,1,1),COLORGREEN;


 


通道线+波段预测主图+副图源码 通达信 贴图

通道线+波段预测主图+副图源码 通达信 贴图


[url=http://www.goodgupiao.com/gupiaogongshi/53609.html][B]通道线+波段预测主图+副图源码 通达信 贴图[/B][/url]