Luis
Luis
Friends 1
Luis
Added topic Trades are double when I put my EA at work?
Hello there my EA seems to put double the trades when I put it on a DEMO account . (they are entry orders) Does anyone has an idea what could it be? Thank you Luis
Luis
Added topic Dont allow to change timeframe while EA is attached to a chart.
I have an EA that only works on H1 timeframe, is there a way to: - Automatically change timeframe to H1 when EA is attached succesfully to a chart? - Disable the abiility to change timeframe while the EA is attached to a chart. Thank you very much
Luis
Added topic Hype giant logs??
what is this?? I have logs in metatrader that are gygabytes of data!! http://screencast.com/t/NH2DaG7rM8R
Luis
Added topic Value of the spread
Hello there. Im trying to create a function that calculates the value in the deposit currency of the spread of each trade open and this function should be calculated differently in each broker, because they have different characteristics. So I
Luis
Added topic Why mql4 is reading this backwards? File operations
Im kinda shock, maybe anyone of you could help me. I dont understand why this returns me the columns changed order. I have an CSV with 2columms full of data. And this returns me A2,A1;     B2;B1;    etc.... why
Luis
Added topic Logs in VPS while sending orders from home
Hello I have seen that the trading log of my VPS doesnt take in account the orders I send from HOME. MEaning I have 2 mt4 one in VPS following an EA and one at home for real trading. I send manual trading and is executed correctly but the Log in the
Luis
Added topic I think my code is written badly
This is the part of my coding in my EAs that is giving me some headaches. This will check if there is free margin to open the position, but seems is failing in some brokers that are using Stopoutmode==1. This is the only part of the coding that I
Luis
Added topic Im reading a double from an excel is returning an int?
Hello there, Im having a bit of trouble here: double Read_File(int i)    {       int handle=FileOpen(Archivo_Historical(), FILE_READ|FILE_CSV );       while(Time[i]!=FileReadString(handle)
Luis
Added topic Good programming for sending Orders
Hello there. I have a new EA that lauch multiple orders at the same time. Market Orders and Entry orders. What do you think I will need to code for the EA work "perfect". At the moment I just launch the orders. Should I use Sleep() , RefreshRates()
Luis
Added topic Is my EA safe?
Hello there. Im trying to sell one of my EAs. Im thinking in giving a client a DEMO of the EA, capping its use with some function like: "if(TimeYear(Time[1])<2016)". Is is my EA safe with new version of metatrader safe? I heard that version 600+
Luis
Added topic Retrieving value for an indicator
Ok this is very strange, Im working with a indicator bought in the mql5.com marker.  The indicator in question is this one:  https://www.mql5.com/en/market/product/4518 Ok so I have this indicator activated in my terminal and I can make use
Luis
Added topic Use news for testing strategies
I want my EAs to ankwoledge the news in market, I will like to use this information in 2 ways. 1.- To analizye the news impact on my strategies, using backtesting , data analisys, etc... 2.- To make use of the time of next releases, to perform
Luis
Added topic Is there a way to stop/quit the EA from the terminal from the CODE?
So is this possible? I really need that. Greetings
Luis
Added topic WineBottler MT4 Mac _____ Getting .ex4 into experts folder
Dear members: I have a client that I have sent an EA, but he is using WineBottler for Windows compability, and he is having difficulties to run the .ex4 Anyone knows how he can put the .ex4 file into the experts folder? Thank you! Luis
Luis
Added topic How to detect the first bar avaiable of the data?
We are in m1 timeframe, in the current bar meaning index=0. How can we get the index of the first bar avaiable of the data? Thank you
Luis
Added topic Any medium//advance learners of mql4 wants to be in contact via Skype?
I think it would be a nice idea to synergize our development as developers :D Contact me if you are interested. Thank you
Luis
Added topic Array out of Range because not enough bars in the backtesting
Hello Im programming an EA that analizes the 300 bars prior to the current bar. So If I try to backtest in the begginning of my data I get the " array out of range " because the bars. How I should handle this one? I mean I want the code to analize if
Luis
Added topic Indicators shows at the end off backtesting
Hello there. Im using some moving averages values for the TP of my EA. Unfortunatly always at the end of the backtesting the MA that Im using shows (its drawn at the end of it) Is there anyway to make that NOT happen. Thank you
Luis
Added topic Only add lines to Onint or Ondeinit usintg includes
I dont think this is possible but: Can you add lines, say at the beggining or the end of Oninit function , via includes? Meaning: You have an EA with an include named <include.mqh>. Is it possible that inside the code of the include file modify
Luis
Added topic Block user to make him not allow to change chart, timeframe or EA parameters during part of the execution,
Dear Forum: Im creating a martingale EA, using objects, so when you change timeframe, for example, OnDeiNit() function is called, but I have "delete object" in that part of the code. So Is there a way to block the user the ability to perform that
12