黄金白银成交量需要L2支持(大智慧)智能买卖系统(大智慧)
admin888
|黄金白银成交量需要L2支持(大智慧)智能买卖系统(大智慧)
黄金白银成交量需要L2支持(大智慧)
希望对大家有所帮助下面是源码:
VAR0:=HOUR;
VAR1:=vol;
VAR2:=VAR1/CAPITAL;
VAR3:=BIGORDER(1,2) + BIGORDER(2,2);
VAR4:=BIGORDER(1,2) - BIGORDER(2,2);
VAR5:=VAR2 * VAR3 * 100;
VAR6:=VAR2 * VAR4 * 100;
IF VAR0 > 0 THEN BEGINVOLUME:VAR1,VOLstICK;
ENDELSE BEGIN:=CAPITAL * VAR5/1000;
VAR8:=CAPITAL * VAR6/100;
VAR9:=CLOSE - REF(CLOSE,1);
LOOP1:=VAR9 >= 0;
LOOP2:=VAR7 * 3;
STICKLINE(LOOP1,LOOP2,VAR1,7.6,3);
LOOP3:=VAR9 < 0;
STICKLINE(LOOP3,LOOP2,VAR1,7.6,3);
VAR10:=VAR1/ma(VAR1,55) * 100;
ENDSTICKLINE(LOOP1,LOOP2,VAR1,7.6,3),COLORRED;
STICKLINE(LOOP3,LOOP2,VAR1,7.6,3),COLORGREEN;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,8.5,0),COLOR777777;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,8,0),COLOR111111;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,7,0),COLOR333333;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,6,0),COLOR555555;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,5,0),COLOR777777;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,4,0),COLOR999999;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,3,0),COLORBBBBBB;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,2,0),COLORDDDDDD;
STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,1,0),COLORWHITE;
STICKLINE(VAR10 > 100,0,VAR1,5,0),COLOR000011;
STICKLINE(VAR10 > 100,0,VAR1,4,0),COLOR000033;
STICKLINE(VAR10 > 100,0,VAR1,3,0),COLOR000055;
STICKLINE(VAR10 > 100,0,VAR1,2,0),COLOR000077;
STICKLINE(VAR10 > 100,0,VAR1,1,0),COLOR000099;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,7.5,0),COLOR005555;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,6,0),COLOR006666;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,5,0),COLOR007777;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,4,0),COLOR009999;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,3,0),COLOR00BBBB;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,2,0),COLOR00DDDD;
STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,1,0),COLORYELLOW;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,7.5,0),COLOR0000AA;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,7,0),COLOR0000AA;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,6,0),COLOR0000BB;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,5,0),COLOR0000CC;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,4,0),COLOR0000DD;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,3,0),COLOR0000EE;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,2,0),COLORRED;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,1,0),COLORRED;
STICKLINE(VAR9 >= 0,0,VAR7 * 3,0,0),COLORRED;
STICKLINE(VAR9 < 0,0,VAR7 * 3,8.5,0),COLOR777777;
STICKLINE(VAR9 < 0,0,VAR7 * 3,8,0),COLOR001100;
STICKLINE(VAR9 < 0,0,VAR7 * 3,7,0),COLOR003300;
STICKLINE(VAR9 < 0,0,VAR7 * 3,6,0),COLOR005500;
STICKLINE(VAR9 < 0,0,VAR7 * 3,5,0),COLOR007700;
STICKLINE(VAR9 < 0,0,VAR7 * 3,4,0),COLOR009900;
STICKLINE(VAR9 < 0,0,VAR7 * 3,3,0),COLOR00BB00;
STICKLINE(VAR9 < 0,0,VAR7 * 3,2,0),COLOR00DD00;
STICKLINE(VAR9 < 0,0,VAR7 * 3,1,0),COLORGREEN;
价位轴:0,LINETHICK2,COLORBLUE;
智能买卖系统(大智慧)
短趋势线:ma(CLOSE,13),COLORYELLOW,LINETHICK2;
中线:=MA(CLOSE,33);
中趋势线:MA(CLOSE,55),LINETHICK1,COLORGRAY;
年线:MA(CLOSE,250),LINETHICK1,COLORGRAY,POINTDOT;
PARTLINE(短趋势线,CLOSE>短趋势线,RGB(255,0,0),CLOSE<短趋势线,RGB(0,255,0),1,RGB(0,0,255)),LINETHICK2;
上极限:=((C-REF(MA(CLOSE,20),1))/20+短趋势线)*1.20;
DRAWTEXT(crOSS(CLOSE,上极限),H*1.02,'减仓'),COLORGREEN;
DRAWTEXT(CROSS(CLOSE,MA(C,13)) AND 短趋势线
DRAWTEXT(CROSS(短趋势线,C) AND INDEXC>MA(INDEXC,13) AND 短趋势线>REF(短趋势线 ,1) AND V中趋势线 ,L*0.97,'买入'),COLORRED;
stICKLINE(CROSS(短趋势线,C) AND 短趋势线>REF(短趋势线 ,1) AND V中趋势线 ,L,L*0.99,2,1),COLORYELLOW;
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
DRAWTEXT(VAR1>9 AND FILTER(VAR1
DRAWTEXT(VAR1>20 AND FILTER(VAR1
VAR2:=HHV(VAR1>20,10);
DRAWTEXT(FILTER(VAR1<-9 AND VAR1>REF(VAR1,1),18) AND V>REF(V,1),L*0.98,'反弹'),COLORRED;
DRAWTEXT(VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),5) ,L*0.95,'抄底'),COLORYELLOW;
DRAWTEXT(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),H*1.1,'危险 '),COLORYELLOW;
VAR12:=(HIGH - LOW);VAR3:=A
bs((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR12) *vol);
VAR7:=((VAR4 / VAR12) * VOL);VAR8:=((VAR5 / VAR12) * VOL);
VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
DRAWTEXT((((((VAR6 > (MA(VOL,5) * 2)) AND 短趋势线>REF(短趋势线 ,1) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8))
AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARB AND 短趋势线>REF(短趋势线 ,1))) ,L*0.98,'主力介入'),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。