gdodds
5th July 2005, 11:50 PM
Hi David,
I would like to test a system which exits on a trailing stop ONLY if the close is greater than the initial buy price.
I have coded this in MetaStock however it is messy and does not handle pyramid trades correctly.
Could a new function be added to the DLL say "TradeSim.EnableProfitOnlyExits" which would only exit a trade if the exit trigger fires and the trade is in profit or the protective stop is hit ?
Alternatively a function which returns the entry price for the current trade say "TradeSim.EntryPrice" would enable this functionality to be coded into the exit trigger from withing the MS exploration.
Thanks
Geoff
I would like to test a system which exits on a trailing stop ONLY if the close is greater than the initial buy price.
I have coded this in MetaStock however it is messy and does not handle pyramid trades correctly.
Could a new function be added to the DLL say "TradeSim.EnableProfitOnlyExits" which would only exit a trade if the exit trigger fires and the trade is in profit or the protective stop is hit ?
Alternatively a function which returns the entry price for the current trade say "TradeSim.EntryPrice" would enable this functionality to be coded into the exit trigger from withing the MS exploration.
Thanks
Geoff