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

[amibroker] How to use ApplyStop?



PureBytes Links

Trading Reference Links

I am backtesting a trading strategy and I am trying to use ApplyStop
to scale out of a position. To complicate things it is Forex so the
pip values of the currency pairs varies widely. In most cases, price
quotes have 5 significant digits and 1 pip is a change of 1 in the 5th
significant digit.

What I want to do is place an initial stop 15 pips from entry. When
profit is 20 pips, I want to close 1/3 of the position and move the
stop to break even on the remaining 2/3. Next, I want a volitility
trailing stop, 2*ATR(10) that never moves backwards. When profit is 40
pips, I want to close 1/2 of the remaning position. The final 1/3 of
original position is closed when the stop gets hit or when a reverse
signal is triggered.

Bill



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/