看盘波段波段买入或持股、波段卖出或观望通达信指标 源码分享

N:=21;
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM(((VAR1-REF(LOW,3))-(HIGH-VAR1))*VOL/10000/(HIGH-LOW),1);
VAR3:=EMA(VAR2,3),COLORFFEE3C;
JCS0:VAR3,CIRCLEDOT,LINETHICK1,COLORFFEE3C;
波段买入或持股:IF(JCS0>REF(JCS0,1),JCS0,DRAWNULL),LINETHICK4;
波段卖出或观望:IF(JCS0<REF(JCS0,1),JCS0,DRAWNULL),LINETHICK3,COLORFFEE3C;
IF(VAR1>REF(VAR1,1),VAR3,10),CIRCLEDOT,COLORRED,LINETHICK2;
IF(VAR1<REF(VAR1,1),VAR3,10),CIRCLEDOT,COLOR00FF00,LINETHICK2;
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
JCS:=VAR3; {股票指标网}
JCS1:VAR3,COLORRED,CIRCLEDOT,LINETHICK1;
JCS2:VAR3,COLORRED,,LINETHICK1;
JCM:=MA(VAR3,12)COLORYELLOW;
JCL:=MA(VAR3,26)COLORMAGENTA;
JCM1:IF(JCM<VAR3,JCM,DRAWNULL),,COLORYELLOW,LINETHICK2;
JCM2:IF(JCM>VAR3,JCM,DRAWNULL),,COLORBLUE,LINETHICK2;
JCL1:IF(JCL<VAR3,JCL,DRAWNULL),,COLORMAGENTA,LINETHICK2;
JCL2:IF(JCL>VAR3,JCL,DRAWNULL),,COLORCYAN,LINETHICK2;
开红花大涨:=FILTER(CLOSE/REF(CLOSE,3)>=1.1,3);
买入:=IF((开红花大涨 AND COUNT(开红花大涨,3)=1),30,0),COLORYELLOW,LINETHICK3;
OP:=STICKLINE(买入,O,C,4,0)COLORYELLOW;
B:IF(买入>0 ,JCL,DRAWNULL),CROSSDOT,LINETHICK6,COLORRED;
B2:IF(买入>0 ,JCL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
开蓝花跌:=VAR1A;
卖出:=IF((开蓝花跌 AND COUNT(开蓝花跌,3)=1),30,0),COLORYELLOW,LINETHICK3;
OP1:=STICKLINE(开蓝花跌,O,C,4,0)COLORYELLOW;
IF(卖出>0 ,JCL,DRAWNULL),CROSSDOT,LINETHICK6,COLORCYAN;
IF(卖出>0 ,JCL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图