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

[amibroker] Tightening Stops



PureBytes Links

Trading Reference Links


Good day,

I was wondering if there is a way to tighten Stops (Profit Targets) in
AB. I have a system which has a fixed profit target (5%) and gets out
after 5 days. 
-----------------------------------------------------------
ApplyStop (stopTypeProfit, stopModePercent, 5, ExitAtStop=1,
Volatile=False);

Sell=Ref(ExRemSpan(Buy, 4), - 4) ; // sell after 4 days
--------------------------------------------------------

The idea is, to tighten the Profit Target as the trade matures.
Let's say:

5% after day 2
4% after day 3
3% after day 4

Is there a way to to do this?

Thanks

Werner







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> 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/