Monday, March 12, 2007

AmiBroker

Machineghost provided a set of code using the AmiBroker application that generates NewMoMo. I reviewed the web site and like what I see - and they do provide a 30 day free trial -

But I haven't signed up for it yet as I'm very busy right now with other projects and will remain busy for the next month or so.

So if Machineghost reads this post if he would provide a brief review of AmiBroker in the comments I'd appreciate it.

// NewMoMo AmiBroker Code
SetForeign("^DJI");
TimeFrameSet(inWeekly);
Normalized=C/Ref(MA(C,20),-1);
MarlynEMA=AMA2(Normalized,.4,.6);
MarlynEMAMax=HHV(MarlynEMA,5);
MarlynEMAMin=LLV(MarlynEMA,5);
Maximum=MarlynEMA-MarlynEMAMax;
Minimum=MarlynEMA-MarlynEMAMin;
Plot(Maximum,"",colorWhite,styleHistogram);
Plot(Minimum,"",colorWhite,styleHistogram);
TimeFrameRestore();

2 comments:

Anonymous said...

I find AmiBroker a robust and inexpensive alternative to TradeStation, which I used for years before the Cruz brothers decided to concentrate more on being brokers instead of software developers. Among other things, TradeStation really had excellent and clear charts which I did not find that to be matched until AmiBroker.

That being said, the basic AmiScript language is in no way comparable to TradeStation's EasyLanguage. To do more advanced looping calculations referencing custom arrays, etc., you have to use Javascript (internally supported) or call external DLL's, etc. which is beyond my current skill set. So far I've managed to work around the limitations so its not too much of a problem.

The portfolio-level backtester is rivaled only by Trading Recipes, Behold, or Mechanica Pro as far as money management features go.

MachineGhost

QUALITY STOCKS UNDER 5 DOLLARS said...

Brokers are a dime a dozen.