Been working on this tool the past couple of weeks and I need some help testing it. I will be releasing it in pieces, to make sure each function is working properly to make it easier to debug.
In this initial release, the only active control is the trailing stop. Right now you can select EMA or SMA, the period, and the offset. I think I have been able to lock down all issues that deal with disconnects. It should work accross multiple accounts. The trail with step == 0 (it is locked to this right now) will update on each new bar formation, or when you change the period or offset.
I record gomData, so don't have the ability to test on replay right now. I would really appreciate help testing this feature (specially if you have a paper account AND a SIM account).
WARNING: I AM NOT A PROFESSIONAL PROGRAMMER. THIS TOOL WILL ADJUST OPEN ORDERS ON LIVE TRADES. USE AT YOUR OWN RISK!!
DO NOT USE THE VERSION IN THIS POST ON LIVE TRADES. IF YOU ARE IN A SHORT POSITION AND SET A TRAIL, THE MARKET WILL KICK BACK YOUR ORDER. NOT A HUGE DEAL, BUT YOU HAVE BEEN WARNED.