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

Re: [amibroker] Setting a conditional N-Bar stop



PureBytes Links

Trading Reference Links



Yes, you can do all these using the advanced low level custom portfolio backtester.

On Fri, Nov 13, 2009 at 12:53 AM, an0n73 <an0n73@xxxxxxxxx> wrote:
 

Hi,

I would like to do the following but not sure if it's possible or how to do it. Any ideas?

After a Buy is triggered, I want to wait N days (say 5 days) and if by that time the trade hasn't made x% profit then I want to sell. If the trade is making > x% profit after N days then that's fine and I want it to carry on as normal until the trade ends normally using my sell condition.

So, if the trade hits 2% (or 2R) profit within 5 days then ignore the stop and carry on. If by day 5 the profit is less than 2% then exit the trade.

The idea is that by 5 days, I know whether the trade is going to work for me or not and if it isn't making any money by that time then I want out.

Is this possible and if so how?

Thanks




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___