I have a strategy which enters a trade after a few different indicators are triggered within the first condition. I than have set a profit target, if the position reaches the targt it's closes out. However, I would like to reenter the position and I set a very simple entry to do so.
My problem is that I cannot get the second entry to work. I have enclosed the strategy. Obviously, my condition 2 set is not right and I have tried to hunt around in the help forum but with no luck. Can someone tell me what I'm doing wrong? Thank you.
// Condition set 1
if (CrossAbove(EMA(Fast), SMA(Slow), 1)
&& Rising(Momentum(10)) == true
&& MACD(12, 26, 9).Avg[1] >= 0)
{
EnterLong(1, "Long 1");
}
// Condition set 2
if (Position.MarketPosition == MarketPosition.Flat
&& Close[1] > Fast)
{
EnterLong(1, "Long 2");

Comment