1、破解的牛顿趋势交易系统的源码想用的拿去(2010-06-12 16:40:19) 转载标签: 股票一、牛顿交易系统N: 1,100, 2;M:1, 50,3PP:=(2*CLOSE+HIGH+LOW)/4;QQ:=ABS(PP-MA(CLOSE,N*15);AA:=QQ/MA(CLOSE,N*15);N2:=(N-2)*15;N3:=(N+2)*15;N4:=(N+3)*15;主趋势线:DMA(PP,AA),LINETHICK2,COLORRED;LQ:=主趋势线*0.99;主趋 30:=DMA(PP,ABS(PP-MA(CLOSE,N2)/MA(CLOSE,N2),LINETHICK1,CO
2、LORLIRED;主趋 90:=DMA(PP,ABS(PP-MA(CLOSE,N3)/MA(CLOSE,N3),LINETHICK1,COLORMAGENTA;主趋 4:=DMA(PP,ABS(PP-MA(CLOSE,N4)/MA(CLOSE,N4),LINETHICK1,COLORMAGENTA;CC:=(CLOSE/主趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=(MA1-主趋势线)/主趋势线)/3;TMP:=MA1-MAAA*MA1;短期趋势线:TMP,LINETHICK2,COLORMAGENTA;QSX:IF(TMP=REF(TMP,1)
3、 AND TMPREF(TMP,1) AND TMP主趋势线,LOW,平多),COLORYELLOW;DRAWTEXT(CROSS(主趋势线,TMP),LOW,开空),COLORGREEN;注:本人已对源码进行测试,不含任何未来函数,可放心使用。二、N 资金监控A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA(CLOSE / HHV(HIGH,120),3,1) * 100);A05:=IF(A03 20),A04,0);A06:=IF(LOW A01),0,IF(HIGH 0) AND (A07 REF(A07,1) AND (A05 80);
4、DRAWICON(CROSS(趋势,0),100,1);(A09 0 AND (趋势REF( 趋势,1)AND 趋势13,0,50,3,0),COLOR0099FF;VAR5:=FILTER(趋势13),10);DRAWTEXT(VAR5,60,明天买进),COLOR0099FF;STICKLINE(趋势=90 AND VAR4,0,30,3,0),COLORGRAY;VAR6:=FILTER(趋势=90 AND VAR4),10);DRAWTEXT(VAR6,340,清仓),COLORGRAY;VAR7:=LLV(LOW,30);VAR8:=HHV(HIGH,30);VAR9:=EMA(CL
5、OSE-VAR7)/(VAR8-VAR7)*4,4)*25;STICKLINE(VAR990,100,105,10,2),COLORRED;VAR10:=(VAR9-LLV(VAR9,4)/(HHV(VAR9,4)-LLV(VAR9,4)*100;DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR987,95,0),88,小心),COLOR00FF00;DRAWICON(CROSS(90,VAR9),95,9);VAR11:=SMA(ABS(L-REF(L,1),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;VAR12:=HHV(VAR11,3
6、0)*8;五指山:EMA(IF(LOW0,0 ,五指山*1.2,8,0 ),COLORRED;VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9)/5;VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10)/5;趋势线:趋势,COLORFF00FF;VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;VAR17:=EMA(VAR16,5);分水岭:VAR17,STICK,COLORFF00FF;STICKLINE(VAR17REF(趋势线,1)AND 趋势线50,50,全仓买进),COLORYELLOW;