this code -- function
Update ~~~Now I know how to paste the code。
OrderComment()==Name_Expert
This is unreliable. Brokers are allowed to change the last N characters of comment. Use magic number instead.- what is the function ? I don't know what it is to do ~~Simply finds the first open order by the EA and remembers if it is a buy or sell and the open price

what is the function ? I don't know what it is to do ~~