I'm having issues trying to use the OnExecution Method. However given I run simple strategies, hadling only 1 entry per instrument couldn't I use something like this:
if(CrossAbove(EMA(50), EMA(100), 1)) { EnterLong(); SendMail("[email protected]", "[email protected]", "Trade Alert", "Long Entry at"+Position.AvgPrice); }
Comment