黎明前的黑暗副图/选股指标 源码 通达信
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:4.00 KB
更新时间:2019-06-29 07:54:00
公式简介:
{黎明前的黑暗}
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;
{WWW.GPXIAZAI.COM}
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;
放心买点:MA5>MA20 AND 冠买;
[url=http://www.goodgupiao.com/gupiaogongshi/54757.html][B]黎明前的黑暗副图/选股指标 源码 通达信[/B][/url]