To do this I am entering and exiting positions on various bars in my chart and printing NTAvgFillPrice() below EVERY bar in the chart. This always prints 0, whether I am in a trade or not. In other words, whether I am in a trade or not I can not get the function to return a value.
Suggestions?
Comment