通达信上边绿点卖出 下边红点买入源码副图

2017-07-08 14:00:00来源:本站整理浏览:715

0,COLORRED;
100,COLORGREEN;
{}
B11:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
B2:=SMA(B11,9,1)+100;
B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
B4:=SMA(B3,3,1);
B5:=SMA(B4,3,1)+100;
B6:=B5-B2;
B7:=IF(B6>60,B6-60,0),COLORGREEN;
持有:=STICKLINE(REF(B7,1)<B7,B7,REF(B7,1),5,0),COLORYELLOW;
DRAWBAND(B7,RGB(231,69,80),REF(B7,1),RGB(0,142,35 ));
{}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,COLOR00DD00;
支撑:=L1+P1*0.5/8,COLOR00DD00;
现价:=CLOSE,COLORWHITE,LINETHICK1;
STICKLINE(CROSS(支撑,现价),0,10,1,0),COLORYELLOW;
STICKLINE(LONGCROSS(现价,阻力,2),100,105,1,0),COLORGREEN;

{}
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
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),LINETHICK2;
长期线:=A+100,COLOR9900FF,LINETHICK2;
短期线:=B+100,COLOR888888;
中期线:=D+100,COLORLIGRAY,LINETHICK1;
见顶:=(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;
顶部:=FILTER(顶部区域,4);
底部区域:=(长期线<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) ;
低位金叉:=长期线<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 );
低位买入:=长期线<10 AND CROSS(短期线,长期线) AND (短期线-REF(短期线,1))>12 AND 短期线>15;
低位抄底:=长期线<9 AND CROSS(中期线,长期线) AND 短期线>20;
A1:=BARSLAST(REF(CROSS(中期线,长期线),1));
底背:=REF(CLOSE,A1+1)>CLOSE AND 长期线>REF(长期线,A1+1) AND CROSS(中期线,长期线) AND REF(长期线,A1+1)<11;
A2:=BARSLAST(REF(CROSS(长期线,中期线),1));
顶背:=REF(CLOSE,A2+1)<CLOSE AND REF(长期线,A2+1)>长期线 AND CROSS(长期线,中期线) AND REF(长期线,A2+1)>88;
STICKLINE( 底部区域,5,0,22,1 ),COLORRED;
STICKLINE( 低位金叉,10,15,11,1 ),COLORRED;
STICKLINE(低位买入 ,20,28,2,1 ),COLOR9966FF;
STICKLINE(低位抄底 ,0,10,2.8,1 ),COLORYELLOW;
STICKLINE( 底背,0,10,3,1 ),COLORRED;
STICKLINE( 顶背,105,110,2,1 ),COLORGREEN,LINETHICK2;


{}
VAR1111:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1111-REF(VAR1111,1))/REF(VAR1111,1)*1000;
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2;
神:=EMA(财,M1),COLORGREEN,LINETHICK1;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(财,神) AND 财<-0.3;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;
STJ31:=CROSS(神,财);
STJ02:=控盘>0;
STJ32:=CROSS(神,财) AND 财>1.618;
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);
STJ82:=FILTER(STJ02 AND STJ32 ,13);
STJ83:=STJ81 AND STJ82;
DRAWICON(BTJ811 AND TIME>10,25,26);
DRAWICON(STJ83,75,15);
{}
VAR111:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR211:=SMA(VAR111,3,1);
VAR311:=SMA(VAR211,3,1);
VAR411:=SMA(VAR311,3,1);
VAR611:=CROSS(VAR311,VAR411) AND VAR311<20;
VAR711:=CROSS(VAR411,VAR311) AND VAR311>80;
{STICKLINE(FILTER(VAR611,10)=1,0,10,10,0),COLORRED ;
STICKLINE(FILTER(VAR711,5)=1,90,100,10,0),COLORGREEN ; }
VAR811:=CROSS(VAR211,VAR311) AND VAR311>80 AND VAR311>VAR411;
STICKLINE(VAR811,90,100,10,0),COLORWHITE ;
DRAWICON(FILTER(VAR611,10)=1,45,7);
DRAWICON(FILTER(VAR711,5)=1,80,8);


{}
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
买入股票: STICKLINE(BB,10,20,3,1),COLOR0099FF;


{}
昨收:=DYNAINFO(3);
HH:=DYNAINFO(5);
LL:=DYNAINFO(6);
FK:=MAX(HH-昨收,昨收-LL)*0.1;
Q2:=昨收-2*FK*3.22;
Q3:=昨收-3*FK*3.2;
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
CC:=CLOSE,COLORWHITE,LINETHICK2;
VAR71:=SMA(CC,6.18,1);
JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
三次金叉:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,21)=1;
DRAWICON(三次金叉,30,1);
{0-5 1.3}
A2MM:= SMA(MAX(CLOSE-(REF(CLOSE,2)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,2))),7,1)*100, COLOR00FF00;
VAR3MM:=SMA(MAX(CLOSE-(REF(CLOSE,1)),0),7,1)/SMA(ABS(CLOSE-(REF(CLOSE,1))),7,1)*100;

[1] [2] [3]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式