Forum

MT5 optimization giving unexpected result

I have created a basic Expert Advisor which triggers a buy signal each time the short term EMA crosses above the long term EMA, when the buy is triggered a trailing stop loss at 2*ATR is set which gets updated each time a new candlestick is formed. I tested this strategy on EURUSD H1 timeframe. When

Integrate Indian companies with mt5

Hey, I want my meta trader 5 to show me charts of Indian companies like hindalco etc.How do I integrate these charts in meta trader 5

How do you send a push notification to an android mobile?

Can anyone tell me how to send push notification to my android mobile from my EA or my script which may contain any message(based on my EA or script)

Close the following trade in mt5

I am new to developing expert advisors on meta trader platform and hence I got stuck at a small problem which I don't think require any expertise to solve. if (BuyCondition1 && BuyCondition2 && BuyCondition3 && !Buy_Opened) { mRequest.action= TRADE_ACTION_DEAL ; mRequest.price=

Problem in closing a trade in MetaTrader5.

Hi, I am using metatrader 5 and am currently developing an EA for the platform. I hope you guys can help me out with a small problem. I am using the below code to check if there is a trade placed in my expert advisor and if there is what kind of trade is it (BUY/SELL)

How to close an existing order?

If I have placed a BUY/SELL order and set takeprofit/stoploss for that order, but I want to close that order before either condition meets, how do I close it programmatically? Thank you in advance