AFAIK Howard Bandy can code up a system for you, although he may be busy finishing off his latest book atm, may be worth getting in touch with.
http://www.blueowlpress.com/
I do some coding but have no free time atm. I'm sure you don't want to share your whole system publicly but you may wish to post some of the basic structure here and people may be able to help you with converting it to AFL?
Otherwise the Amibroker Yahoo User's Group could probably point you to someone if you wished to post the question there. Sorry I can't be of more assistance. Best of luck with the project
Appreciate it if someone can convert the following Metastock code to AB code, thanks.
Mov(Mov((WillA()-(Ref(WillA(),-1))),14,E),7,E);
WiilA being the "Larry Williams Accumulation/Distribution indicator"
This is the WillA indicator code (taken from the AB site):
TRH = IIf(Ref(C, -1) > H, Ref(C, -1), H);
TRL = IIf(Ref(C, -1) < L, Ref(C, -1), L);
ad = IIf(C > Ref(C, -1), C - TRL, IIf(C < Ref(C, -1), C - TRH, 0));
WAD = Cum(ad);
Plot(WAD, "Williams AD", colorBlue);
Plot(ad, "AD daily", colorRed, styleOwnScale | styleNoLine |
styleNoLabel );
AddColumn(ad, "AD");
AddColumn(wad, "WAD");
Buy = Sell = C;
Filter = Buy OR Sell;
TRH = IIf(Ref(C, -1) > H, Ref(C, -1), H);
TRL = IIf(Ref(C, -1) < L, Ref(C, -1), L);
ad = IIf(C > Ref(C, -1), C - TRL, IIf(C < Ref(C, -1), C - TRH, 0));
WAD = Cum(ad); //this gives us the WillA() component hopefully
//Mov(Mov((WillA()-(Ref(WillA(),-1))),14,E),7,E);
//The MS formula above
// My AFL attempt below
neilsends_indicator = EMA(EMA((WAD-Ref(WAD,-1)),14),7);
TRH = IIf(Ref(C, -1) > H, Ref(C, -1), H);
TRL = IIf(Ref(C, -1) < L, Ref(C, -1), L);
ad = IIf(C > Ref(C, -1), C - TRL, IIf(C < Ref(C, -1), C - TRH, 0));
WAD = Cum(ad); //this gives us the WillA() component hopefully
//Mov(Mov((WillA()-(Ref(WillA(),-1))),14,E),7,E);
//The MS formula above
// My AFL attempt below
neilsends_indicator = EMA(EMA((WAD-Ref(WAD,-1)),14),7);
Plot(neilsends_indicator, "neilsends indicator" , colorRed , styleLine);
Can someone please have a look at the attached AB code and tell me what I’m doing wrong? I’ve posted this on the AB Yahoo forum with no response.
Basically I just want to run a simple backtest over some FX data. When I visually scan the charts I can see that there are plenty of trades, but when I run the backtest it only displays a handful?
Please can someone take a look and let me know where I’m going wrong, or even better explain what I’m doing wrong and add the necessary fixes?
I haven't done any Forex backtesting so can't comment on any specific Forex settings but had a quick look at your AFL and noticed that the ParamToggle settings at the beginning are set to "No" by default. In your Automatic Analysis settings click on the "Param" button and change these to "Yes". (or modify the formula to set them to "Yes" by default).
This could be a number (static stop level) or an array (dynamic stop level.)
Can anyone please explain why in the ApplyStop function, "Amount" cannot be manipulated outside the function?
Once the trade has been entered, the value of the argument is fixed for that trade.
I thought the ASX had about 1800 listed companies? Does Yahoo not provide data for the others or am I doing something incorrect?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?