You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a stop loss is hit there is no signal being generated back to backtrader. I've worked with direct borker APIs like OANDA and when a SL is triggered, notify_trade would occur. For that signal, logic could be set around SL management.
I've placed print statements throughout the mt5store and mt5broker methods and nothing is being triggered when a stop loss is hit. However, when a position is manually closed using the MT5 terminal, a signal is caught be Backtrader - verifying that there is feedback coming from mt5 on orders/trades.
Any thoughts on what could be causing this? Does it happen to others as well?
The text was updated successfully, but these errors were encountered:
When a stop loss is hit there is no signal being generated back to backtrader. I've worked with direct borker APIs like OANDA and when a SL is triggered, notify_trade would occur. For that signal, logic could be set around SL management.
I've placed print statements throughout the mt5store and mt5broker methods and nothing is being triggered when a stop loss is hit. However, when a position is manually closed using the MT5 terminal, a signal is caught be Backtrader - verifying that there is feedback coming from mt5 on orders/trades.
Any thoughts on what could be causing this? Does it happen to others as well?
The text was updated successfully, but these errors were encountered: