UID82451
积分93
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2010-9-22
最后登录1970-1-1
|
马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
大智慧新一代使用,直接上源码(核心指标非原创),用法见图,权当初来贵坛的小礼、、、
{以下设置背景}
DRAWGBKlast(c, strip(RGB(00,190,190) ,RGB(00,00,30),2));
{以下设置个股信息}
DRAWTEXTABS(12,8, '所属板块: '+BKNAME),Color000000;
DRAWTEXTABS(12,21,'每股收益: '+NUMTOSTRN(FINANCE2(3),2)+'元 '+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),1)+'倍 '+' 每股公积金:'+NUMTOSTRN(FINANCE2(7),2)+'元'),Color000000;
DRAWTEXTABS(12,34,'总 股 本: '+NUMTOSTRN(FINANCE2(35),2)+' 万股'),Color000000;
DRAWTEXTABS(12,47,'流通 A股: '+NUMTOSTRN(FINANCE2(37),2)+' 万股'),Color000000;
{以下设置胡子短线}
XGQ:=(((HHV(((LLV(H,7)+EMA(C,5))/2),2))+((LLV(H,3)+EMA(C,4))/2))/2);
DLP:=((LLV(H,3)+EMA(C,4))/2);
短线:MA((1.8*DLP-(XGQ)*0.8),2),color000000,LAYER5;
短线2:=EMA((0.667*REF(短线,1)+0.333*短线),2);
FILLRGN(短线, 短线2,短线>=短线2),color000000,LAYER5;
drawtext(REF(H,1)>REF(短线,1) AND 短线>REF(短线,1) AND H<短线,短线,'﹖'),colorFF9900,ALIGN1,VALIGN2;
{以下设置布林带}
决策线:=EMA((MA(CLOSE,5)),3);
UPR:=决策线 + (3 * (STD(决策线,10)));
DWN:=决策线 - (3 * (STD(决策线,10)));
UPR1:=决策线 + (4* (STD(决策线,10)));
DWN1:=决策线 - (4* (STD(决策线,10)));
FILLRGN(UPR,DWN),Color004400,LAYER6;
FILLRGN(UPR1,UPR),Color002500,LAYER6;
FILLRGN(DWN1,DWN),Color002500,LAYER6;
{以下设置高压位}
底部支撑:=HHV(ma(l,11),98);
HZ4:=ma(底部支撑,30);
PARTLINE(HZ4,底部支撑>HZ4),color990077,LAYER6;
PARTLINE(HZ4,底部支撑<=HZ4),colorDD0000,LAYER6,linethick2;
FILLRGN(底部支撑,HZ4,底部支撑>=HZ4),Color990077,LAYER6;
FILLRGN(底部支撑,HZ4,底部支撑<HZ4),ColorDD0000,LAYER6;
{以下设置胡子不亏均线}
M47:=ma(c,47);
M48:=Ema(m47,3);
M49:=Ema(m48,3);
M50:=Ema(m49,2);
PARTLINE( m50,M47>=M50),color0044CC,LAYER6;
PARTLINE( m50,M47<M50),color00CC00,LAYER6;
FILLRGN(M47,M50,M47>=M50),Color0044CC,LAYER6;
FILLRGN(M47,M50,M47<M50),Color00CC00,LAYER6;
{以下设置彩色K线及买点}
a2:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
a3:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;
a4:=EMA((MA(a2,5)),10);
a5:=EMA((MA(a2,15)),10);
a6:=EMA((MA(a2,13)),21);
a7:=((a4 + a5) + a6) / 3;
a8:=(((REF(a7,1)) + a7) + (REF(a7,2))) / 3;
a9:=((EMA((MA(a2,3)),3)) + (WMA(a2,5))) / 2;
a10:=REF(a9,1);
a11:=BARSCOUNT(CLOSE);
a12:=IF((a11 = 1),0,(((a9 - a10) / a10) * 100));
a13:=REF(CLOSE,1);
a14:=IF((a11 = 1),0,(((CLOSE - a13) / a13) * 100));
a15:=IF((a11 = 1),((CLOSE + OPEN) / 2),a10);
a16:=REF(a9,2);
a17:=((a9 + a10) + a16) / 3;
a18:=((ABS((a9 - a17)) + ABS((a10 - a17))) + ABS((a16 - a17))) / 3;
a19:=IF((a11 < 3),0,((a18 / a9) * 100));
a20:=IF((((a12 > 0.5) AND ((a19 > 0.215) OR (LOW > a15))) AND (CLOSE >= OPEN)),1,0);
a21:=IF((((a12 < (0 - 0.3)) AND ((a19 > 0.2) OR (HIGH < a15))) AND ((OPEN >= CLOSE) OR (a14 < -1))),1,0);
B:=((COUNT(a20,BARSLAST(a21))) = 1) AND a20;
a24:=C>=短线2;
a25:=C<短线2;
STICKLINE((CLOSE >=OPEN),HIGH,LOW,0.0001,1),color0011FF;
STICKLINE((CLOSE >=OPEN),OPEN,CLOSE,6.5,1),Color0011FF;
STICKLINE((CLOSE < OPEN),OPEN,CLOSE,6.5,0),ColorFF6600;
STICKLINE((CLOSE < OPEN),HIGH,LOW,0.0001,0),colorFFFF00;
STICKLINE(A24,CLOSE,OPEN,6.5,0),color000033;
STICKLINE(a24,CLOSE,OPEN,5.5,0),Color000055;
STICKLINE(a24,CLOSE,OPEN,4.5,0),Color000077;
STICKLINE(a24,CLOSE,OPEN,3.5,0),Color000099;
STICKLINE(a24,CLOSE,OPEN,2.5,0),Color0000BB;
STICKLINE(a24,CLOSE,OPEN,1.5,0),Color0000DD;
STICKLINE(a24,CLOSE,OPEN,0.5,0),Color0000FF;
STICKLINE(a25,CLOSE,OPEN,6.5,0),ColorFF6600;
STICKLINE(a25,CLOSE,OPEN,5.5,0),ColorFF8800;
STICKLINE(a25,CLOSE,OPEN,4.5,0),ColorFFAA00;
STICKLINE(a25,CLOSE,OPEN,3.5,0),ColorFFBB00;
STICKLINE(a25,CLOSE,OPEN,2.5,0),ColorFFDD00;
STICKLINE(a25,CLOSE,OPEN,1.5,0),ColorFFEE00;
STICKLINE(a25,CLOSE,OPEN,0.5,0),ColorFFFF55;
DRAWTEXT(B,(LOW * 0.98),'⊕'),linethick1,ALIGN1,color00FFFF,LAYER0;
|
评分
-
1
查看全部评分
-
|