您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

超跌关注主图指标公式{主图指标公式叠加}[大智慧公式]

相关标签:

 

a1:=1;
a2:=(EMA(CLOSE,3)) * a1;
a3:=(EMA(CLOSE,5)) * a1;
a4:=(EMA(CLOSE,2)) * a1;
a5:=(EMA((((SLOPE(CLOSE,21)) * 20) + CLOSE),42)) * a1;
红绿黏合为强势:(HHV((MA(HIGH,13)),13)) * a1,linethick2,colorRed;
绿线下方为弱势:(LLV((MA(HIGH,13)),1)) * a1,linethick1,colorGreen;
a6:=(EMA(CLOSE,4)) * a1;
DRAWTEXT((CLOSE <= 绿线下方为弱势),LOW,'↓'),colorGreen;
DRAWTEXT(((((CROSS(a2,a3)) AND (a4 >= a5)) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (CLOSE > 绿线下方为弱势)),(LOW * 0.987),'追'),colorYellow;
DRAWTEXT(((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)),LOW,'▲'),colorMagenta;
a7:=((((a4 >= a5) AND (绿线下方为弱势 = 红绿黏合为强势)) AND (a4 > a6)) AND (CLOSE > 绿线下方为弱势)) AND ((REF(绿线下方为弱势,1)) < (REF(红绿黏合为强势,1)));
DRAWTEXT(a7,(LOW * 0.987),'牛'),colorYellow;
a8:=((((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5) * a1;
a9:=(REF(a8,1)) * a1;
a10:=((SMA((MAX((a8 - a9),0)),10,1)) / (SMA(ABS((a8 - a9)),10,1))) * 100;
a11:=IF((((((COUNT((a10 < 20),5)) >= 1) AND ((COUNT((a8 = (LLV(a8,10))),10)) >= 1)) AND (CLOSE >= (OPEN * 1.038))) AND (VOL > ((MA(VOL,5)) * 1.2))),1,0);
DRAWTEXT(a11,LOW,'超跌关注'),colorRed;
DRAWTEXTREL(15,30,'出现‘▲’买'),linethick2,colorMagenta;
DRAWTEXTREL(180,30,'出现‘↓’卖'),linethick2,colorGreen;
DRAWTEXTREL(350,30,'0000:00000000'),linethick2,colorWhite;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容