趋势和位置幅图 底部来临选股公式 源码
-
相关简介:趋势和位置幅图 底部来临选股公式 源码 趋势和位置: 轴:0,COLORGREEN; XA_1:=IF(DATE=1171215,1,0); DB:(EMA(CLOSE,8)-EMA(CLOSE,26))*XA_1,COLORWHITE,LINETHICK2; XA_2:=CLOSEMA(CLOSE,5) OR (MA(CLOSE,5)REF(MA(CLOSE,5),1) AND (HIGH+LOW)/2MA(CLOSE,5)); XA_3:=CLOSEEMA(CLOSE,5) OR (EMA(
-
文章来源:股海网作者:股海网发布时间:2018-04-17浏览次数:
趋势和位置幅图 底部来临选股公式 源码
趋势和位置:
轴:0,COLORGREEN;
XA_1:=IF(DATE<=1171215,1,0);
DB:(EMA(CLOSE,8)-EMA(CLOSE,26))*XA_1,COLORWHITE,LINETHICK2;
XA_2:=CLOSE>MA(CLOSE,5) OR (MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND (HIGH+LOW)/2>MA(CLOSE,5));
XA_3:=CLOSE>EMA(CLOSE,5) OR (EMA(CLOSE,5)>REF(EMA(CLOSE,5),1) AND (HIGH+LOW)/2>EMA(CLOSE,5));
XA_4:=XA_2 OR XA_3;
红:IF(DB>=REF(DB,1) OR XA_4,DB,DRAWNULL),COLORRED,LINETHICK2;
XA_5:=MACD.DIF#WEEK*XA_1;
XA_6:=(BARSLAST(XA_5<REF(XA_5,1) OR XA_5>REF(XA_5,1))+1)*XA_1;
DDA:EMA(EMA(XA_5,XA_6+5),XA_6+5)*XA_1,COLORBLUE,LINETHICK2;
XA_7:=MACD.MACD#WEEK*XA_1;
粉:IF(DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORMAGENTA,LINETHICK2;
浅绿:IF(XA_7>=REF(XA_7,XA_6),DDA,DRAWNULL),COLORLICYAN,LINETHICK2;
黄:IF(XA_7>=REF(XA_7,XA_6) AND DDA>=REF(DDA,XA_6),DDA,DRAWNULL),COLORYELLOW,LINETHICK2;
底部来临:
VAR2:=CLOSE*VOL;
VAR3:=EMA((MA(VAR2,3)/MA(VOL,3)+MA(VAR2,5)/MA(VOL,5)+MA(VAR2,13)/MA(VOL,13)+MA(VAR2,21)/MA(VOL,21))/4,1);
VAR4:=1*VAR3;
VAR5:=VAR3*0.92;
VAR6:=EMA(CLOSE,34);
VAR7:=MA(VAR6*1.12,5);
VAR8:=MA(VAR6*0.82,5);
VAR9:=CLOSE<VAR8;
VARA:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4);
XX:=VARA AND CLOSE<VAR8;
VAR10:=REF(CLOSE,1);
VAR14:=SMA(MAX(CLOSE-VAR10,0),12,1)/SMA(ABS(CLOSE-VAR10),12,1)*100;
CC:=CROSS(VAR14,20);
底部来临:XX AND CC;