I have just moved it to OnBarUpdate and it is now giving me the error that was mentioned by Patrick in Post #13.
This doesn't make sense because the bar the stop price is 102.05 and the High of the bar that it is basing that stop price off of is 102.04. Therefore it is higher than the high of the bar and it is actually placed where it is supposed to be.
Could you please let me know what I should be doing to fix this error? I had no problems with the entries or exits prior to moving this to OnBarUpdate.
Comment