Yup, I indeed have equity(1), and I have also tried equity(1,0). The problem is that when I do a backtest the output shows the trailing stop activating by showing Long (trail) in the Trade column. However, when I use Explore, the trail doesn't shows up. I have the columns in explore and I can sometimes see Sells with a value of 4, however, I do not see all of them. At least for today, there is a trade that appears to have hit the trailing stop via backtest but doesn't show up via Explore.
--- In [email protected], "wavemechanic" <[EMAIL PROTECTED]> wrote: > > Do you have equity() in the code? Look at its description and comments. It assigns a value to the stop depending on the type of applystop chosen (e.g., trailing = 4). A trailing sell stop would = 4 when hit and another column in exploration could be used to display the event (e.g, addcolumn(sell, "sell") producing 0 and 4 output). > > Bill > > ----- Original Message ----- > From: "janhausd" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Monday, January 07, 2008 4:09 PM > Subject: [amibroker] Re: How to show Stops (ApplyStops) in Explore? > > > >I did some more searching in the newsgroups and perhaps I might need > > to write my own stops, although I would really like to just use the > > built-in ones. > > > > To clarify my original question, there are some stops that I can see > > via a backtest (i.e. Long(trail), indicating a long position entered, > > and exited via trailing stop), but do NOT show up on Explore (just > > shows Entry, not exit). Any way to write code to show these trailing > > stops via 'Explore'? > > > > ps. I have code that includes the following: > > Buy=ExRem(Buy,Sell); Sell=ExRem(Sell,Buy); > > Short=ExRem(Short,Cover); Cover=ExRem(Cover,Short); > > Filter = Buy OR Sell OR Cover OR Short; > > Equity(1); > > > > --- In [email protected], "LarsenE" <janhaus@> wrote: > >> > >> Hi, > >> > >> Sorry for this basic question, but I've been wading through hundreds > >> of posts and haven't yet found the answer, will keep looking. > >> In the meantime, does anybody know how to show stops in Explore? My > >> AFL code has some ApplyStops() functions, and the stops work perfectly > >> in backtest, and also shows up in scans, but how do I show these stops > >> in Explore? I have columns plotted for Buy,sell,cover,short, and the > >> stop signals don't show up anywhere.. > >> > > > > > > > > > > Please note that this group is for discussion between users only. > > > > To get support from AmiBroker please send an e-mail directly to > > SUPPORT {at} amibroker.com > > > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > Yahoo! Groups Links > > > > > > > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.516 / Virus Database: 269.17.13/1211 - Release Date: 1/6/2008 11:57 AM > > > > >
