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

Re: [amibroker] Re: Coding for indicators



PureBytes Links

Trading Reference Links

applystop is placed in a  line by itself and is not a sell condition
Sell = 0;
applystop(stopTypeNBar,stopModeBars,10);


-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 24/10/06, Joseph Manriquez <Joseph.Manriquez@xxxxxxxxxxx> wrote:
>
> How do you scan for a positive mace histogram
>
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
> Behalf
> Of jlami11
> Sent: Monday, October 23, 2006 10:14 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Coding for indicators
>
> oh I see, that explains it.
> Thanks for the help.
>
> By the way i know this is basic, but I'm trying to use a time stop in
> backtesting and i cant make it work.
>
> for example after my Buy = ......
> i write               Sell = applystop(stopTypeNBar,stopModeBars,10)
> (using End of day data)
>
> for an exit after 10 days from entry. All i get is an exit the exact same
> date and price as entry.
> Do you know what I'm doing wrong here?
>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
> 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
>
>
>
>
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006