MQL4 and MetaTrader 4 - page 337

I have created an EA which uses various indicators where I pass a static timeframe PERIOD_D1. i.e. iATR with static timeframe PERIOD_D1 but it is applicable for other indicator as well iMA Print("******ATR val:" +iATR(NULL, PERIOD_D1, 14, 1)); While running the above statement in EA in Strategy
Since Catalina drops 32bit support, has anyone able to run MT4 on the new OS? Any update about this problem from MetaQuotes
Hello Everybody! I am about to lose my mind. Why doesn't my code work? Where am i mistaken ? Could you pls guide me and gimme a hand? I really appreciate. Thanks in advance for your help and your time that you are gonna spare ! Here is the code. Please check it out
Hi I'm trying to get some take profit targets using iATR in MT4, in normal charts, I can simply use iATR(NULL, PERIOD_M5, 14, 0) But when I set the time frame for back test on 1 minute, this code returns 0, I am using tick data that was exported from tick story and I have 5 minute tick data in the
[Deleted]
  manual mql4  (1)
Does anyone know how I can get an extensive official mql4 manual
Hi, I had my hard drive crash. i had to reinstall windows onto a new HD. I was able to recover alot of the data from the old HD. is there a way to reinstall the info like indicators, etc from the old copy of MT4 into the new copy. Note, my old OS was win7, the new one is win10. thanks
0 I have an indicator named "Star-Profit-Channel.ex4", It has 7 values my code is : void OnTick(){ double starProfitChannel1 = iCustom(NULL, 0, "Star-Profit-Channel", 0, 1); double starProfitChannel2 = iCustom(NULL, 0, "Star-Profit-Channel", 1, 1); double starProfitChannel3 = iCustom(NULL, 0
[Deleted]
How do I set certain currency pairs to start and stop trading automatically (except for open trades) at a certain time? Any help would be greatly appreciated. I wish to accomplish the following: Currency Pair A USD/JPY, GBP/JPY, EUR/JPY, EUR/USD Trade from 5:30AM - 12:00PM (+0800) Currency Pair B...
I posted this before but that post seems to have disappeared so i'll try again.There is a button(i don't know what it is called) at the top left of the chart that can be used to place an order. i'm wondering if there is a program that does the same thing but gives the user the ability to pre-program
Hi I want to use iClose [] in all currencies . it needs the string symbol name. but as I now the name of currency pairs are a little different in different brokers. how can I Get the list of all symbols name of the broker
double Buy1_1 = iMA(NULL, 0, 21, 0, MODE_EMA, PRICE_CLOSE, 2); double Buy1_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, 2); double Buy2_1 = iMA(NULL, 0, 21, 0, MODE_EMA, PRICE_CLOSE, 1); double Buy2_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, 1); double Buy3_1 =
Hello dear friends, I need your help, someone good could convert this little "less square" PRT indicator in real time into the MT4 program thank you very much: PeriodL = 50 PeriodS = 20 del = 4 MMEL = exponentialaverage[PeriodL] (fermer) MMES = moyenne exponentielle [PeriodS] (fermer) y1 = (MMES
Hi, i have one 'Weekly Open line indicator' which able to indicate Daily/Weekly/Monthly open line in the mt4 chart. My problem with this indicator is i can't do back test due to the creator fix it for 1 month back-test only. Kindly help to create 'option' to choose the number of steps to perform the
Hi, I have experience with Tradingview & Ctrader but now I have to use MT4 for my trading (for regulatory reasons), and I have a few questions on how best to set it up. 1: Is there a way to get a functional watchlist (or customize the 'Market Watch' somehow) that connects the symbol on the list to a
Hi, How I can close 1 or more charts without starting my MT4? Thank you
Clicking on the Market tab in The Terminal Window causes the entire platform to freeze. I know I'm registered and logged in because the header flickers with "Register a MQL5 account" and my balance. The Market tab page comes up blank and freezes my entire MT4 platform. What gives? I've already tried
I'm essentially trying to produce this code: NormalizeDouble(MathMod(0.073,0.0365),_Digits); but actually using variables as such: double m_mod = 0.0;double m_value1 = 0.0;double m_value2 = 0.0;m_value2 = 0.073;m_value2 = 0.0365m_mod = NormalizeDouble(MathMod(m_value1, m_value2), _Digits); The
#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Aqua#property indicator_color2 Coraldouble CrossUp[];double CrossDown[];double prevtime;double Range, AvgRange;double fasterMAnow, fasterMAprevious, fasterMAafter;double mediumMAnow, mediumMAprevious
Guys I need some good back testing simulation mt4 programs for my ea. I found out soft4fx, forex tester, forex simulator but they either don't support testings on ea or something else. I would really appreciate any recommendation. Thank you
Hi, i downloaded indicator from market mql4, and i dont arrive to attach indicator in strategy tester , the demo button is not clickable if anyone can help me please thx
Please Someone teach me to control Intel i7 9700K For making smooth trading I upgraded my PC with Intel i7 9700k (8 core) but it did apparently not perform better than the previous PC with Intel i7 7700(4 core), I Currently, using 22 Mt4 terminals for 22 kinds of pairs. Each terminal showing two...
How to find second max/min value from array?  (first down from strongest valute)      This is my code for max/min values:            int num_array1[8];            num_array1[1]=USDstrenght;            num_array1[2]=EURstrenght;            num_array1[3]=JPYstrenght;...
Hi, So I have this idea that's been stuck in my head for some time now. Obviously, this idea is related to trading but more specifically to a Trading Strategy. I call it the ThreeAngulation strategy. It's logic is the following: ... ...1)assumption1: price moves Up or Down and then Consolidates
The fibo tool is strange on the programming aspect of things If you wanted to delete everything and recreate it's fine .. But if you wanted to delete levels? I think its not possible. Anyone have experience deleting fib retracement levels
  mt4 problem adding sl and tp  (18   1 2)
I've had this problem several times now. my broker says it's a common problem with mt4. i place a trade and go to add sl and tp values, but the box that comes up doesn't show the pair i am trading. broker says exit the platform and log back in. usually by then the trade is losing. is there a fix to
Hi guys, is there a possibility to modify the code of the ZigZag indicator that the lines are drawn in the background behind the candles? I didn't find a solution how to do it with the buffers. I don't want to set the chart on foreground because I need the lines and objects to be in the foreground
Hi Everyone, I have 1 simple question if someone can advise.  For trade signals to be copied over to my MT4 terminal I understand that I need to maintain a established connection to the server. Does this mean I need to leave my laptop on 24/5 or is it sufficient that I keep the mt4 app on on my...
Hi Guys, I'm new to coding, but find it quite fun. I'm getting familiar with python as a language to communicate to the computer and building trading algorithms, and am willing to put all the time and effort to start here and build my way up. however, I do need some help. So, MT5 has the Python
I download history data from a broker. Can be the "universal" MetaQuotes Software Corp history data in the MT4 > Tools > History Center or data from a broker specific like for example FXCM. The data in the 1 min history are 1 line per minute. But when I put the Back Tester in visual mode, I see...
Hello, I have an indicator that show me 3 bar fractals. I'm drawing lines on OHLC of a candle and that's where it gives me some problems. It works fine as long a i keep the number below i+4 in the line below - if i change it to i+5 i get the error "array out of range xxxx.mq4 (253,53)