Does Multicharts support Tradestation .placeorder OCO macro syntax?
Hi all. I am considering moving from Tradestation to Multicharts & Rithmic, mainly due to being spooked out too much by Tradestation execution weirdness. I also want to eventually port my strategies to my own custom C++ client using Rithmic's R|API but that is another issue alltogether.
Similar to what was mentioned in a previous post here, my automated strategy creates an OCO bracket order via creating and calling a .placeorder macro. Can anybody tell me if Multicharts supports doing this?
Here's a small example of the syntax for a .placeorder macro in TS:
It's probably worth noting that I am executing this macro from within a chart indicator - one of Tradestation's many workarounds for various issues. I'd also like to know if Multicharts can do the same.
Thanks for replying JohniFx. It's good to know that MC supports bracket orders.
I'm an aspiring auto trader who is quite heavily invested in EasyLanguage, and I am just wondering how much effort it will take to port my code to MultiCharts. If a lot of what I do is not supported in MC's implementation of EasyLanguage then I'm willing to bite the bullet and just re-write all my stuff in C++.
Is there a way to implement the bracket OCO order in Multicharts by using the amount of ticks price moved to trigger the stoploss to move to breakeven plus 1?
This scenario: Contract 1: Target +4 ticks, stoploss -10 ticks. When price moves in the anticipated direction for 4 ticks, then the stoploss will move from its original position of -10 ticks to breakeven plus 1 tick. So when price moved +4 ticks I want the stoploss to move, I do not want to wait until the target at +4ticks is filled.
Contract 2: Target +5 ticks, stoploss -10 ticks. When price moves in the anticipated direction for 4 ticks, then the stoploss will move from its original position of -10 ticks to breakeven plus 1 tick. So when price moved +4 ticks I want the stoploss to move.