I'm trying to do the following:
If all condition are met, go long.
Set stop loss at the 50sma.
Here the command from strategy builder:
SetStopLoss("", CalculationMode.Price, SMA(Close, 50)[0], false);
When I run a strategy analyzer or try to enable this strategy on a chart no results pop up, it's as if the strategy has never run.
If I remove this line the strategy runs fine, it just bounces back and forth between the Long and Short conditions.
Any Hints? Or can you not attach an indicator using Strategy Builder?
Thanks.
Mark.
Comment