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

超级短线急速研判星座趋势[大智慧公式]

相关标签:趋势研判指标 、 大智慧中短线买卖指标 、 短线是银 指标 大智慧 、 股票大趋势研判技巧 、 短线趋势指标公式 、 超级短线指标公式 、 macd超级短线指标公式 、 大智慧熊市短线公式 、 大智慧主升短线公式 、 qsdd超级短线指标公式 、 大智慧黄金趋势指标 、 大智慧l2资金趋势指标 、 大智慧指标公式 、 大智慧指标公式大全 、 大智慧超准确指标公式 、

 

原理解析:


 

 来源:程序化99( WWW.CXH99.COM )

源码:

 

input:N(13,1,99),M(1,0,60),P(3,1,300),P2(5,1,300),P3(36,1,300),P4(13,1,300),P5(65,1,300);a1:=1;a2:=(EMA(CLOSE,3)) * a1;a3:=(EMA((((SLOPE(CLOSE,22)) * 20) + CLOSE),55)) * a1;a4:=MA(a3,1);a5:=a4 * 0.985;a6:=MA(CLOSE,5);a7:=MA(CLOSE,13);a8:=MA(CLOSE,21);a9:=IF((a2 > a4),a4,a5);STICKLINE((a2 > (a4 * a1)),(a4 * 1.001),(a4 + 0.018),6,501),linethick2,colorRed;STICKLINE((a2 < (a4 * a1)),(a4 * 1.001),(a4 + 0.018),6,501),linethick2,colorGreen;a10:=(CLOSE > (REF(CLOSE,1))) AND (CLOSE > (REF(CLOSE,2)));a11:=((REF(a10,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a12:=((REF(a11,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a13:=((REF(a12,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a14:=((REF(a13,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a15:=((REF(a14,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a16:=((REF(a15,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a17:=((REF(a16,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a18:=((REF(a17,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a19:=((REF(a18,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a20:=((REF(a19,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a21:=((REF(a20,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a22:=(CLOSE < (REF(CLOSE,1))) AND (CLOSE < (REF(CLOSE,2)));a23:=((REF(a22,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a24:=((REF(a23,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a25:=((REF(a24,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a26:=((REF(a25,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a27:=((REF(a26,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a28:=((REF(a27,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a29:=((REF(a28,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a30:=((REF(a29,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a31:=((REF(a30,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a32:=((REF(a31,1)) AND (CLOSE <= (REF(CLOSE,1)))) AND (CLOSE >= (REF(CLOSE,2)));a33:=((REF(a32,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE <= (REF(CLOSE,2)));a34:=(REF((((((((((((a22 OR a23) OR a24) OR a25) OR a26) OR a27) OR a28) OR a29) OR a30) OR a31) OR a32) OR a33),1)) AND a10;STICKLINE((a34 * a1),LOW,(LOW + 0.1),12,1),linethick2,colorYellow;a35:=(REF((((((((((((a10 OR a11) OR a12) OR a13) OR a14) OR a15) OR a16) OR a17) OR a18) OR a19) OR a20) OR a21),1)) AND a22;STICKLINE((a35 * a1),HIGH,(HIGH - 0.1),12,1),linethick2,colorWhite;a36:=a6 * a1;a37:=(MA(CLOSE,10)) * a1;a38:=(MA(CLOSE,20)) * a1;a39:=(MA(CLOSE,30)) * a1;a40:=(MA(CLOSE,250)) * a1;a41:=BARSLAST((CROSS(a36,a37)));a42:=BARSLAST((CROSS(a37,a36)));a43:=IF((a41 < a42),(a41 + 1),0);a44:=IF((a42 < a41),(a42 + 1),0);a45:=(((a36 > a38) AND (a37 > a38)) AND (a38 > (REF(a38,1)))) AND (a39 > (REF(a39,1)));a46:=a43 * a45;a47:=a44 * a45;a48:=((((HHV(a43,5)) >= 2) AND a45) AND (a36 > (REF(a36,1)))) AND (a36 > a37);a49:=a48 * a43;a50:=BARSLAST(((a49 > 0) AND NOT((REF(a49,1))))) + 1;a51:=((CLOSE / (REF(CLOSE,a50))) - 1) * 100;a52:=(a46 > 0) AND (a49 = 0);a53:=BARSLAST(a52) + 1;a54:=(ATAN((((a36 / (REF(a36,1))) - 1) * 100)) * 180) / 3.14159;a55:=(a54 > (REF(a54,1))) AND ((REF(a54,1)) < (REF(a54,2)));a56:=(a36 > (REF(a36,1))) AND ((REF(a36,1)) < (REF(a36,2)));a57:=FILTER((((a55 OR a56) AND (CLOSE > a36)) AND a48),3);a58:=BARSLAST(a57);STICKLINE(a52,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorGreen;STICKLINE(a52,LOW,HIGH,1,1),colorGreen;STICKLINE(a57,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorYellow;STICKLINE(a57,LOW,HIGH,1,1),colorYellow;STICKLINE(((a58 > 0) AND (a58 <= 5)),(REF(OPEN,(a58 + 1))),(REF(OPEN,(a58 + 1))),4,1),colorWhite;DRAWTEXT(a57,LOW,'▲'),colorYellow;DRAWTEXT(a49,a9,'○'),colorWhite;DRAWTEXT(a52,a9,'□'),colorGreen;DRAWTEXT(((a2 > (a4 * a1)) AND (a34 * a1)),(LOW - 0.05),'㊣'),linethick3,colorRed;DRAWTEXT(((a2 < (a4 * a1)) AND (a35 * a1)),(HIGH + 0.05),'▼'),linethick3,Color9000F5;a59:=EMA(CLOSE,5);a60:=IF((CLOSE = INDEXC),((((INDEXC + INDEXH) + INDEXL) + INDEXO) / 4),((AMOUNT / (VOL + 0.01)) / 100));a61:=(((LOW + (a60 - LOW)) + (CLOSE - LOW)));a62:=((LOW + (CLOSE - a60)));a61:=(((LOW + (a60 - LOW)) + (CLOSE - LOW)));a62:=((LOW + (CLOSE - a60)));a63:=(REF(a61,1)) * a1;a64:=(REF(a62,1)) * a1;STICKLINE(((DISPSTATUS = 2) AND (CLOSE >= a63)),a63,a63,30,0),colorRed;STICKLINE(((DISPSTATUS = 2) AND (CLOSE < a63)),a63,a63,30,0),colorGreen;STICKLINE(((DISPSTATUS = 2) AND (CLOSE >= a64)),a64,a64,30,0),colorMagenta;STICKLINE(((DISPSTATUS = 2) AND (CLOSE < a64)),a64,a64,30,0),ColorFF0000;主力线:MA(CLOSE,5);散户线:MA(CLOSE,6);趋势线:MA(CLOSE,13),linethick5,colorred;DRAWTEXTREL(1,760,'所属板块:'+BKNAME),ColorAFFF00;DRAWTEXTREL(1,830,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));DRAWTEXTREL(10,900,'㊣十二星座*神獒赢富㊣'),linethick1,COLOR00EEff;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');

 

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

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

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

 


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

相关文章

    没有相关内容