MQL4 and MetaTrader 4 - page 330

How to do it? It is possible? Best Regards
Can anyone assist me patiently and kindly? I' am new to Forex and basically just learned the pips thing, not even that well! I've just opened an account with Blueberry Markets and using their MT4 Platform for Demo but want to add their EA (algorithm auto trader) on to my Demo account so I can see if
Hi guys. I am trying to calculate and draw RSI for each currency using RSI value if seven pairs of that currency. But It keeps drawing straight (Horizontal) RSI lines instead of wavy lines. Can anyone tell me where I am wrong with this code? 
  Expert Advisor and Indicator  (13   1 2)
Hello, Would You help me find a way to: Read with Expert Advisor a Alerts? Best Regards
Hi guys,  I am trying to figure out how to flush out, or 'reset' indicator buffers on a keystroke event. Here is what I have so far   void OnChartEvent(const int id,         // Event identifier                    const long& lparam,   // Event parameter of long type                  const double&...
  Something changed!  (12   1 2)
The code below used to give me the Average Daily Range (ADR) before but now suddenly it does not work anymore and keep on giving me the value of ADR = 0. Can anybody help me to solve this? for(i=1; i<=20; i++) ADR = ADR + (iHigh(NULL,PERIOD_D1,i)-iLow(NULL,PERIOD_D1,i))/Point; ADR = ADR/20;
Prompted by the new article at https://www.mql5.com/en/forum/127024, the attached files are an example of sending messages asynchronously between different instances of MT4 on the same computer, using named pipes. Inspired by the MT5 article, but there are some major differences in the methodologies...
I need to convert this function from MQL4 to MQL5 I can't understand how to insert the two moving averages for the correlation calculation. The items Symbol1 and Symbol2 are variable, since the correlation is calculated on six Currency where Symbol1 is fixed and Symbol 2 is variable. How will I have
int OnInit() { return(INIT_SUCCEEDED); }void OnDeinit(const int reason) { for(long chart_id=ChartFirst(),i=0; i<100 && chart_id!=-1; chart_id=ChartNext(chart_id),i++) { ObjectsDeleteAll(chart_id,"prefix"); //ObjectsDeleteAll causes hang during recompilation when calling for other chart
[Deleted]
  ELD code conversion to MQL4  (18   1 2)
Good afternoon. Could you please help me convert this code ELD (TradeStation, Multicharts) in MQL4. my level is not good enough to do it, but yes you can be? thank you for your help. friendly   {         XCAP_iPolyFitPredict:                   Uses a fit to polynomials to create a least squares best...
Hi, can anybody help me with this code? It gives me an error OnCalculate function, I'm trying to create an indicator in Separate Chart, that shows an Stochastic and EMA/SEMA at the same time. Here is the code
Hi everyone. I need to use one fuction, but with a varible numbers of parameters , the quntity of parameters is known in advance. In C++ for example, you use kind of void func(int a, int b, ...) and it's simple. But unfortunately I havent found any information about it in MQL4. Any tips, how to do
I observe unsystematic crashes of MT4 (latest version) when attempting to open the market tab from the terminal window (for exmaple, to run updates of EAs). I have two VPS servers in different data centers. One each, several installations of MT4 from several brokers, and 3-4 MT4 instances running in
Hello, I have configured a Telegram Bot in order to send my trades notifications from MT4 to my Telegram channel through an Expert advisor but I am having issue which is my bot in Telegram is sending the same message multiple times until I cut the EA. I tried to modify the variable msg.updater in
Actually, it's putting 2147483647 in front of what the actual indicator value is. Can you help? I can't figure it out. My code below is for MT4. NOTE: I've number 2147483647 is significant because it shows up when you max out the "Max bars in history" or "Max bars in chart" of the MT4 Options Chart
Hey. I will ask for help . Why compiler print "OrderModify" should be checked ? //+------------------------------------------------------------------+ //| USDPLN expert pozostałe .mq4 | //| Copyright 2019, MetaQuotes Software Corp. | //|
Hi, when plotting say a MA for example, the EUR/USD, it returns the value as 1.xxxxx (5 digits). How can I increase that to say 8 digits - 1.xxxxxxxx? Using this in a MA slope EA. TIA
How can determine the total profit of all currently opened orders in mql4
Can anyone help me know how i can open an order that gives a 10 profit when using a EURUSD currency pair
I am using following code to set buy/sell order and than set trailing stop/loss order. It uses SMA for setting order and than set trailing stop loss on stock The issue I am seeing is the last order is not setting stop loss porperly. I have just started on MT4. It took me 2 weeks to understand pick
I am building an indicator in eabuilder.com. I need help to make the MT4 ZigZag Indicator compare highs and lows. For example, in an uptrend, I want the Higher Low (current candle) to be above the Low and the Higher High to be above the High. See attachment
Hi there, I manage a number of VPS's with EA's installed on them using. All using the same EA. I come across a problem where some of the EA's will give a 4109 error when trying to open trades. This does not make sense to me as I have allowed live trading in the options and the EA settings, I have...
Hello All, i have this simple code to create Trailing Stop. it works perfectly. But my ideas is to open a reverse order with double lots when SL is touched. I have made lot of test, but this seems not working extern int MagicNumber=123;extern double Lots
I made this wonderful EA that makes use of volcano strategy but i want to add some sort of filter to it using the currency strenght meter. I want a situation whereby if the EA sees a trade it checks the strenght of the currecy before taking the trade foe example if the EA sees a buy trade on EURUSD
Hi everyone, I found and downloaded two great indicators for trend lines (attached below). They both (in different ways) send an alert when a personalized trend line is touched. Would someone be able to show me how to tweak them to add two extra feautures: 1. The alert will be triggered 2 pips
I have an EA that can connect to a database, run a stored procedure and display the results onto the charts. But so far I have only been able to display objects such as OBJ_TREND & OBJ_TEXT which only have one or two x/y coordinate values. I am now trying to get those results into an indicator
  RSI Custom Code  (2)
Hello All, Is there a way to create a code for Metatrader 4 that once a currency pair reaches overbought conditions or oversold conditions, the trading window would flash a color to get my attention red (for oversold) or green (for overbought)? I need this a part of my algorithm. I have multiple
  Lost toolbar  (3)
I have lost my toolbar on Mt4 terminal . It only shows the upper left tabs - eg.. ------- File View Insert Chart Tools Windows Help The following have disappeared from the toolbar ..... Time-frame selections and charting tools selection This happened after i went to "File" then "Print Preview" I
Hi everybody, please how can i do this ? i have an custom indicator which gives Buy arrow (Blue Color) and Sell arrow (red color), but how i create auto trade buy/sell when arrow appear on chart with take profit and SL. My Indicator shared with you
I have a simple thing that I am struggling to figure out how to do (if possible) As part of my expert in sizing my trade I need to account for the difference in currency from my base currency to the trade currency. Usually the AUD/USD pair. Effectively I am trying to achieve: lot_size = sizing