Forum

Running script offline

Good day. I have realized that for the EA script to continue to execute trades I need to be physically logged in to my meta trader app and this becomes a challenge because sometimes electricity is gone for days. Is there a way to combat this

Opening a single order

Good day, I'm not a coder, I know nothing about coding but I've managed to scrap together this script. its pretty simple, when price is above Parabolic SAR-Buy. When Price is below Parabolic Sar-Sell. The problem is that it opens multiple orders on the same candle.(refer to image) Can you please

MT5 MACD signal line value

Good day, Im just a new coder and this is the second time writing on this matter. There are two values when using the MACD indicator (histogram value and Signal line value) I want to use the Signal value instead of the Histogram value. From the previous response I was told to use Signal Buffer(refer

MACD signal line

Good day, New coder here I have been perusing on the net for a code that uses the signal line not the histogram and I have not found any knowledge how to do this. Can I please ask if its possible to use this line in the expert code and if yes please help or point me in the right direction

orderhistory

Good day I have been coding with mql4 and have recently had to change to a broker that uses mt5 only. I have lines in mql4 that I dont know how to translate to mql5 language because my results are faulty. Basically what this says is, if i have for example 5 closed positions in the history log

OrderHistory

Good day, Ive been trying to write a script where if (iSAR>Ask && LastClosedOrder=Buy) to open a sell order . I have this part where I get order history. When i run the script it seems like it does not get last closed order instead it gets all of the history. i see this because even if last closed