Category "metatrader5"

Expert Advisor timefilter doesn't work (mql5)?

I can't figure out why my timefilter doesn't work. Let's say I would like to only enter to positions between 7:35-11:30 and 14:30-22:30 and I don't want to ente

MT5/Metatrader 5 connect to different MT5 terminals using python

I've got multiple python programs that connect to Mt5 terminal using the following code. # Establish connection to the MetaTrader 5 terminal if not mt5.initiali

ExtUpperBuffer being set to 0.0 on new bar even though hard coded in If Else statement in OnCalc. Set to EMPTY_VALUE in Oninit

There are 2 buffers behaving the same way so to keep simple just mentioning ExtUpperBuffer and when I drop this onto the chart the datawindow/print values are a

Changing stoploss in metatrader5 with python using Metatrader5 library and nothing happens

I have this code for changing stoploss on opened order/orders in metatrader 5. When I run this code nothing happens even when my compiler print that, nothing is