[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: How to show Stops (ApplyStops) in Explore?



PureBytes Links

Trading Reference Links

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" <janhaus@xxxxxxxxx>
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
amibroker@xxxxxxxxxxxxxxx, "LarsenE" <janhaus@xxx> 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
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:amibroker-digest@xxxxxxxxxxxxxxx
>   
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
>
> <*> To unsubscribe from this group, send an email to:
>   
amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
> --
> 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
>
>
__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___