[Deleted]
Hi The IndicatorCounted function tells you if there are bars that are not calculated, but it does not tell you if it is a new bar or and old bar (ie. when you scroll back in time and new bars are loaded). How can I determine this? If the IndicatorCounted returns all the bars-1 you do not know if it...
[Deleted]
A lot of programmer are wasting time and effort setting up strategies with back testing, often these tests give different results time by time. The must important thing is that the history chart have to be error free and the quality model must not to be "n/a" but almost "90%". I suggest to test the...
[Deleted]
What I want to add is a Trailing Stop, and a input to lock in pips if the market reverses and doesn't hit the TS. And then an input for amount of pips to activate the lock in pips once I have the code for the buy then I can modify the sell and quick reverse. I just don't know alot about programming...
I've been downloading my Detailed Report into Excel now for some time for further analysis but one small problem exists that I cannot seem to find a way around. I want to calculate the time between when the trade opened and when it closed. I cannot seem to find an Excel date/time format that is...
[Deleted]
Good afternoon! I would like to write an EA , but I don't understand the programming language very well yet. It should do: 1. define day of the week and time 2. determine High and Low of the previous three days (i.e., if today is Tuesday, it should determine High and Low for Monday , Friday and
[Deleted]
I have an oscilator that outputs data that is + and - I would like the out put buffer (array that is drawn) to be normalised between -100 and 100. So that when I place it on a EURUSD and USDJPY chart the reading can be compared. Any Ideas how to do this ?
So I was playing aroun d with one of my tests an d set my stop loss to 7. I then fire d off my run last night. It faile d to take tra des, after several hours to day attempting to figure out where I went wrong in my co de, I rebuilt all my co de from several versions back, trying to fin d the bug....
[Deleted]
I just start learning mql4, got stuck on one of hte sample code. what does MODE_LOTSTEP mean ? Step for changing lots. I am still confused. here's the code int start() // Special function start { int Dist_SL =10; // Preset SL...
[Deleted]
Hello, Recently I put a EA MACD Sample in my graphic, I setup correctly, its working good, have the happy face on my graphic :), but it didnt any trade until now. I am looking for a MACD EA that get same trade for me, open and close the trade. If sameone have, could send me please? Thanks a lot
//+------------------------------------------------------------------+ //| femi candlestick.mq4 | //| Copyright © 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net |...
Thank you so much am very greatful but when the condition met, the opened order was not close. What could have caused it? pls. help me again
[Deleted]
Hi, I am programming my EA. I just want to put some restrictions on the use of the expert.I want to make it as a trial version for 14 days. Is there any specific functionfor doing that? Any suggestion would be appreciated. Best
Hello, this is my first Robot and would like to have some feedback on its Results (since I do not have Experience). It trades Euro vs USD and uses RSI for signals. I can see it goes to 81,000 (from a US 1000 deposit in 1999) but it goes back to 18000 at the end of October 2009. Some data: Pair:...
I have typed the Check ForClose(); but this is the error i got"'CheckForClose' - no dll defined for the imported function C:\Program Files\MetaTrader - Alpari (US)\experts\EA.mq4 (190, 7) " pls am not a good programmer am only putting legs and heads of differrent people together. Pls tell me...
[Deleted]
I am trying to create code that will close one position and open the opposite position (ie close long and open short or vice versa) on the same technical signal. I can get a position to open if no other position is open and i can get it to close if a position is already open. I cannot get the ea to...
[Deleted]
Hi I have an esignal function that paints bars. I wish it to be converted to Mt4. Will pay via paypal. Code must remain confidential.
[Deleted]
In my thesis i need real gold data . So i downloaded it from MT4 's history. But i dont know reliability of them. Can i know where history center store? i mean why 2 brokers at the same time can be different from each other? they also load from Metaquotes's databases ? what different and similar...
When using the MetaTrader MT4 build 211 History Center download function, is thedata adjusted in anyway according to which broker is being used ?? Assuming that2 brokers with different server time and both are using the same History Centerdownload data source, will the downloaded data be identical...
[Deleted]
Hello, I have a demo account and would to trade with XAUUSD. I try to create an order or to view the XAUUSD chart but I don't see them. Normally I can trade with gold also : For people who understand French : Votre compte de démonstration va vous permettre de trader 5 paires demonnaie avec un taux...
[Deleted]
I work with some commercial EAs, but I want to code an EA that constantly checks the open trades and close them if certain conditions are met, for example.- -Number of minutes the trade is open. -Currency Pair being traded -Amount of Profit or Loss at the moment of check. I have this piece of code,...
I have this alert set to tell me about other timeframes. However, because of the Time[0] setting, when I am on a 5min chart, it is alerting me about the Daily chart every 5mins instead of just once. How can I add a period time to the setting so it alerts me only once for daily, only once every 4hrs
pls i dont know hoe i will call for the function in the EA attached so that it can be closing orders and to remove the error giving"Function "CheckForClose" is not referenced and will be removed from exp-file "
Help - need help debugging my function to count total lots bought (total lots in long position) I need to know how many lots in long position I had opened. //------------------------------- void BuyLotsCount() { int lcnt; int ltotal = OrdersTotal(); for(lcnt=ltotal-1; lcnt >= 0;...
Hi to all, Thanks to all also for the help with my other questions. Eventually I will learn this MQL and I will be able to help others as well. In the mean time, I have another question. I am running a one hour EA. After I get a 'winning' trade, I wish not for the EA to produce another trade until...
[Deleted]
Is it possible to import datas of a stock which isn´t present in the database? If yes, how can I do that
pls i would like someone to look into the code of the attached EA i want the EA to be closing market if the last condition is met but unfortunately for me it is not so when i complied it, i got warning "Function "CheckForClose" is not referenced and will be removed from exp-file. I dont know how...
Hi, I need to write some code that reads some indicators in several symbols(). Is it possible to use the init() section that this code runs in a endless loop and dont have to wait for the tick of the attached chart? Thanks
[Deleted]
IBOVESPA is in real time but it cotes : real value IBOBESPA - 50 points.... any reason?
[Deleted]
Alguém sabe se tem como colocar horario local do Brasil nos graficos? Obrigado.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.