Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1023

To post a new topic, please log in or register
Hi I am looking for an EA programmer to program a strategy I have. Please email me at tradertt123456 A T gmail D O T com and quote your price and I will send you the details of the strategy I need coded.
HELLO, THIS EA IS NOT PLACING THE RIGHT ORDER FOR ME PLEASE HELP ME MODIFY IT TO PLACE BUY STOP ADD 30 PIPS TO THE OPEN PRICE OF THE DAILY CANDLE STICK PLUS SPREAD SELL STOP SUBTRACT 30 PIPS FROM THE OPEN PRICE OF THE DAILY CANDLE STICK MINUS SPREAD. THIS IS ALL I WANT THE EA TO DO FOR ME ....
Hello there pls does any body know how to use this indicator CycleIdentifier.mq4, should please tell me.thanks
HELLO, PLEASE CAN SOME ONE HELP ME TO MODIFY MY EA I WANT THE EA TO PLACE BUY STOP 30 PIP TO OPEN PRICE PLUS SPREAD SELL STOP 30 PIPS FROM OPEN PRICE PLUS SPREAD THIS WORKS ON DAILY CHART AND SHOULD TAKE THE OPEN PRICE FOR A NEW DAILY CANDLE THANKS
Hi All, I have a problem in calling multi-currency / Symbol price values in my Expert Advisor. I use the iClose function for different symbols in my EA. When I start back tester, metatrader uses almost more than 1.5GB of RAM.It is only so when I call close for different symbols. I know that it loads...
pls anybody kindly explain how to ues circle CycleIdentifier.mq4
Okay so when I add a moving average indicator to my chart I can set the shift to -1 and it will give me a value for the MA, which is perfect for what I want, however when I try to program a -1 shift in the iMA function in my EA, the value comes back as zero. How can I overcome this?
To get a previous value(s) from indicators do you use shfit and (if so) how?
Hello, i'm looking for a freelancer that had experience build signal service system. Please post your bids here: http://www.getafreelancer.com/projects/C-C-NET/Trade-Signal-Management-for-MetaTrader.html
I'm having trouble attaching an indicator to the main chart that jumps to window 1. For example I amtrying to attach a Laguerre Indicator to my main chart. Any help is appreciated.
New article Effective Averaging Algorithms with Minimal Lag: Use in Indicators and Expert Advisors is published: The article describescustom averaging functions of higher quality developed by the author:JJMASeries(), JurXSeries(), JLiteSeries(), ParMASeries(), LRMASeries(),T3Series() and MASeries()....
Can somebody help me to get only crosshair instead of pointer. The crosshair getsdeleted when you click on the window. Is there something we can do that it stays all the time.
I have one general topic. As I said in title: Do you comment your code? Do you think it's good if someone comments his code or if you are working for someone, you make documentation, or you are doing both?
Looking for a trailing stop function of sorts-when price hits a certain value above or below order open price, i want to move stoploss to even or better. Any help would be greatly appreciated!!! Thank you Dan extern int Trailing_Stop=3; extern int TP=5; int start() { int totalO =...
Hi guys, I want you to look at my code,i just finished working on it,the code is attached to this mail, ignore the stochastics and ema indicators, my new strategy is based on macd on bar 1,and cci 50 on current forming bar(bar 0) i want it to open buy if cci 50 is greater than 0,on the current bar,...
When I use setindexlabel, does it automatically post the current value of that label to the indicator window? So if one of my indicators was the MACD, would it auto post the value of the macd to the indicator window?
Hi, I'm new to programming MQL4, or even programming at all; I've been working on the trailing stop part of the EA. I use a regular very basic SMA cross to generate the BUY and SELL signals and it is irrelevant at this time. The issue is : I'm satisfied with the trailing of BUY trades, but somehow...
Hi guys I have been using all your great suggestions to make this Grid EA idea I had, work properly...for the most part it works in how it places the grid and replaces triggered orders but I am having a small problem... I want to make sure that if an order closes in loss then the EA will cycle...
Sleep(5000000); //Does not Work with the Backtester! TimeKeeper[0] = TimeCurrent(); for(int t = 1; time >= 3; t++){ t++; TimeKeeper[1] = TimeCurrent(); m = TimeKeeper[1] - TimeKeeper[0]; if(m > 1500){ break; } t--;t--; } //This example does not either! // How can I include a Time Delay that can be...
Is it even possible to write an Expert Adviser that dose this? EUR/USD TF – 30m Short - after the 20th bar closes lower than the close ofthe previous day if the 20th bar is 35 pips below the close of previousday. Long - after the 20th bar closes higher than the close ofthe previous day if the 20th...
I'm trying to learn about indicators. The code for this one is below, but here is what I'm trying to figure out. I understand where the first part of the text the indicator is reporting is...it is this code: <IndicatorShortName("sMACD(" + FastEMA + "," + SlowEMA + "," + SignalSMA + ")");> I have...
So I code a new custom indicator that plots the same indicator on different timeframes in 1 single seperate window. No big deal, right. But then I start to think about it and there is something wrong (either with my code or with the function, probably with my code): The deal  is: if you calculate an...
Hi, first post, I'm new, etc. I am developing an artificial neural network, and I need lots of data to train it... How can I save the data feed from MT4? I just need it for one symbol at the moment. Also, any way of getting historical data would also be helpful. Any suggestions?
I'm having some problems getting my EA to wait a specific period of time between trades. I know I'm supposed to use the two variables listed above but i can't get it to work properly (especially in back tests). I know I'm not referencing previously closed orders correctly. If anyone can help me...
Hello, I am a newbie to this forum so apologies in case this have been solved already (I have tried to search before asking but haven't found an aswer I am happy with). I am trying to see how to best code an algo that will look at different time frames (TF). For instance, you may enter with a signal...
Hi. I want to know a thing about timeframe. As you can see on the table https://docs.mql4.com/constants/timeframes PERIOD_M111 minute.PERIOD_M555 minutes.PERIOD_M151515 minutes.PERIOD_M303030 minutes.PERIOD_H1601 hour.PERIOD_H42404 hour.PERIOD_D11440Daily.PERIOD_W110080Weekly.PERIOD_MN143200Monthly...
What the hell? I've spent over a year perfecting my hedging strategy - now, they want me to trade naked, uni-directional positions? Does anyone know of a broker that will continue to provide in-account, in-currency offsetting positions?
Ok so I have found an indicator that I really like and have done well with. Im trying to make it into an EA but am having trouble. Very basic. It is an double EMA cross, so you would think that it would be easy to code. The code that I have taken from other EAs and put together isnt making every...
Hi guys, I've created a simple EA. It works if being used on 1 pair. However, when I applied the EA on another pair as well, it doesn't works simultaneosly. Meaning to say that, when for example, the EA opened a trade on EURUSD, it won't run on GBPUSD. However, when the trade closes, it will open...
Hi, I’m watching the NormalizeDouble function. I know that the function, with 2 digits, works as follow: 0.017 is rounded to 0.02. Is there the possibility to round the number to the lowest level? If the number is 0.017 I’d like to round to 0.01. Thank you!
1...101610171018101910201021102210231024102510261027102810291030...1245