MQL4 and MetaTrader 4 - page 251

Hello , Guys I am looking for a free expert advisor that sends notifications to your phone whenever RSI is overbought or oversold for all currency pairs. Kindly note that I am using MT4 application.If anyone knows an EA with these specifications please mention it's name. Thank you
I use kernal32.dll function to delete the log file as just the expert is initial izing but it don't working,... every other type file is deleting through this function but the required log file is not possible to delete at the time of initiaziation. I just want to clear all text inside the log at
Hi, I'm trying to stop the EA if the TimeCurrent is greater than a defined Date1. The program is working fine IF the two date are different , But once the dates are identical and the difference is only in time, it's not working (eg: TimeCurrent is: 2021.01.24 01:47 and Defined date is: 2021.01.24
Hello Community I got a little problem with a Indicator I made. Sometimes if i switch the timeframe, The Indicator is drawn randomly all over the chart. Indicator normally: Indicator Buggy: Does someone know where the problem is? Here are some parts of the code: //Indicator drawing and buffers
Is there a setting on MT4, or an indicator, that will show the dollar size of your order, on screen and/or the Terminal, instead of (or as well as) the lot size
Hi, Indicators are usually posted on the upper left corner on the MQL5 site. Below the indicator there is a Download button. However, when I press the "download' button nothing happens. Long time ago I could download these indicators, but not anymore. What could be the problem? thanks in advance
Hey guys, I just need some help with the logic to this problem I seem to be having, and perhaps it is because I am thinking of this in the incorrect manner? So, for finding the time of the beginning of the week from any given day within that week, I have simply  used: int day_of_week=DayOfWeek();...
  How to calculate degree ?  (15   1 2)
If tan(X) = 20. What function use to find X ? Thank you
Hi, I am trying to code a way to release orders, but it is not working. Does anybody know the logic? //+------------------------------------------------------------------+ //| Profit loop |
Hi all, I am trying to write script for opening additional orders instead of setting stoploss. For example: 1 Buy Order is placed and it is going loss, if openprice is reaches the distance (eg:300pips), it will open another buy order. Then, Order 2 is making profit more than account balance or
[Deleted]
Please any Help is appreciated I am new to to MQL in General and I have been trying to figure out this problem. After opening a trade It does not close with my condition and I do not why? if(total<1){ if(dayOpen > dayClose && prevDayOpen > prevDayClose) { SellTrade(); } else if(dayOpen
I want to make EA like this EA takes position when price during above 20ma and does not exit before price once goes down below 20ma then exits when price comes back above 20ma. But my EA exits soon after taking position because price is above 20ma. If someone knows how to fix this, It would be very
Hi, I need to update an old indicator (T3 Trix) to the current language. As I understand, the old language uses functions like init() and start(), the newer language I'm needing is more like Onlnit() and OnCalculate(). If anyone could point me the the right direction it would be much appreciated
Pre-600 code generating this error on compilation. What doesnt the new MQL4 compiler not like?
  Charles Dow's theory  (1132   1 2 3 4 5 ... 113 114)
Dear traders! For the first time in the history of trading, I managed to prove 100% theoretically one of the 6 axioms of Dow, namely his first and main axiom "The market takes into account everything" and raise it from the rank of an axiom to the rank of a theorem, i.e. a proven axiom, which gives a
  I will write a free mql4 advisor  (197   1 2 3 4 5 ... 19 20)
To gain experience in this area, I will write 25 EAs for free for your interesting ideas and strategies 19 EAs left
  How do i shorten this code  (16   1 2)
I've been trying out things but i really can't seem to figure it out, i tried doing loops but i'm probably doing something wrong. What i wanted to happen is to only do a sell signal when all 10 candles is below the moving average. Here is the photo to visualize more : https://ibb.co/LtHDPhp double
I am trying to create EA(MQL4) And Critical error Array out of range in EA error appeared. In fact, I'm trying to turn an indicator into an expert. I have done this before. But in this case, I encountered an error in the title. This problem occurred after adding void FindZones (). This part of the
Hello I am looking for the Bollinger bands indicator with color change of the sup and inf bands according to their direction for MT4 like the one below version mt5 https://www.mql5.com/en/code/16489 https://c.mql5.com/18/53/BB_filled.png thanks
Hi All! I am having trouble calling the correct values from a downloaded custom indicator on MT4. The indicator is a Chandelier Stop indicator. I manage to use the iCustom function to call the value, which works when the price action is below the indicator value, however, when the price action is
Hey Everyone! I am having an issue, my EA is Working Fine in Live Market But when i run it on the Strategy tester it is not opening any trade and return Error is 138. I have tried to Fix this issue by Reading many threads And i Have tried everything that i can get my Hands on, but the issue is
Hi, I'm building a mt4 FX trading system in mql4 and python. I could connect mt4 with python using win32pipe - it's a python library that connect to other win32 languages and send data . But I wonder if it can be launch the system and others can use the system on their own mt4. I'm going to launch
hello every one. I am so new so fresh in MQL I try to learn this language by practicing in this case I try to check the chart objects( trend lines ) like this: #property version "100.002" #property strict extern string LongTrendLineDescr = "LTR"; extern string ShortTrendLineDescr = "STR"; extern
After position has been closed OrderCloseTime() returns 0, but OrderTicket() and OrderProfit() return correct values. If I call OrderSelect() before OrderCloseTime() it returns correct datetime... Sleep(1000) call does not help... Tools and account: MQL4 Alpari MT4 Version: 4.0, Build 1320, 11 Dec
hi guys i try to trade eurusd , by another chart ,the EA is placed over EURCAD and here i want trade EURUSD but if i try not work why ?? //+------------------------------------------------------------------+ //| test.mq4 | //|
Hi guys, I hope you doing well. I wrote an EA which is more complicated than this below, But as an example in the below code, I used ADX to get signals, when it's running on real time it works perfectly, But when I want to back test, It doesn't actually works, Then the strategy tester doesn't move
Is it possible to separate class definition and implementation in MetaTrader 4, as in C++ .h and .cpp files? All MetaTrader examples have class definition and implementation in the same file. I would like to give header and *.ex4 compiled files, as in C++ I would give header and lib/dllfiles.
Hi Why I see Rectangles instead of arrow or fractals in MT4 ? I put my EA in Tester and it didn't show arrows or fractals. I tested in several MT4 but the problem still exist any suggest, I appreciate. I attached an image. https://pasteboard.co/JKzTkAu.jpg
Hi i copied ea to expert folder in metatrader target folder, but don't show anything in platform navigator. i think this problem when Happened metatrader automatically updated 2 days ago. What should I do to fix problem ??
Hi Today for some reason MT 4 stopped sending trade notification to my cell phone. I have not changed anything on my computer or cell