I have a strategy where there is a target, then once Close[0] gets above that target I send an order like:
e=1;
exitlongMACDScaling = ExitLong(e, "exitlongMACDScaling", "enterLongMACD1a");
On the first pass, the order executes, then it resets the target to a higher level. Once the higher level hits, the next pass does not execute. Any idea why? There is a single entry, for say 5 contracts with the order name enterLongMACD1a.
I also have print statements surrounding the above order and they both work fine.
Thanks,
EliteTraderNYC
Comment