MQL4 and MetaTrader 4 - page 34

My EA includes some trading Utility, I don't know which folder to put it in
Hi, still working on my trader managed to fix my trade timer idea using a method combining HonestKnave and Wroeders help, so thanks guys! ‌ G‌ot another bit of it that needs improving where i currently crudely work out a lot size for a trade and it makes sense but doesnt work on anything other than...
Hello Members, I am trying to get onclick event for the panel and dialogue CButton . But is not working. Its working for other control types like Combo box etc. But not working with buttons. How to solve this issue? #include <Controls\Dialog.mqh> #include <Controls\Label.mqh> #include
Hello I find issue in the detailed report mql4. As I find mql calculate Maximum consecutive by open time . but the correct calculation by order close time let me describe it by real example. it is report of history that sort by open time. the default method of mql this is statement report of mql
Hello Mql5. Are there any IPhone users getting this message today? Unfortunately , your program is outdated and no longer supported. Please update the application to continue working on it. Of course MT4 isn't on the appstore so I can't update it. any ideas? thanks
Hello I have an indicator in MQL5, I would like to convert it in MQL4. Is it possible ? If yes, is it easy ? Or it's faster to recode directly the indicator from pine script to MQL4
Hello; I created a custom CCI. It works as intended. Except; the level numbers are displayed in the background color of the accompanying line. How can I get rid off the background color. I tried setting the BGCOLOR to white but that doesn't do a thing. Included are the image and a portion of the
Hi; got a question. Is the following a proper IF statement? Example: if (CCIsig > CCI_Max && (CCIdirect== "U" || CCIdirect== "N" )) cciFlag= "buy" ; or should it be: if ((CCIsig > CCI_Max && CCIdirect== "U" ) || (CCIsig > CCI_Max && CCIdirect== "N" )) cciFlag= "buy" ; I much
I have an EA I have coded using a custom indicator and it's working well. Now here comes my problem I want to share the EA to a friend but I don't want to share the indicator ex4 file with them. Is there a way of incorporating the indicator then share the EA file with them. Note I don't want them to
Hello everyone, I wrote this small function to print yes when it is 5 minutes before midnight in my broker time but it currently prints yes 5 mins after the next candle open. I have tried different variations of the code and the closest I have ever gotten was to print yes 5 mins before 20:00, once I
Hi, I have an expert advisor running on an instance of Metatrader 4, and I want to refresh EA automatically (like F7 and Enter) on my time (like 1 hours or 2 hours)? Any body have good idea? like Script or code to add to the EA? Thank you all. All the best, Ali
[Deleted]
Hi Newbie here... I'm trying to write an EA that returns two values from a function. Can't seem to get it working... Any help will be much appreciated. Thanks.
Hi All, I have ea use RSI (use function iRSI), but sometimes this function return wrong value. Code example: double RSInow=iRSI( NULL ,0,14, PRICE_CLOSE ,0 ); I run my ea online many days but sometimes this function return wrong value. Maybe it return old value (I debug return value but it wrong). I
  RSI entry.  (6)
Hello I am requesting your help on this piece of code. The idea is the EA should open both long and sell when the rsi is at 50 level. Note 50 level not greater or less than the level. Below is my code but if I use the equals sign (==) the orders are not triggered. Someone help string
Hi., I want to use the demo account before go for live trading.Can you tell me how to open the demo account. What the minimum amount to open trading account. Thank You Fri..
  websocket MT4  (1)
Can anyone help unravel this problem. I am trying to communicate python with MT4. The problem is that even when I close/deactivate the python code, something is constantly coming in at the MT4 input. I don't know what it is. Are they some buffers or other things? The code looks like below
I was using MT4 on Mac OS Catalina for a year or longer. Yesterday decided to reinstall it. And soft just doesn't want to launch. It is successfully installed. When I launch it - nothing happens, process doesn't even show up in Activity monitor. Any ideas
I have purchased a subscription for a vps on this site and connected it to my trading account. However it is not active, when I go to the navigator in MT4 and click on the vps icon it says "Ping from MQL5xxx to xxx - n/a" What do i need to do to make it work
  Exit arrows  (3)
I've tried to come up with a solution for this but not successful. I want the code to draw arrows on every closed trade so that I track all of my opened trades. Below is the code I've written but not working the way I want. Kindly help void DrawExitArrow() { double lastclose_price = 0 ;
Hi everyone, I'm making an EA that uses a grid with trailing stops, to do this I use a function that calculates the average price of orders. Then I use it to move the stoploss of all orders when the price exceeds the average price + a certain amount of margin pips. All this does not report errors
  CyberiaTrader..an amazing EA!  (289   1 2 3 4 5 ... 28 29)
I have decided to start a thread in the Elite section about this EA which is an open source EA and a very good performer. I have backtested and forward tested this EA and the results are truly amazing. I would like to extend an invitation to anybody in this forum to draw their own conclusion. Here
I have an idea which might have been discussed before. I have searched and not found anything. As we know, while MT5 offers many advanced features over MT4, there is a huge user base that primarily uses MT4 due to their reliance on indicators, EAs, and scripts. It will be impossible (and
Hi, on Dax index CFD , for automated trading using proprietary expert advisors A a broker has 2 account types : 1. 0.2 guaranteed bid ask spread and 0.6 round trade commission per Lot 2. 0.8 guaranteed bid ask spread and 0 commission It may look similar but stoplosses, BUY/SELLSTOP orders etc. may
Good evening, I'm looking for a utility that disables the expert advisor like "icefx" not with news reports but at pre-established times. This function in icefx is called DEA ifNoOrders. Does anyone know a program that does this? (sorry for my english..)
I need to develop an EA that will process several charts visible in the MT4 screen, like EURUSD-H1, USDCAD-D1, etc. I can switch to each of these charts with such code as: void Charts() {long curr,prev=ChartFirst();int i=0; while(i<100) {Print(i,ChartSymbol(prev)," ID
Thank you for using MetaTrader 4 mobile terminals for iPhone and Android. Probably you have appreciated all its exciting features or perhaps noticed some errors. However, we hope that you enjoy all its advantages. And now we appeal to you. We want to know your feedback and encourage you to vote for...
it is easy to develop one ea to be used only in one chart. But how can we use this ea for several charts? It is possible to transition to other charts programmatically and process the things on these charts. But then how to prohibit other copies of this EA in other charts in order to avoid any
Hi, I don't know how to formulate this better than this. I've been searching to change this indicator for me and one of my requirements was to calculate 2 values of the same indicator and a few people told me it is not possible or that i need a 3rd indicator .I'm just going to attach a picture
[Deleted]
Hi guys, I have array, 100 elements and I need shift all elements left, index 99 bye bye :-) from index 98 to index 99, 97->98, 2->3 .... index 0 = zero What is the fastes solution for it? Exist any special mql function? Or basic solution ...: int count=ArraySize(array);for(int i=count-2; i>1; i--)...
Hi, I'm a beginner in mql4 programming and would appreciate if anyone could provide the solution to the following error I'm getting please. I'm trying to add a custom MA to RSI and I'm getting the following error when compiling: iFantailvma3mOnArray - function not defined. I tried to merge the two