Need to create a (regime switching) system were the rule to close a Long Position should be something like:
- If, since the long position was opened, "Indicator A" never moved above Y close should be done base on Rule 1
- If, since the long position was opened, "Indicator A" once moved above Y close should be done base on Rule 2
could you give me an example on how such method can be implemented in NinjaTrader?
Kind regards
Paulo

Comment