Category "mql5"

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

MQL5, Python, Javascript integration. Two (or more) computers

Any MetaTrader/MQL + python integration gurus here? It is my understanding (please correct me if I'm wrong) that I can follow the instructions here to build the

What can i use in place of TimeSeconds() in mql5?

I used TimeSeconds(opening time of any candle selected) in mql4 to track the current seconds as it is changing. i used it to set my Alert() to sound only twice.

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