通达信价值合金钢主图指标公式源码

N:=10;N1:=20; M:=10;M1:=20;
LL:=LLV(LOW,(N + M));
HH:=HHV(HIGH,(N + M));
SR:=(2 * HH - LL);
SS:=(2 * LL - HH);
DD:=(SR - SS);
DM:=(DD / 2);
DKKPX:=(DM + SS);
SDXT:=DKKPX;
LL1:=LLV(LOW,(N1 + M1));
HH1:=HHV(HIGH,(N1 + M1));
SR1:=((2 * HH1) - LL1);
SS1:=((2 * LL1) - HH1);
DD1:=(SR1 - SS1);
DM1:=(DD1 / 2);
SDXT1:=(DM1 + SS1);
AY:=SDXT1;
AA:=SDXT;
YY:=(((HIGH + LOW) + CLOSE) / 3);
A0:=((HIGH + LOW) / 2);
A1:=SMA(A0,13,1);
A2:=HHV(HIGH,24);
A3:=LLV(LOW,24);
STICKLINE(YY < REF(AA,1),OPEN,CLOSE,3 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1),HIGH,CLOSE,0 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1),OPEN,LOW,0 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,CLOSE, 3,0), COLORCYAN;
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,0 ,0), COLORCYAN;
STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,0 ,0), COLORCYAN;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 7,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,CLOSE, 3,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),HIGH,CLOSE, 0,0), COLORRED;
STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,LOW, 0,0), COLORRED;
STICKLINE(YY > AA AND YY < AY,OPEN,CLOSE,3 ,0), COLORYELLOW;
STICKLINE(YY > AA AND YY < AY,HIGH,CLOSE,0,0), COLORYELLOW;
STICKLINE(YY > AA AND YY < AY,OPEN,LOW,0 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,OPEN,CLOSE,3 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,HIGH,CLOSE,0 ,0), COLORYELLOW;
STICKLINE(YY < AA AND YY > AY,OPEN,LOW,0,0), COLORYELLOW;



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

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

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

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