{俊俊综合主图
参数M111=3}
DRAWGBK(C>0, RGB(0,10,10),RGB(66,0,0),0,'11',0);
DRAWTEXT_FIX(1,0.0,5,0,'扬州陆俊,原创作品,不经允许,请勿使用。'),COLORRED;
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,1,0),COLOR000077;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND BK1,WO,WL,1,0),COLOR000077;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND K1=0,WC,WO,1,0),COLOR000077;
STICKLINE(PERIOD=5 AND WQ<N AND K0 AND (BK2 OR K3),WC,WO,1,0),COLOR000077;
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),WC,WO,8,0),COLOR000077;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND BK1,WH,WO,1,0),COLOR770000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND BK1,WC,WL,1,0),COLOR770000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND K1=0,WC,WO,1,0),COLOR770000;
STICKLINE(PERIOD=5 AND WQ<N AND NOT(K0) AND (BK2 OR K3),WC,WO,1,0),COLOR770000;
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),WC,WO,8,0),COLOR770000;
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;
{买点信号文字}
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;
DRAWTEXT_FIX(获利%>=95 AND ISLASTBAR,0.97,0.97,0,'高危'),COLORRED;
DRAWTEXT_FIX(获利%>=80 AND 获利%<95 AND ISLASTBAR,0.97,0.97,0,'风险'),COLORYELLOW;
DRAWTEXT_FIX(获利%>=50 AND 获利%<80 AND ISLASTBAR,0.97,0.97,0,'安全'),COLORGREEN;
DRAWTEXT_FIX(获利%<50 AND ISLASTBAR,0.97,0.97,0,'空头'),COLORBLUE;
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR0055FF;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR00FF00;
N6:=10;
T1:=CONST(HHVBARS(V,N6));
T0:IF(CURRBARSCOUNT<=N6+3,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLORFF00FF;
IF(CURRBARSCOUNT=T1+1,T0,DRAWNULL),CIRCLEDOT,COLORFF00FF;
DRAWTEXT(ISLASTBAR,T0,' 量能评台'),COLORCC00CC;
M6:=10;
Q1:=CONST(REF(HHVBARS(V,M6),T1+1)+T1+1);
Q0:IF(CURRBARSCOUNT<=T1+M6+3 AND CURRBARSCOUNT>=T1+1,CONST(REF(C,Q1)),DRAWNULL),COLOR009900;
IF(CURRBARSCOUNT=Q1+1,Q0,DRAWNULL),CIRCLEDOT,COLOR00CC00;
M1:=CONST(LLVBARS(V,M6));
M0:IF(CURRBARSCOUNT<=M6+7,CONST(IF(M1=0,O,REF(O,M1))),DRAWNULL);
IF(CURRBARSCOUNT=M1+1,M0,DRAWNULL),CIRCLEDOT;
DRAWTEXT( |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!