通达信量子非线性

H1:=REF(HIGH,1);
H2:=REF(HIGH,2);
H3:=REF(HIGH,3);
H4:=REF(HIGH,4);
H5:=REF(HIGH,5);
H6:=REF(HIGH,6);
H7:=REF(HIGH,7);
H8:=REF(HIGH,8);
H9:=REF(HIGH,9);
H10:=REF(HIGH,10);
H11:=REF(HIGH,11);
H12:=REF(HIGH,12);
H13:=REF(HIGH,13);
H14:=REF(HIGH,14);
L1:=REF(LOW,1);
L2:=REF(LOW,2);
L3:=REF(LOW,3);
L4:=REF(LOW,4);
L5:=REF(LOW,5);
L6:=REF(LOW,6);
L7:=REF(LOW,7);
L8:=REF(LOW,8);
D1:=HIGH>H1 AND LOW>=L1 AND CLOSE>REF(CLOSE,1);
D11:=HIGH>H1 AND LOW>=L1 AND CLOSE<=REF(CLOSE,1);
D2:=LOW<L1 AND HIGH<H1;
D3:=HIGH>H1 AND LOW<L1 AND CLOSE>REF(CLOSE,1);
D31:=HIGH>H1 AND LOW<L1 AND CLOSE<=REF(CLOSE,1);
D4:=HIGH<=H1 AND LOW>=L1;
FR1:SUM(IF(D1,HIGH,IF(D11,LOW,IF(D2,-HIGH,IF(D3,HIGH,IF(D31,-HIGH,IF(D4,0,0)))))),0),LINETHICK2;
UF1:=FR1<REF(FR1,1) AND REF(FR1,1)>=REF(FR1,2);
UF2:=FR1=REF(FR1,1) AND REF(FR1,1)>REF(FR1,2) AND REF(FR1,2)<REF(FR1,3);
UFF:=UF1 OR UF2;{股票指标网}
ZQ:=BARSLAST(UFF)+1;
DF:=FR1>REF(FR1,1) AND REF(FR1,1)<=REF(FR1,2);
ZQ1:=BARSLAST(DF)+1;
STICKLINE(UF1,REF(FR1,1),REF(FR1,1),25,-1),COLORYELLOW;
STICKLINE(UF1,REF(FR1,1),REF(FR1,1),4.15,1),COLORYELLOW;
STICKLINE(DF,REF(FR1,1),REF(FR1,1),25,-1),COLORRED;
STICKLINE(DF,REF(FR1,1),REF(FR1,1),4.15,1),COLORRED;
DRAWICON(CROSS(FR1-0.001,REF(FR1,ZQ)) AND FR1>REF(FR1,ZQ1),FR1,7);

 


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

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

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

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