Forum

Using presets for different TFs

To keep things simple and rather than having to change some of my EA settings each time i change time frame, I was thinking of setting up some presets that automatically applied based on the _Period value. I don't know if i have taken the correct approach but i went down the path of multi

Yet Another OrderSend Error 131 in MetaTrader 4 Thread

I have a script which seems to be working but am trying to backtest so that I can improve on the results. But when I try to back test i get the following error: 2020.03 . 31 13 : 53 : 22.717 2020.03 . 27 20 : 30 : 00 EATest AUDNZD,M15: OrderSend Failed with error #( 131 ) - invalid trade volume

Trades Disabled on EA when the options are all enabled?

I have an EA that should be opening trades from an indicator but hasn't. I checked the journal this morning and see error around trades being disabled: I have confirmed that it is enabled in the EA -> Common: I have also confirm that it's enabled in the options: Where else can I look

Indicator -> Automated Trade - Keeps firing

Hi Guys, New to MQL and trying to automate my trades from an indicator that I have. I've been reading up on the various threads here and been able to get some code together but it keeps firing everybar. Would appreciate if someone could point me in the right direction in order for me to fix. Code