倚天量能多空源码副图

源码、

 DKX:(EMA(C,18)),POINTDOT;

STICKLINE(((C >=DKX) AND (C >=O)),H,L,0,1),COLORRED;

STICKLINE(((C >=DKX) AND (C <=O)),H,L,0,0),COLORRED;

 

STICKLINE(((C >=DKX) AND (C >=O)),O,C,2,1),COLORRED;

STICKLINE(((C >=DKX) AND (C <=O)),O,C,2,0),COLORRED;

STICKLINE(((C <DKX) AND (C >=O)),H,L,0,1),COLORGREEN;

STICKLINE(((C < DKX) AND (C >=O)),O,C,2,1),COLORGREEN;

STICKLINE(((C < DKX) AND (C <=O)),H,L,0,0),COLORGREEN;

STICKLINE(((C < DKX) AND (C <=O)),O,C,2,0),COLORGREEN;

VAR1:=(HHV(HIGH,15)-LLV(LOW,15));

VAR2:=(HHV(HIGH,15)-CLOSE);

VAR3:=(CLOSE-LLV(LOW,15));

VAR4:=(((VAR2/VAR1)*100)-70);

VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100);

VAR6:=((((2*CLOSE)+HIGH)+LOW)/4);

VAR7:=SMA(((VAR3/VAR1)*100),3,1);

VAR8:=LLV(LOW,34);

VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1));

VAR10:=IF((VAR9>100),(VAR9-100),0);

VAR11:=HHV(HIGH,34);

VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),15);

VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2);

MA11:=EMA(VAR13,5);

DRAWTEXT(CROSS(VAR12-VAR13,0),L-1,'多');

DRAWTEXT(CROSS(0,VAR12-VAR13),H+1,'空');

 

 

{线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3;

线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6;

线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3;

线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;

STICKLINE(线A1>线A4,线A1,线A4,0.1,1),COLORFF0080;

STICKLINE(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;

{STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),COLORRED;

STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;

STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORFFEEAF;

STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,4,0),COLORFFEEAF;}

 

DRAWICON(CROSS(线A1,线A4),线A1,1);

线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;

IF(线A1<线A3,线A3,线A1),COLORRED;

线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;

IF(线A2<线A3,线A3,线A2),COLORRED;

线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK1;

IF(线A1<线A3,线A3,线A3),COLORRED,LINETHICK1;}

 

A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));

B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);

d:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;

操作线:d-(EMA(C,3)-d),COLOR00FFFF,LINETHICK1;

卖线:EMA(SLOPE(C,21)*20+C,38),coloryellow,LINETHICK1;




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

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

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

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