Mike -- thanks for taking the time to do this, it looks like that will do the trick. Will check it out.
ovt --- In amibroker@yahoogroups.com, "Mike" <sfclimb...@...> wrote: > > Hi, > If you want to see the effects of stops, scaling, etc. then you can try > embedding a call to Equity in your script. Here's a quick example that > shows graphically where a stop (orange down arrow) would result in a > sell before the normal sell signal (red down arrow). The effect can be > seen on ^DJI of the default database for the period including feb/march > 2010. Run as a exploration for Feb 24 - Feb 24 will show the stop being > generated as output. > With the call to Equity, the buy/sell arrays are updated before the > second plot, thus the difference in graphs. Also, since Filter comes > after the call to Equity, the output is based on the post backtested > arrays, which include integrated stops. If you comment out the call to > Equity, the graphs would be identical and the exploration output would > ignore stops. > Be sure to read up on the Equity function, including all comments which > describe the side effects. I haven't personally used this. So, do your > own testing. > This is, of course, a useless system constructed solely to illustrate