Forum

Why this not working on real account?

I'm trying to get last deal profit like this; HistorySelect(0,TimeCurrent()); double pft=0; int i=HistoryOrdersTotal(); ulong ticket=HistoryDealGetTicket(i); pft = HistoryDealGetDouble(ticket,DEAL_PROFIT); printf(i,pft); return(pft); This works on backtesting but not working in real account . On

Multi currency RSI

Hello, I have been looking for multi currency RSI but couldn't find satisfied indicator in code base. Found one, doing the thing i want, showing multiple currencies at once on rsi but values was not right. I tried to do it myself but couldn't achieve. Is it possible to call iRsi with different

trade.PositionClose problem

Hi, I'm trying to open position when trend change and hold it until change again, as seen in photo below. red dots mean sell , blue mean buy //1 up / -1 down double trend = trendIndicator[ 0 ]; //current double trend2 = trendIndicator[ 1 ]; //prev trend if (trend == 1 && trend2 == - 1 )

How to make EA popular ?

Hello, I would like to ask sellers how did they make their EA, or other products popular in market? i searched but couldn't find satisfying answer. Any tips or ideas would be helpful. I get a message like this before, it is a scam for sure <Deleted> How they get these informations , if they true

VPS time difference

Hello, i rented a VPS from London, on VPS log time is 13:00 on my pc local time is 15:00 but London time is 12:00 and my EA is time sensitive. When i was using EA on my local pc time settings for EA was from 0 to 18. My EA get time like this; MqlDateTime tm; TimeCurrent (tm); tm.hour So my question

Published new EA to market but it doesn't show on new tab

Hello, i published new EA today (18.1.2021) but like my other EA's i published before, this EA didnt shown on new tab on MT5 market. Any ideas why that happen ? <Deleted>

Can you help with EA ?

Hello, I have trained keras model which is i want to use in EA, how can i add the keras model to MQL5?? from tensorflow.keras.models import Sequential,load_model model = load_model('MyModel.h5') Predict = model.predict(Data,verbose=2) In python i use like this, is there a way to use this in MQL5