通达信精准提前必涨停副图选股公式源码


A:=IF(DATE>1280210,0,1);
MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
资金动力:=明日重心涨跌幅*100;
 
ST1:=IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1);
最低成本:=COST(5);
平均成本:=COST(50);
成本带宽CBW:=(最高成本-最低成本)/最低成本*100*A;
成本突破:=(中线位置<50 AND 成本带宽CBW<40)*A;
 
AHC2:=EMA((EMA(AHC1,3)/EMA(VOL,3)+EMA(AHC1,6)/EMA(VOL,6)+EMA(AHC1,12)/EMA(VOL,12)+EMA(AHC1,24)/EMA(VOL,24))/4,13);
内下:=AHC2*0.94;
AND  MA(CLOSE,120)<内上 AND MA(CLOSE,60)<内上 AND MA(CLOSE,20)<内上 AND MA(CLOSE,10)<内上 AND MA(CLOSE,5)<内上)/2*A;
VAR62 := POW(C - VAR61,2);
VAR64 := SQRT(VAR63);
 
XG9:=BARSLASTCOUNT(XG14);
XG10:=BARSLASTCOUNT(XG15);
涨停多:=NOT(REF(涨停,1)) AND REF(A1,1)<3 AND REF(A1,2)<3 AND REF(A1,3)<3 AND REF(A1,4)<3 AND REF(A1,5)<3 AND REF(A1,6)<3*A;
 
 
霸气2:={CROSS(VAR32,50) AND }O/REF(C,1)>1.02 AND HIGH > REF(VAR65,1) AND 涨停多 AND XG9=1 AND XXX AND XG5 AND ST1 AND ST AND O/REF(C,1)<1.06 AND REF(C,1)<=D;
 
VAR35 := MA(VAR34,PERIOD) + (2 * STD(VAR34,PERIOD));
VAR37 := (MA(VAR34,5 * PERIOD)) + (2 * (STD(VAR34,5 * PERIOD)));
VAR39 := (MA(VAR34,7 * PERIOD)) + (2 * (STD(VAR34,7 * PERIOD)));
VAR41 := (MA(VAR36 - (REF(VAR36,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR36 - (REF(VAR36,3 * PERIOD)),PERIOD)));
VAR43 := (MA(VAR38 - (REF(VAR38,2 * PERIOD)),PERIOD)) + (2 * (STD(VAR38 - (REF(VAR38,3 * PERIOD)),PERIOD)));
VAR45 := REF(HHV(VAR37,5),1);
VAR47 := REF(HHV(VAR37,5),11);
VAR49 := REF(HHV(VAR37,5),21);
VAR51 := IF(VAR45 < REF(MAX(VAR46,VAR47),BARSLAST(CROSS(VAR37,MAX(VAR46,VAR47)))),REF(MAX(VAR46,VAR47),BARSLAST(CROSS(VAR37,MAX(VAR46,VAR47)))),VAR45);
 
必涨停2:=霸气2 AND (REF(C,2)<REF(O,1) OR REF(C,1)<REF(O,1) OR REF(C,4)>REF(O,1) OR REF(C,3)>REF(O,1))*A;
 
STICKLINE(确定涨停,0,0.5,4,0 )*A,COLOR000099;
STICKLINE(确定涨停,0,0.5,1.5,0 )*A,COLOR0000DD;
 
DRAWTEXT_FIX(1,0.033,0.77,0,'  【公式网】'),COLORRED;

 




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

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

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