MQL4 and MetaTrader 4 - page 253

To post a new topic, please log in or register
Hi All, There are default values in MT4 when creating an alert, like "maximum iterations = 5" How can we change this to a different value; its irritating that for every alert, we have to manually change the default value. Thanks
gilmt5
  alert edit (5)
How can i remove check in check box as default setting? and i want to change timeout and maximum iterations as default setting.
Machine learning is a powerful tool for not only coming up with new strategies (like we do in TRAIDE) but also for improving your existing strategies. In this article, we’ll cover adjusting your position size using a random forest algorithm and turning your strategy on an off...
Hi, I want to learn how to do programming in the meta trader 4 platform. I tried to download the MQL4 book from the link below: https://book.mql4.com/ After downloading, there was no content in the book, I got a message saying navigation to the webpage was canceled. May I know how I can download the...
Paying for virtual hosting and signal subscriptions in MetaTrader 4 has never been easier — now there's no need to have money on your MQL5.community account. Select a preferred payment method in your platform and make a direct transfer from it. Thousands of traders use virtual hosting...
hi guys, Is there any code in mql4 to enable the user to change the the stochastic's predefined level ( for example use 30 & 70 instead of 20 & 80 ) directly from the inputs ?  thanking in advance for your guidance 
Hello, I am getting an error 131 on build 880 when I try to do backtest offline.  How can I solve this problem, which occurs only on few markets, not all?  Thank you in advance.   
Hi all, I have a problem with Renko charts in the new MT4. I’m using Renko Live Chart v 3.2 in the OLD MT4 version, but I don’t see the M2 chart in the offline folder in the NEW MT4 version. I have read this article https://www.mql5.com/en/articles/1387 and make the suggested adjustments but it...
Hi, since the last terminal update to 890 I do have several problems. A serious one is that my tries to load the new-file of the week fails: #import "wininet.dll" int InternetOpenUrlW(int,string,string,uint,uint,uint);#import ...  string strUrl = "http://www.forexfactory.com/ffcal_week_this...
Say i have a file: "DOWJONES.txt" the file is updated from time to time through email scripts whenever the file is updated, it needs to be read by an EA and the new values must be loaded. FileGetInteger() can tell me if a new file is present by checking the  FILE_MODIFY_DATE.  So I'm cool with that...
Hello I searched in this forum but I could not found a topic talking about it. I´m programming an EA that has a neural network. I structure the code to function like a network and developed a specific architecture according that I experienced in the market. I´m using as a model the article made...
What could be the issue?     ZEROAM= FromHours-4;     THREEAM= FromHours-1;     threeAM=0; while( TimeHour(Time[threeAM]) != THREEAM ) threeAM++;     EJHigh7To10 = iHigh(NULL,PERIOD_H1,iHighest(NULL,PERIOD_H1,MODE_HIGH, THREEAM-ZEROAM+1,threeAM));     EJLow7To10 = iLow(NULL,PERIOD_H1,iLowest(NULL...
  Hide OTH (3)
Someone asked me an interesting question: Is it possible to Hide Outside Trading hours? So if you show DAX, that only bars during Frankfurt trading hours are shown and rest of data is discarded - that is: price is moving, but no bars are formed. I am looking for omitting data (ie bars), not merely...
I have created a new squeeze indicator for MT4 RA_Squeeze_V1. Check these out and email me if you want it - aravishstocks@gmail.com. Another one:
  WebRequest (8)
Next and last question and for this Forex Game i'm building ;-) And it's going to be fun and might even be profitable for the players! Can anyone give an example of how to send some data with the webrequest? The data I want to send is a simple comma seperated list with doubles: 1283762323234, 1...
Hi Everyone   While not new to trading, I am new to programming.  I want to learn how to do it and I do have the MQL4 book and reading it.  I thought that I would start with something really simple and basic and use this as a base to build a more sophisticated EA, but I cannot even get this EA to...
noobshow
Hi Forumers, I've been trying to work on a Maths Since yesterday, but it seems it is failing me. I need to get Order Commision in Pips Value. How do i go about calculating it? I've used OrderProfit() + OrderCommision()+OrderSwap() before, but this are just in Currency values.. I want Pips Value of...
MQL4 RSI indicator is updated once in 30 minutes. why? can I get the current value? I'm using the API call: double rsi = iRSI(Symbol(),0,RSI_Period,PRICE_CLOSE,1);    Thanks, Eli   eli@intel-agent.com 
Hi, I found this EA: https://www.mql5.com/en/code/10483  It's great but I need help with one simple thing - I want that just one line will be writtento the file. it's mean that every time I will open the file I see only 1 line, the last tick. Only the last tick! In the next tick the current line...
In this picture the blue line is the result of the code. The red one is the result of dragging the RSI indicator to the chart. iRSI(NULL, 60, 03, PRICE_OPEN, 0) - iRSI(NULL, 60, 14, PRICE_OPEN, 0) Why is there a difference? Any ideas how to fix it?
I want to implement an MT4 multicurrency expert and I have a problem with Bid and Ask prices for all the symbols (with the exception of the one where the expert is attached). I looked for that in the forum and the answer is that I have to use MarketInfo() but that's exactly what I'm doing...  I...
 I would like to buy this EA for closing the orders with profit within seconds. I am unable to find this in mql4.com. can anyone help me ....
Hello, I am trying to run some tests in the Strategy Tester pannel with the freshly downloaded last version of MT4, and it seems there are some problems. I press "Start" - and nothing happens, the machine thinks for a few seconds, then comes the ending honk. "Waiting for update" remains written on...
So all I want is a FX broker / exchange that lets me connect through FIX / TCP / API for uncomplicated automated trading. I also need real-time market data. What I don't need is: 1) Ridiculous minimum deposits. I understand that for algo trading (more than 4 buys and sells per day) the SEC requires...
I've a questions about MQL4 programming. How to get the highest volume (perhaps 1 bar or 2 bars only) in current day and then draw horizontal line at the close or open of candle? Any help how to do this? Many thanks
Best regards    I think is very important to set a initial population when we use the genetic algorithm like we could set in Matlab.   Only we must set external variables from code.   Like this:   int init()  {//----     if(GlobalVariableCheck(initialPopulation) == false)...
Programmers, I am currently running a simple EA that open and close orders as per the attache file sections 15 & 16. Current operation: The Ea will open or close a pending, only one trade at a time so on opening a Pending Buy will Close a Pending Sell and  opening a Pending SELL will close a Pending...
Hello guys. I use Meta Trader Version 4:00 Build 880 on my desktop and also on my laptop. I am not home some of the time so I  use my laptop outside of my house and trade on it but the problem is that everything is too small. I have attached a picture I can't see the pair quotes or read charts or...
Hi All, When I view any pairs with "CHF" in the daily chart or weekly it look like the image below. Is this real candle or there is a way to adjust it?
hello, i know that mt4 runing the script evry time there a "tick". i like to know if mt4 get tick by "ask/bid/last" or all of them?  tnx tom