Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1084

To post a new topic, please log in or register
Hello People, what are at the moment the best tipps to secure a little bit the code from your EA that you sell to someone as a ex4 file? I search for some tipps to make the copy gansta a little bit angry if he want the take my code as its one. Or did there are today are possibilities to not must...
  First Bar (3)
Is there way to find if it's a first bar above/below the MA (first bar's open above/below the MA)? Thanks Example
My conditions are: 1/. If Buy order is opened then set StopLoss = Low[1] every new bar 2/. If Sell order is opened then set StopLoss = High[1] every new bar If you have any idea how to best solve the problem - please for the answer.
All we'd really need is a 4th type of mql program that allows us to build our own. It wouldn't need much more capabilty than an EA, maybe just the ability to init before a tic comes in and to create a permanent UI window that can accept user input data and have buttons and slider bars and other...
According to the description of the IndicatorCounted() function in the manual: ...To avoid indicator calculation errors in such situations, the IndicatorCounted() function returns the count of bars minus one. The above is clear, then after this a code example follows: //---- the last counted bar...
I know I can pull 3 EMAs into a chart and mke change to the perion and to get what I want. But I would like to be able to add one indicator that has 3 EMA with the following specification: All will be Period 34 One would Apply to High One would Apply to Close One would Apply to Low Does any body...
i'm sorry but i'm still begginer in programing - so it may seems very simple for you... How can i do something like: if(true) { BUY else SELL - no matter WAIT FOR NEXT BAR - this is important } because between bars should be the condition changed many times :( So, can i forbid the int start() to...
On the website of the Automated Trading Championship 2008,an article Winners of the Automated Trading Championship 2008! has been published. The Automated Trading Championship 2008 with all its worries and emotions is over. The contest Winners have received their prizes and awards. Their Expert...
hello everyone, when I try to run exportsampledll.mq4 which I compile it with nothing error and warning, i get nothing output in expertAdvisor . who can help to solve this question, thank you in advance ...
I defined a function like this: int CalculateBars(int LastBar, int PastBars) { datetime _time = StrToTime(FixedDateTime), _time0 = StrToTime(FixedDateTime0); int LastBar = iBarShift(NULL, Period(), _time, false), PastBars= iBarShift(NULL, Period(), _time0, false); return(LastBar, PastBars); } When...
Hi there. I'm just checking to see if this has happend to someone else aswell. My robot I'm testing on a demo account is working fine. the problem is when I close the MT4 platfor to reboot or someting. For some strange reason it closes one of the open trades? I can not figure out why. I do not think...
I am looking for 3 programmers to develop an automated trading platform with. This is an opportunity is restricted to no more than 4 developers (myself included). Forex trading background is a huge plus. There are no capital requirements. There are only time requirements. Each individual must be...
I'm just getting into testing some of my first EAs. Some of them have external variables that require user input. I was wondering if there was a way to have the backtesting program randomly insert variables into the external variables to greatly reduce the deployment time on the EAs. If I have to...
I downloaded history data from metaquotes corp in MT4 history center,buy it is lack of data from 2008.9~2008.12 in some currency,for example AUDJPY NZDJPY .Can you help me?
  Semi Auto Ea? (2)
Please correct the coding example... i've no idea how to make it happen... if (Question==true){                   // Flag (question is already put)         int ret=MessageBox("Buy Now?",         "Question", MB_YESNO|MB_ICONQUESTION|MB_TOPMOST); // Message...
Hello all! How to delete *.txt files in directory? There may be many files with unknown names! thank you
Hi I am currently on Russian time - 2 hours ahead, with Russian news! I cannot find out how to change this to UK time. Does anyone know? Thanks in advance
Hello!!!! I´m really interested in the Goertzel Algorithm to extract cycles of ssa´s ( not price ). http://en.wikipedia.org/wiki/Goertzel_algorithm Someone else?? ________________________________ Forexf20@gmail.com
Hi, there is some way to simulate market hours at weekend for testing programed EAs? I do not use backtesting, but i need test actions like timed placing orders, trailing SL, etc. Thank you.
Hi I'm trying to write a simple EA to manage an entry. When the entry order is placed I would like to add a trailing stop in the same way that you can by right-clicking on the order in the client terminal. (I understand that the Client Terminal handles the trailing stop, not the server.) This way...
Recently, I have tested new expert advisor «Neural Scalping» EURUSD – M5 . The advisor deserves an intent attention, because it combines the scalping and neural net. The Back test on alpari’s quotations from 2004 is perfect.. I put my impression about advisor in my [URL="http://mt4.us"]MT4 blog...
Any Suggestion and Touch Up for Improvement Wellcome
Hi, I came accross the following problem: In my indicator I use two different libraries and now I want to exchange data between those libraries. I have my indicator main file, and then there are libraries A and B. Library A makes some calculations and saves the result in a global array of integers....
  oh boy! (1)
hi not sure if my question is allowed here but cannot locate a correct area if one has an open trade with two lots how does one sell half to lock in some profits with out actually opening a new trade thank you am using metatrader jayalfx
Can anyone tell me how to access the date of the weekly(1) bar, not the current one. I need to do this from any chart other than weekly. For example, if I'm on a 4hr or daily chart, i need to reference the date of the closed week bar.
Hello all... Background: I only do manual trading, but I decided to rent a VPS to run a trailing stop EA. I can RDP into it from work, but I'd rather not use up all of the bandwidth just to have the client terminal up. I set up FTP and WEB service on the VPS, and I already have made the...
Hi, Can someone please give us an idea about what's going on with it ? Knowing "nothing" is worse than knowing its delayed until "x" date. Is there a BETA version available - I'm up for testing it - no problem.... PLEASE !!!!!
IS IT POSSIBLE TO PROGRAM AN EA TO BECOME INACTIVE AFTER RUNNING A PERIOD OF TIME E.G FOR A DEMO TESTER THAT JUST WANT TO RUN IT FOR A WEEK,TO SEE IF IT IS WORKING BEFORE BUYING