Dislikedhi Steve,
this bot take a sell trade immediatly few minutes ago, but with:
- send pending ( no immediate trade)
- sma down
-LR up
- short trade is not allowed
-long trade is not allowed
so, trades are taken when rsi agree but without others filters: problems with locale/global variables.
then a sell stop have been takenIgnored
As to why the bot sent a market rather than a pending trade, I don't see how that could happen - the conditionals required to select the order type are quite clear in the code. Is is possible that the bot sent a pending that filled immediately?
Sing out if it happens again. We all know that, just because I think something cannot happen, doesn't mean it really can't.