通达信葫芦娃及选股指标公式

AA:=SUMBARS(vol,CAPITAL);
天量:=IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*33/10 ),NODRAW;
{dmi}
MTR2:=EXPMEMA(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),5);
HD2 :=HIGH-REF(HIGH,1);
LD2 :=REF(LOW,1)-LOW;
DMP2:=EXPMEMA(IF(HD2>0 OR HD2>LD2,HD2,0),5);
DMM2:=EXPMEMA(IF(LD2>0 OR LD2>HD2,LD2,0),5);
pdi2:=DMP2*100/MTR2,COLORWHITE,LINETHICK3;
mdi2:=DMM2*100/MTR2,COLORYELLOW,LINETHICK2;
ADX2:=EXPMEMA(ABS(MDI2-PDI2)/(MDI2+PDI2)*100,6),COLORFF00FF;
ADXR2:=EXPMEMA(ADX2,6),COLORGREEN;
DRAWBAND(PDI2,RGB(100,0,50),MDI2,RGB(256,96,96));
{}
周MA:="macd.MacD#WEEK" ,LINETHICK4;
AH1:=100*((EMA(EMA(H,26),9))-C);
ZM1:=COUNT(周MA<REF(周MA,1),5)>=1 AND 周MA>0;
ZM2:=COUNT(周MA>REF(周MA,1),5)>=1,;
葫芦娃:10*((COUNT(天量,120)>=1 AND (REF(crOSS(MDI2,PDI2),2) OR REF(CROSS(MDI2,PDI2),3) OR
(REF(PDI2>MDI2,2) AND REF(PDI2>MDI2,3))) AND (REF(MDI2>PDI2,1) OR (REF(MDI2>PDI2,1) AND
REF(MDI2>PDI2,2))) AND (CROSS(PDI2,MDI2) OR (PDI2>MDI2))) AND AH1<0 AND ZM2 AND
MA(C,20)>REF(MA(C,20),1)AND REF(O<MA(C,20),1) AND C>O);

{
选股公式:

AA:=SUMBARS(VOL,CAPITAL);
天量:=IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*33/10 );
MTR2:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),5);
HD2 :=HIGH-REF(HIGH,1);
LD2 :=REF(LOW,1)-LOW;
DMP2:=EXPMEMA(IF(HD2>0 OR HD2>LD2,HD2,0),5);
DMM2:=EXPMEMA(IF(LD2>0 OR LD2>HD2,LD2,0),5);
PDI2:=DMP2*100/MTR2,COLORWHITE,LINETHICK3;
MDI2:=DMM2*100/MTR2,COLORYELLOW,LINETHICK2;
ADX2:=EXPMEMA(ABS(MDI2-PDI2)/(MDI2+PDI2)*100,6),COLORFF00FF;
ADXR2:=EXPMEMA(ADX2,6),COLORGREEN;
周MA:="MACD.MACD#WEEK" ,LINETHICK4;
AH1:=100*((EMA(EMA(H,26),9))-C);
ZM1:=COUNT(周MA<REF(周MA,1),5)>=1 AND 周MA>0;
ZM2:=COUNT(周MA>REF(周MA,1),5)>=1,;
葫芦娃:(COUNT(天量,120)>=1 AND (REF(CROSS(MDI2,PDI2),2) OR REF(CROSS(MDI2,PDI2),3) OR
(REF(PDI2>MDI2,2) AND REF(PDI2>MDI2,3))) AND (REF(MDI2>PDI2,1) OR (REF(MDI2>PDI2,1) AND
REF(MDI2>PDI2,2))) AND (CROSS(PDI2,MDI2) OR (PDI2>MDI2))) AND AH1<0 AND ZM2 AND
MA(C,20)>REF(MA(C,20),1)AND REF(O<MA(C,20),1) AND C/REF(C,1)<1.05 AND C>O;
}




未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:#WEEK
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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