I'm new to the NT ecosystem and would like to say first that I have found a lot of very useful information in this forum, congrats to the NT support team!
I'm experimenting the Strategy Builder / Ninja Scripts, trying to push the limits of the Builder before jumping in the code.
As an exercise based on this article, but applied on MES future, I'm trying to create the following:
Based on these conditions: Price cross above EMA + MACD cross above 0 in last 5 periods
* Enter a long position with 2 contracts
* set a target profit P ticks
* set a stop loss L ticks
* When target 1 reached
* exit long for 1 contract
* set target profit to 2nd contract to new profit variable (current + P2 ticks)
* set a trailing stop to L2 ticks
I might even miss the proper steps in this explanation, but although I think I can see how to that in the ATM, I don't see how to make such rules in the Strategy Builder.
Thanks for your help
Comment