Forum

telegram not able to send my message

Hi All I have follow this instruction to create a EA that send me message. https://www.mql5.com/en/articles/2355 However i have got error of TelegramAlertMT4_MAsignal XNGUSD,M15: {"ok":false,"error_code":400,"description":"Bad Request: chat not found"} I have tested the token, channel name, chat id

how to create a rectangle alert indicator?

Hi All I would like to create (or find if there is one already existed) such indicator. On the chart, I would manually draw some rectangles to represent the zone of the price i am interested, when price comes into this zone, it then sends me an alert. I am not too sure whether it is possible on MT4

Problem with division?

Hi All I am trying to create a ROC indicator, but for some reason, it doesn't get displayed, the code is below double ROC, CurrentClose, PrevClose; double RateOfChange[]; CurrentClose = iClose ( Symbol (), 0 , i); PrevClose = iClose ( Symbol (), 0 , i + n_Period); ROC =

RSI indicator code

Hi all I have used the code below to replicate the RSI indicator, as a small learning exercise, but I get different result then the built in one that I apply on graph. Why? Below is the screenshot, grey is the MT4 built-in one, blue is mine, both are calculated using Price_close. double RSI_14[];

How to code indicator applies on another indicator?

In MT5 chart, when you drag an indicator, you can choose to apply from the standard price values, for first/previous indicator. In terms of coding, how can this be achieved? E.g I want to apply moving average on another moving average, or MACD on another MACD

coding moving average over other indicator

hi in mt4 terminal, i know that we can use moving average over other indicator by select apply to previous or first indicator. if i am writing my own indicator or EA, and would like to do the same, how should the code be please

Strange division problem

Hi All I am coding the following, the code returns no error but doesn't seem to do the calculation. double Top =( iClose ( Symbol (), 0 ,i)- iOpen ( Symbol (), 0 ,i)); double Bottom = ( iHigh ( Symbol (), 0 ,i)- iLow ( Symbol (), 0 ,i)); WVAD[i]=Top* iVolume ( Symbol (), 0

mobile trading app that allows technical alert set up

hi does any one know any android mobile trading app (either from broker or platform), that allows technical alert to be set up, from the mobile end? for example, i can set an alert from a list of technical indicator, than choose > = <, than choose from a list of indicator again, and set trigger when

How to build a EA using LSTM model?

Is it able to build a EA using LSTM RNN model in Metatrader? I have done some research and found something called FANN, however it seems to work with simple neural network only

Can I draw on both chart window and separate window at the same time?

Hi all As above, Can I draw on both chart window and separate window at the same time? for example, if I want to draw my customer indicator on separate window, and also draw arrow on chart window to show buy/sell point, how to do it please