黎明前的黑暗通达信公式 副图 源码 贴图和谐源码分享大家

MA5:=MA(CLOSE,7);
MA20:=MA(CLOSE,20);
MA90:=MA(CLOSE,90);
Y1:=BARSLAST(CROSS(MA5,MA20));
Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));
大涨开始:=CROSS(MA20,MA90);
多:=MA20>MA90;
多盈:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25);
HH:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;
LL:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;
D90H:=EMA(HH,90);
D90L:=EMA(LL,90);
{股票指标网}
DGH:=(20*HIGH+19*REF(HIGH,1)+18*REF(HIGH,2)+17*REF(HIGH,3)+16*REF(HIGH,4)+15*REF(HIGH,5)+14*REF(HIGH,6)+13*REF(HIGH,7)+12*REF(HIGH,8)+11*REF(HIGH,9)+10*REF(HIGH,10)+9*REF(HIGH,11)+8*REF(HIGH,12)+7*REF(HIGH,13)+6*REF(HIGH,14)+5*REF(HIGH,15)+4*REF(HIGH,16)+3*REF(HIGH,17)+2*REF(HIGH,18)+REF(HIGH,20))/210;
DDL:=(20*LOW+19*REF(LOW,1)+18*REF(LOW,2)+17*REF(LOW,3)+16*REF(LOW,4)+15*REF(LOW,5)+14*REF(LOW,6)+13*REF(LOW,7)+12*REF(LOW,8)+11*REF(LOW,9)+10*REF(LOW,10)+9*REF(LOW,11)+8*REF(LOW,12)+7*REF(LOW,13)+6*REF(LOW,14)+5*REF(LOW,15)+4*REF(LOW,16)+3*REF(LOW,17)+2*REF(LOW,18)+REF(LOW,20))/210;
D90C:=D90H-D90L;
D90D:=D90H+D90C*2;
D90T:=D90L-D90C*2;
G0:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1+XMA(XMA(HIGH,25),25);
D0:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1;
DTD:=D0>=D90T AND G0>=D90D;
KTD:=G0<=D90D AND D0<=D90T;
ZDD:=D0>=D90T AND G0<=D90D;
BDD0:=(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*3+XMA(XMA(HIGH,60),60);
BDT0:=XMA(XMA(LOW,60),60)-(XMA(XMA(HIGH,60),60)-XMA(XMA(LOW,60),60))*3;
空盈:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*1;
HD:=DRAWLINE(HIGH>=HHV(HIGH,20),HIGH,LOW<=LLV(LOW,20),HHV(HIGH,4),1);
HK:=DRAWLINE(LOW<=LLV(LOW,20),LOW,HIGH>=HHV(HIGH,20),LLV(LOW,4),1);
BSB:=EMA((CLOSE+HIGH+LOW)/3,3);
BSM:=EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48);
白色点多定位1:=LOW<空盈 AND HIGH>空盈;
白色点空定位1:=HIGH>多盈 AND LOW<多盈;
白色点多定位2:=HIGH<空盈;
白色点空定位2:=LOW>多盈;
多头多定位:=CROSS(空盈,LOW) AND DTD=1;
多头平定位:=CROSS(HIGH,多盈) AND DTD=1 AND ZDD=0;
空头空定位:=CROSS(HIGH,多盈) AND KTD=1;
空头平定位:=CROSS(空盈,LOW) AND KTD=1 AND ZDD=0;
震荡多定位:=CROSS(空盈,LOW) AND ZDD=1;
震荡空定位:=CROSS(HIGH,多盈) AND ZDD=1;
短顶:=(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*2+XMA(XMA(HIGH,25),25);
短底:=XMA(XMA(LOW,25),25)-(XMA(XMA(HIGH,25),25)-XMA(XMA(LOW,25),25))*2;
短线高盘:=(HIGH-短底)/(短顶-短底)*100000;
短线低盘:=(LOW-短底)/(短顶-短底)*100000;
空损Q:=110000;
多损Q:=(-10000);
MM1:=空头平定位=1;
MM2:=多头多定位=1 OR 震荡多定位=1;
MM3:=白色点多定位2=1;
冠买:=MM1 OR MM2 OR MM3;
冠买点:=冠买 AND Y2 AND MA90<MA20;
加强:=COUNT(冠买点,20)>=2 AND 冠买;
高级买点:COUNT(冠买点,20)>=2 AND 冠买 AND 空盈>HIGH,COLORYELLOW,LINETHICK3;
超级买点:COUNT(冠买点,20)>3 AND 冠买 AND 空盈>HIGH,COLORMAGENTA,LINETHICK3;
终极买点:MA5>MA20 AND 冠买,COLORRED,LINETHICK3;
 



未来函数检测结果如下:
该公式包含未来函数:XMA
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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