Normal
I assume you're doing a portfolio backtest with "all symbols" selected in the Analysis window. [ATTACH=full]95499[/ATTACH]Make sure you have symbol ^AORD in your database, with enough history. If you don't, use AQ to download from Yahoo finance.[ATTACH=full]95500[/ATTACH]Then substitute your breakout code where I have bolded below.SetForeign("^AORD");MAPeriod = Optimize("op",2,2,100,1);IndexFilterup = C > MA(C,MAPeriod);RestorePriceArrays();Buy = IndexFilterup AND BOut;
I assume you're doing a portfolio backtest with "all symbols" selected in the Analysis window.
[ATTACH=full]95499[/ATTACH]
Make sure you have symbol ^AORD in your database, with enough history. If you don't, use AQ to download from Yahoo finance.
[ATTACH=full]95500[/ATTACH]
Then substitute your breakout code where I have bolded below.
SetForeign("^AORD");
MAPeriod = Optimize("op",2,2,100,1);
IndexFilterup = C > MA(C,MAPeriod);
RestorePriceArrays();
Buy = IndexFilterup AND BOut;
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.