I used one of my IB paper-trading accounts to work with.
But whenever the strategy enters a trade I see no stop loss orders or profit target orders being transmitted.
Could this be because of the paper-trading account (simulated trading)?
This is the pseudo strategy I am using on EURUSD 2min data:
Code: Select all
if C > O and C < O and C < O then
if marketposition(0) = 0 then Buy next bar market;
if marketposition(0) = -1 then Buytocover next bar market;
if C < O and C > O and C > O then
if marketposition(0) = 0 then sellshort next bar market;
if marketposition(0) = 1 then sell next bar market;
Also the paper-trading account I am using is within a Financial Advisor account. But this shouldn't be a problem since it does enter and exit trades. The problem is that no stop loss or profit target orders are transmitted.
One last thing, in order to make MC work with my FA account I downloaded and replaced the old "TWSTradingPlugin.dll" with the new one.