软件名称:[B]俊俊多功能主图[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:18.0 KB
官方主页:Home Page
更新时间:2015-04-21 04:35:31
软件简介:
每个角落都有机关,已经弄的很细致了,前几年的东西,功能很多,值得去挖掘,集合自己选的票来看,起到非常好的辅助作用。
主图有源码文件,导入引用公式再加入主图,里面有喜欢的可以自己提取出来,放到自己主图,不喜欢的丢了。DIY
反正我每个信号和每段源码都做了隔断和名称,方便你们查找。
本网补充说明:本公式我自己在不同的版本的通达信测试,有的可以正常显示,有的就不能显示,例如:理想组合5.78C,就不能显示,。。。
公式本来是加密的,为了让大家能用只好和谐源码了,这时候,大家可以用下面的和谐的源码重新建立公式试一试,还不能显示的,只能放弃或者更换通达信版本。
[url=http://www.70822.com/soft/sort013/sort05/down-83494.html]俊俊多功能主图[/url]
本网补充说明:本公式我自己在不同的版本的通达信测试,有的可以正常显示,有的就不能显示,例如:理想组合5.78C,就不能显示,。。。
公式本来是加密的,为了让大家能用只好和谐源码了,这时候,大家可以用下面的和谐的源码重新建立公式试一试,还不能显示的,只能放弃或者更换通达信版本。
引用公式:
{Y01}
ND1970:=(YEAR-1970)*365+INTPART((YEAR-1972)/4)-IF(INTPART(YEAR/4)=YEAR/4,1,0)+DAY+(MONTH-1)*30+IF(MONTH<=8,INTPART(MONTH/2),INTPART((MONTH-7)/2)+4)-
IF(MONTH>2 AND INTPART(YEAR/4)=YEAR/4,1,IF(MONTH>2 AND NOT(INTPART(YEAR/4)=YEAR/4),2,0));
C1:C;
O1:REF(O,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1)));
H1:HHV(H,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1))+1);
L1:LLV(L,BARSLAST(ND1970-REF(ND1970,1)>WEEKDAY-REF(WEEKDAY,1))+1);
RQ:CURRBARSCOUNT;
============================================================
综合主图公式:
{参数M111默认3}
DRAWGBK(C>0, RGB(0,10,10),RGB(88,0,0),0,'11',0);
DRAWTEXT_FIX(1,0.0,5,0,'扬州陆俊,原创作品,不经允许,请勿使用。'),COLORRED;
DRAWKLINE(H,O,L,C);
{日周K线}
底部支撑:HHV(MA(L,11),98),COLORGREEN,LINETHICK1;
HZ1:MA(底部支撑,12),COLORCYAN;
HZ2:MA(底部支撑,18),COLORMAGENTA;
HZ3:MA(底部支撑,24),COLORRED;
HZ4:MA(底部支撑,30),COLORBLUE,LINETHICK1;
MA120:=MA(C,120),COLORCYAN,POINTDOT;
MA240:=MA(C,240),COLORYELLOW,LINETHICK1,POINTDOT;
{胡子均线}
M47:MA(C,47),COLORGREEN;
M48:EMA(M47,3),COLORGREEN,LINETHICK1;
M49:EMA(M48,3),COLORMAGENTA;
M50:EMA(M49,2),COLORMAGENTA;
N:=13;
WO1:="Y01.O1#WEEK";
WC:="Y01.C1#WEEK";
WH:="Y01.H1#WEEK";
WL:="Y01.L1#WEEK";
WQ:="Y01.RQ#WEEK";
K1:=WO1=REF(WO1,1) AND WC=REF(WC,1) AND WH=REF(WH,1) AND WL=REF(WL,1);
K3:=REF(C,1)=DYNAINFO(3) AND O=DYNAINFO(4) AND C=DYNAINFO(7) AND H=DYNAINFO(5) AND L=DYNAINFO(6);
DD:=REF(BARSLAST(K1=0)+1,1),LINETHICK0;
DD1:=CROSS(BACKSET((K1=0 OR K3) AND DD=5,4),0.5),NODRAW;
DD2:=CROSS(BACKSET((K1=0 OR K3) AND (DD=4 OR DD=3),3),0.5),NODRAW;
DD3:=CROSS(BACKSET((K1=0 OR K3) AND DD<=2,2),0.5),LINETHICK0;
BK1:=DD1 OR DD2 OR DD3;
BK2:=CROSS(BACKSET(K1=0,2),0.5);
BK3:=CROSS(BACKSET(K1=0 AND REF(K1=0,1),2),0.5);
WO:=IF(BARSLAST(K1=0)=0,O,REF(O,BARSLAST(K1=0))),NODRAW;
K0:=WC>WO OR (WC=WO AND WC>REF(WC,BARSLAST(K1=0)+1));
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND BK1,WH,WC,0,0),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND BK1,WO,WL,0,0),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND K1=0,WC,WO,0,0),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND (BK2 OR K3),WC,WO,0,0),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND ((K1 AND BK2=0 AND K3=0) OR BK3),WC,WC,8,1),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND ((K1 AND BK2=0 AND K3=0) OR BK3),WO,WO,8,1),COLOR000099;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND BK1,WH,WO,0,0),COLORFF0000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND BK1,WC,WL,0,0),COLORFF0000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND K1=0,WC,WO,0,0),COLORFF0000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND (BK2 OR K3),WC,WO,0,0),COLORFF0000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND ((K1 AND BK2=0 AND K3=0) OR BK3),WC,WC,8,1),COLORFF0000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND ((K1 AND BK2=0 AND K3=0) OR BK3),WO,WO,8,1),COLORFF0000;
{买点信号文字}
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT((XL3 > 0),(LOW - 0.2),'绝对底部');
VAR2S:=(2*CLOSE+HIGH+LOW)/4;
VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR4S:=LLV(LOW,5);
VAR5S:=HHV(HIGH,4);
散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;
XX:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;
DRAWTEXT(CROSS(散户,XX) AND 散户<30,L-0.05,'吸'),COLORRED;
VAR1R:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;
VAR2R:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
VAR3R:=VAR1R AND VAR2R;
DRAWTEXT(VAR3R,LOW,'逢低买入 '),COLORFFFF00;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.99),'大胆搏 '),COLORYELLOW;
{买点信号}
N0:=9;
M:=14;
N1:=6;
TYP:=(HIGH + LOW + CLOSE)/3;
CC1:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;
C1:=SMA(CC1,3,1);
C2:=SMA(C1,3,1);
C3:=3*C1-2*C2;
CB1:=EMA(C3,5);
CB2:=REF(CB1,1);
CC2:=(TYP-MA(TYP,M))/(0.015*AVEDEV(TYP,M)),COLORFF00FF;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI:=(RSI1-50)*5.3,LINETHICK2,COLORFFFFFF;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
RR1:=EMA(J1,5);
RR2:=REF(RR1,1);
RR:=RR1>RR2;
RSV:=(CLOSE-LLV(LOW,N0))/(HHV(HIGH,N0)-LLV(LOW,N0))*100;
K:=SMA(RSV,3,1);
KZ:=(K-50)*5,,COLOR00FF00;
K2:=SMA(KZ,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
XG5:=(RR AND NOT(REF(RR,1)) AND (RR1<-100 AND BB1<-100) AND CB1<-100);
DRAWICON(XG5,L*0.987,38);
DRAWICON(XG5,L*0.966,38);
DRAWICON(XG5,L*0.939,34);
{买点信号2}
VAR22:=((LLV(LOW,3) = LLV(LOW,3)) AND (CLOSE >= (OPEN * 1.04)));
VAR333:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));
VAR44:=(VAR22 AND VAR333);
VAR55:=BARSLAST(VAR333);
VAR66:=BARSLAST(VAR44);
VAR77:=IF((VAR66 > 0),(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100),0);
VAR88:=SUM(VAR77,1);
VAR93:=IF((VAR55 > 3),(0 - 2),0);
特准:=(REF(VAR93,1) = (0 - 2)) AND (VAR93 = 0);
DRAWICON(特准,L*0.987,38);
DRAWICON(特准,L*0.966,9);
{买点信号3}
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AAA:=(DIF-DEA)*2*60;
启动:=CROSS(AAA-REF(AAA,1),15),COLORRED,LINETHICK2;
DRAWICON(启动,L*0.987,38);
DRAWICON(启动,L*0.935,11);
{起爆点}
L1:=LLV(L,10);
爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;
起爆:=CROSS(爆发点,20) OR CROSS(爆发点,18);
DRAWICON(起爆,L*0.985,23);
{卖点信号}
VAR1:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VAR2:=((REF(HIGH,1) + REF(LOW,1)) / 2);
VAR3:=(MA(CLOSE,N) + (2 * STD(CLOSE,N)));
卖点:=CROSS(VAR2,VAR3);
DRAWICON(卖点,HIGH*1.01,12);
{瞬间突破}
获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
<[url=http://www.70822.com/soft/sort013/sort05/down-83494.html]俊俊多功能主图[/url]