通达信多空支撑线公式

VAR1A:=IF(CLOSE>=REF(CLOSE,1),VOL,0);
 VAR2A:=IF(CLOSE<=REF(CLOSE,1),VOL,0);
 VAR3:=SUM(VAR1A,18);
 VAR4:=SUM(VAR2A,18);
 VAR5:=IF(CLOSE>=MA(CLOSE,5),VOL,0);
 VAR6:=IF(CLOSE<=MA(CLOSE,5),VOL,0);
 VAR7:=SUM(VAR5,18); {股票指标网}
 VAR8:=SUM(VAR6,18);
 VAR9:=IF(MA(CLOSE,5)>=REF(MA(CLOSE,5),1),VOL,0);
 VARA:=IF(MA(CLOSE,5)<=REF(MA(CLOSE,5),1),VOL,0);
 VARB:=SUM(VAR9,18);
 VARC:=SUM(VARA,18);
 VARD:=IF(EMA(CLOSE,18)>=REF(EMA(CLOSE,18),1),VOL,0);
 VARE:=IF(EMA(CLOSE,18)<=REF(EMA(CLOSE,18),1),VOL,0);
 VARF:=SUM(VARD,18);
 VAR10:=SUM(VARE,18);
 A1:=FORCAST(EMA(CLOSE,3),6);
 A2:=FORCAST(EMA(CLOSE,5),6);
 A3:=FORCAST(EMA(CLOSE,7),6);
 A4:=FORCAST(EMA(CLOSE,11),6);
 A5:=FORCAST(EMA(CLOSE,14),6);
 B:=A1+A2+A3+A4-4*A5;
 TOWERC:=EMA(B,2);
 VAR1:=ABS(TOWERC)+ABS(REF(TOWERC,1))*50;
 VAR2:=(3*CLOSE+2*OPEN+HIGH+LOW)/7;
 A6:=FORCAST(EMA(VAR2,12),6);
红实芯:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6>=REF(A6,1),0,V*10{VAR1},2,0),COLOR3434FF;
蓝实芯:STICKLINE(TOWERC<REF(TOWERC,1) AND A6<=REF(A6,1),0,V*10{VAR1},2,0),COLORFFFF82;
蓝空芯:STICKLINE(TOWERC>=REF(TOWERC,1) AND A6<REF(A6,1),0,V*10{VAR1},2,1),COLORFFFF82;
红空芯:STICKLINE(TOWERC<REF(TOWERC,1) AND A6>=REF(A6,1),0,V*10{VAR1},2,1),COLOR3434FF;
做多线:VAR3+VAR7+VARB+VARF,COLORRED,LINETHICK2;
做空线:VAR4+VAR8+VARC+VAR10,COLOR00FF00,LINETHICK2;


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

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

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

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