MQL4 and MetaTrader 4 - page 1151

To post a new topic, please log in or register
Hello, i create an EA with some indicators.. however i found out that the trading system i made.. use a lot of memory.. it starts with 42mb... but in day 5.. it grows to use 1Gb of Ram !! (i checked with MemUsage on task manager)... may i know how to trace memory usage by an EA/Indicator ... is...
Hi  Looking for like minded traders who are programmers and would like to help create some custom parameters for various moving averages. Urgent Razz
If I set detrender[i] = 1.3100 or some other constant, then the indicator plots without any issues. However, when I make any references to the smooth array, it won't show any values. How do I get this value to calculate properly? int start()  {   int Counted_bars=IndicatorCounted();   for ( int...
  autopilot (4)
Does this autopilot work ?Forex autopilot? I bought it already and am exhausted tring to get it set up / Thanks
Hi, I'm building a indicator using data from several std indicators. Their data is combined in various ways and I end up with a single variable (array), and from that draw a normalized indicatorline that swings across 0 to some value. Buy/Sell signal is triggered when a certain absolute deviation...
Hi everybody, need help in a simple problem for an advanced programmer. 1.) I wanna receive a mail from a custom indicator which shows me currently up and down arrows. This means, every time if an arrow comes up a mail should be sent out. Can anybody give me the code for that or give me an example:...
Hi All Is there a way to compile a EA on the fly. The reason is I want to embedded the Expiry date to the EA when someone make a purchase of a EA or indicator through a internet payment gateway Thanks
Hi there...Please help me i need someone to create an EA which will work for breakout strategy. Hope someone of coders can help me with this. Maybe it will be usefull to others. I searched the all internet and cannot find an ea that will match to my needs. If it is possible please someone code an EA...
is there any existing blowfish or other encryption scheme implementation in MQL4? i am looking for something to generate and verify software key for my EA. thanks.
I have recently started to program using MQL4 and have discovered that the MQL4 help indicated that each indicator can have a 'Shift" integer to represent looking at the value 'shift' periods ago but the compiler doesn't recognize the inclusion of this integer. It indicates that you have one too...
I'm new to MQL4.  Trying to use iMA in an EA to identify HA close cross a MA on bar 1.  It compiles with no errors and no exceptions.  Here's the logic and code lines: (HAClose1>MAH1) HAClose1=(Open[1]+High[1]+Low[1]+Close[1])/4; MAH1 = iMA(NULL,0,SMMAperiod,1,MODE_SMMA,PRICE_HIGH,1);  //I tried...
Hi, I've experienced a really strange thing with some self-written indicators. I ran MT Client for 1 or 2 days live and found that my indicators show wrong values. So I double-clicked the indicator and the settings-menu popped up. I just checked the variables but DID NOT change any values there,...
Hi, This is my first EA, and i would like to put a limit of number of continueos OP for a cycle of trend, i have crack my head and search for the code for almost two days returned with no result. eg, when EMA 20 cross over EMA 40, this EA will OP with TP 15pips continueously without stop until the...
I tried two aproaches. a: Passing a paramter by reference via an include files works, thats obvious since its the same ex4 file after compilation. b: Passing a parameter by reference with an ex4 library file does not work. Is this intended? Why? Thanks for your help
Hello, I have a system that I've been trading, and would like to write 2 indicators that will help me more easily identify when my conditions exist. Though I might find and pay someone to write the code for me, I'd like to write them myself, with the help of a tutor. Can anyone recommend a...
Hi, I've been reading the MQL4 book and searching the forum but unfortunately, I haven't found what I'm looking for. I am pretty new to programming so I appreciate any help you can offer. :) I'm trying to write an EA that will have two parameters before trading. The first parameter is to define a...
Hello, How to debug my script ? It is possible to go one line at the time ? Set many Toggle breakpoints, but the script dont stop on it. Thanks, Tintin92
does anyone know how to clear/delete the indicator name that display on the chart window and sub-window?
on version 220 I am getting a very anoying popup on start up of platform any help _____________________________________ Themida An internal exception occurred (Address 0x830aa0) Please, contact support@oreants.com. Thank you ________________________________________
Hello I have developed an external c# application that saves some commands in a text file and then an EA reads these commands. There were no problem when I checked it with meta traders of ODL and Windsor. then I distributed it in between a group of users and users of Fibo were claiming that...
Hi everybody, I am new to programming with the mt and have an question: I use a custom indicator which shows up and down arrows each time when a signal is generated. How does it work, that each time an arrow comes up an email is sent to my mobile phone. Cant realy see what to give in, how and where...
i'm the newcomer in mql4 code.. coz i dont to understand this Mql4 code... What is the most easy to understand the Mql4 code.. i want to made the automatic trade by combining several indicators, and candle to make the entry point by using stop sell and stop buy.. please help me to resolve this......
i use stochastic cross overs with a custom finger pointing short and long positions, i want to add money management of 20 points whenever the finger points and it should automatically open the position for me and close based on the take profit or stop loss. i am learning mql4 language presently but...
  i need help (4)
pls i need som1 to assist me, with my auto pilot that i just aquired. i nid to know how best to use it.
I know we can start a tester when terminal starts when we indicate this in an .ini file. Is it possible to start tester using a command so that we can start and stop tester as needed. I do NOTwant to open new terminal for that purpose. Can any one help with that? Thanks,
Hello to everyone, I would like to create a simple EA that does the following (unfortunately having no programming experience): - inserts 2 limit orders with SL & TP @ a specific time of the day, taking as the price for the 2 limit orders, the opening price of the candle @ the specified time plus a...
you know a super simple EA that work well in backtest and in live mode....? I'm not a programmer and I'm looking for a EA.... I'm tried the EA on this site and i'm disapointed.... all the result are not the same than showned in the presentation.... My parameter is identical but the results is very...
After changing the code in a function, and then compiling, I get a Function Definition Unexpexted Error for another function that I have not changed. The unchanged function is listed after the function that I changed. What would cause this compilation error?
Hello, i just got new computer equipped with Ms. Win Vista. As soon as i code mql in metaeditor.. i found weird thing... it's the files that i code can be overwritten (access denied).. i try to "save as" with the same name and it successful, BUT... when i attached the ex4 to the chart.. it always...
I need some to revise my ea, I can't set this ea with this condition : I want this ea only trade Max 2x per day