:
Log errors
For some strategies the SamePosition parameter is used (place subsequent orders in the direction of the open position), if SamePosition=YES and, for example, a long position was opened, then subsequent orders will also be placed in long position, but if you try to place orders in short position MoonBot will reject this action and indicate in the log the reason: Market XXX is opened in Long position. You need to use this setting correctly or make copies of strategies for long and short orders separately.