大家一起动手,编译著名的AbleTrend交易系统! [开拓者 TB]
- 咨询内容:
本帖最后由 topgun0791 于 2016-10-7 10:55 编辑
谁有著名的AbleTrend的源码?
mt4的也可以
- TB技术人员:
前辈们已经在思考,并且在用行动说话!
破解全球顶尖的AbleTrend趋势交易软件
http://bbs.tb18.net/thread-26002-1-1.html
- TB客服:
这方面的资料,
好像确实非常的难找!
看来,只有慢慢地啃原作者的那本书了 - 网友回复:
本帖最后由 topgun0791 于 2016-10-7 11:09 编辑
topgun0791 发表于 2016-10-7 11:06
这方面的资料,
好像确实非常的难找!
不过,我就只是惊鸿一瞥之间,
就感觉,
那本书,(《和趋势在一起》一书中,汪郑武博士(John Wang))
确实不是乱盖的! - 网友回复:
http://bbs.tb18.net/forum.php?mo ... amp;authorid=107997
http://bbs.tb18.net/forum.php?mo ... amp;authorid=107997
这是本坛友 lanhai123 提供的本公式应用的MT4版:
int start()
{
double value2;
double value3;
double value10=10;
double value11;
double x1=70;
double x2=30;
int TrueCount;
int counter;
int MRO1;
int MRO2;
int i1;
double Range;
double AvgRange;
double val1;
double val2;
double Table_value2[500][2];
int counted_bars=IndicatorCounted();
value10=3+RISK*2;
x1=67+RISK;
x2=33-RISK;
value11=value10;
//----------------------------
if(counted_bars<0) return (-1);
if(counted_bars>0) counted_bars--; //last bar recounted
int i;
int shift = Bars-counted_bars-1;
if (shift > AllBars) shift = AllBars;
for(i=shift; i>0; i--)
{
counter=i;
Range=0;
AvgRange=0;
for (counter=i ;counter<=i+9;counter++)
{
AvgRange=AvgRange+MathAbs(High[counter]-Low[counter]);
}
Range=AvgRange/10;
counter=i;
TrueCount=0;
while (counter<i+9 && TrueCount<1)
{
if (MathAbs(Open[counter]-Close[counter+1])>=Range*2.0 )
TrueCount++;
counter++;
}
if (TrueCount>=1)
MRO1=counter ;
else
MRO1=-1;
counter=i;
TrueCount=0;
while (counter<i+6 && TrueCount<1)
{
if(MathAbs(Close[counter+3]-Close[counter])>=Range*4.6)
{TrueCount++;}
counter++;
}
if(TrueCount>=1)
MRO2=counter;
else
MRO2=-1;
if (MRO1>-1)
value11=3;
else
value11=value10;
if (MRO2>-1)
value11=4;
else
value11=value10;
value2=100-MathAbs(iWPR(NULL,0,value11,i));
Table_value2[0]=i;
Table_value2[1]=value2;
val1=0;
val2=0;
value3=0;
//------------------- val1
if (value2<x2 ) // x2 = 30
{
i1=1;
while (Table_value2[i+i1][1]>=x2 && Table_value2[i+i1][1]<=x1)
{i1++;}
if (Table_value2[i+i1][1]>x1)
{
value3=High+Range*0.5;
val1=value3;
}
}
//------------------- val2
if ( value2>x1) // x1 = 70
{
i1=1;
while (Table_value2[i+i1][1]>=x2 && Table_value2[i+i1][1]<=x1)
{i1++;}
if (Table_value2[i+i1][1]< x2)
{
value3=Low-Range*0.5;
val2=value3;
}
}
if (val2!=0 && up==0 )
{
val1buffer= val2-1*Point;
up=1;
dn=0;
if(shift<=2)
{
Alert (Symbol()," ",Period(),"M Asctrend BUY ");
}
}
if (val1 !=0 && dn==0)
{
val2buffer= val1+1*Point;
dn=1;
up=0;
if(shift<=2)
{
Alert (Symbol()," ",Period(),"M Asctrend SELL ");
}
}
}
return(0);
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容