Thank you for your help. I have been watching a series of videos from Dave @ ASX Marketwatch and have imported a Formula from JB Marwood. I have pulled up a chart of $SPX and attempted to Backtest it in Analyzer which has been updated since the ASX Marketwatch videos were created. When I run it I set it to current symbol with the impression that $SPX is the symbol that is currently displayed. The Analysis runs in .06 seconds and returns 0 results.
Is there an updated video series that I can view to learn from?
If I choose "Filter" and try the S&P 500 the filter indicates that there are 0 matching Symbols... I know this must be basic info, but I don't seem to be able to piece the solution together.
Your SP500 is empty or your filter settings are incorrect. Run on "All symbols" or "Current" or make sure that particular group is not empty AND last but not least: make sure that 'Exclude" tab is clear.
In the Analysis window, please click on Filter button to bring up "Filter" window, then press CLEAR button in both Include and Exclude tabs, then select just a watchlist, or other category you want to filter on and leave the other categories blank as they are.
I have done as you recommended and still get Zero results, The S&P watchlist indicates it contains 506 matching symbols, I ran it with that filter and All Symbols. I continue to get Zero Results.
Try running a Scan to see if you are even generating entry and exit signals.
Zero Results. I copied a formula from a tutorial I purchased from Joe Marwood. Wouldn't the Buy/Sell signals be part of that formula? He has indicated to me that it works for him, however you are not the first to suggest that it may lack buy/sell signals. I am brand new to this and just trying to get the program to run, so I am not sure I understand how to add Buy/Sell Signals to the code. It is supposed to be a Trend Following formula that Joe Marwood wrote. How would it work if he never installed a Buy/Sell signal in it? Apparently it doesn't but I am just confused as to why he would generate a code that is supposed to work, and works for him, yet when I try it I get zero results.
I know Joe, and he's a good guy as well as a member of this forum. If he says the code works, then it very likely does and the problem is related to your setup or the way you are trying to execute the AFL. Have you gone through the tutorials and other documentation so that you understand the steps in running any AFL file?
@Floridafan to find what is wrong on your machine you need to simplify. You need to remove parts and make baby steps. Go to Analysis Settings change Periodicity to daily, make sure you have daily data and run (press "Scan") using something basic like this:
Buy = 1;
Sell = 0;
That should produce lots of results (raw signals). Then you can click "Backtest" and should get one or more (basically "buy and hold") trade(s).
That does work for me as well as several other simple formulas that I have entered from a few sources as I try to learn how to operate AmiBroker.
If this simple scan and backtest produces results it means that the data are there and settings at least don't prevent trades from occuring. At this stage you need to contact the person who wrote the formula for help if only this single formula does not produce any output. You can also use advice given here How do I debug my formula?