趋势和位置幅图 底部来临选股公式 源码

[复制链接]
查看100 | 回复0 | 2021-8-19 20:16:05 | 显示全部楼层 |阅读模式

以下是趋势和位置幅图 底部来临选股公式 源码(无源码的请下载附件导入)

趋势和位置幅图 底部来临选股公式 源码

趋势和位置:
轴: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;

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则