I used the automated system Ninja Scripts to create a strategy of two sets, one for long position and the other for the short that works as I want, however As soon as one of the two position hits the stop loss I want them to be reversed automatically so they continue with the trend movement.
the opened position after trail stop hit will be with the same conditions (trailing stop loss 4 ticks and no Take profit because it will be stopped automatically by my strategy later.)
Please note, that I looked over all the Ninjatrader forum pages, internet, futures.iso web.. everything. the best I came with is an on-execution code which I am attaching with this post.
I do not understand I found this post subject since 2009, and the same problem asked by many people and no one has like a straight clear answer step by step to it.
I need the method on how to Reverse my position after trail stop/stop-loss is trigger or hit. if the code I attached is the right solution I need to understand how to connect it with the strategy İ have created step by step since I am not a pro-programmer, I will need to link two codes with basic knowledge of C#, if not, please explain to me step by step how to do it. I will be very grateful, and I believe the forum will be also due to the number of people I saw them asking.
Please
Comment