股票的公式有哪些?大智慧红色牛市公式源码
2016-6-14 10:54:57 股票入门 http://rumen.southmoney.com
股票的公式有哪些?大智慧红色牛市公式源码 附:大智慧星座趋势超级短线急速研判公式源码 南方财富网小编为您提供
【大智慧红色牛市公式源码】
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">{第一个:60分钟中期线上穿长期线,同时周线的中期线小于长期线。
第二个:60分钟中期线上穿长期线,同时周线的中期线大于长期线,并且月线的中期线小于长期线。
第三个:60分钟中期线上穿长期线,同时周线的中期线大于长期线,并且月线的中期线大于长期线。}
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
短期线:B+100,COLORWhite,LINETHICK2;
中期线:D+100,COLORYELLOW,LINETHICK3;
牛市线:A+100,COLOR9900FF,LINETHICK5;
见顶:=((REF(中期线,1)>85
AND REF(短期线,1)>85 AND REF(牛市线,1)>65) AND CROSS(牛市线,短期线));
顶部区域:(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND
(REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 牛市线>60 AND 短期线<83.5
AND
短期线<中期线 AND 短期线<牛市线+4,COLORFF00FF;顶部:=FILTER(顶部区域,4);
STICKLINE(
顶部,99,103,20,1 ),COLORFF00FF,LINETHICK5;
底部区域:(牛市线<12 AND 中期线<8 AND
(短期线<7.2 OR REF(短期线,1)<5) AND (中期线>REF(中期线,1) OR
短期线>REF(短期线,1)))
OR (牛市线<8 AND 中期线<7 AND 短期线<15 AND
短期线>REF(短期线,1)) OR (牛市线<10 AND 中期线<7 AND 短期线<1)
,COLORGREEN;
STICKLINE( 底部区域,-4,0,22,0 ),COLORGREEN,LINETHICK3;
低位金叉:50*(牛市线<15
AND REF(牛市线,1)<15 AND 中期线<18 AND 短期线>REF(短期线,1) AND CROSS(短期线,牛市线) AND
短期线>中期线
AND (REF(短期线,1)<5 OR REF(短期线,2)<5 ) AND
(中期线>=牛市线 OR REF( 短期线,1)<1 )),COLORRED,LINETHICK3;
STICKLINE( 低位金叉,0,5,11,0
),COLORRED;80,COLOR996699;20,COLORGREEN;10,COLORCC6633,LINETHICK3;
90,COLOR9966FF,LINETHICK3;
附:【大智慧星座趋势超级短线急速研判公式源码】
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;
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。