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

[amibroker] ApplyStop question



PureBytes Links

Trading Reference Links

Ok, here is what I am doing. I am backtesting a system using Forex. 
When the buy signal is triggered entry is the close of bar. The stop I 
would like to heve set immediately is the low of the entry bar - 2 
pip. Reversed is applied when selling short, like the stop will be the 
high of the entry bar + 2 pips.

I am having trouble setting such a stop using the function ApplyStop.

Could anybode shed some light here or perhaps show some 
immplementation that does what i have described above. This is very 
easy to do using the MetaTrader backtester but seams hard in AmiBroker 
where I do most of my testing before I move it to the experd 
autotrader in MetaTrader.

Thanks again,
Kris





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

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