I would like to use Ninja Script to call the Maximum level of profit attained during the current trade and compare it to a number of ticks. If the condition is true I would like the strategy to do something. I found a script in NT 6.5 beta to call the aveage MFE but not one to call the MFE for this trade. Is there a way to call the MFE for the trade in progress?
if (Performance.RealtimeTrades.TradesPerformance.Curr ency.AvgMfe > 20)
If there is no way to call this kind of function directly, then is there another way to do the same? That is to determine the maximum level of profit attained during the current trade.
Thanks for your attention,
dendy.
Comment