Download MetaTrader 5

MQL4 and MetaTrader 4 - page 538

To post a new topic, please log in or register
Hello Forum Hope someone might assist me with the code below. I am tring to produce an indicator that draws the most recent high and low fractal levels as lines to the right of the most recent price bar or candle But I am unsure how to write lines 71 and 81 below, and I suspect the use of 'lookback"...
I am a beginner with mql4.  I dabbled with mql4 a couple of months ago but stopped.  I am know back and I am trying to code an EA that uses the AuthorizedSSBODynamicBreakoutBoxFinalEdition indicator from over in ForexFactory.  It was pretty easy to get my ea to trade with the indicator, however,...
Hi, i have set up some demo accts with my broker, they are not updating in page. Acct manager at Avafx has agreed to re-activate the investor passwords, but their are some that are apparently running off the metaquotes servers. is there any way to re-activate those demo accts from the metaquotes...
Could you please help? I subscribed to a paid signal (from https://www.mql5.com/en/signals/subscriptions, not mt4 platform) however under Broker I selected demo server instead of live server. Is this something which can be fixed?  
Hello there Would someone mind telling me in simple words or pointing me to the right part of the documentation, what it means when you use "NormalizeDouble" in code example: if (f!=0) return (NormalizeDouble(f, d)); I have tried searching, but can't find the reference By using NormalizeDouble, what...
Dear Guys. I looking for a EA which write down order record to CSV file. sample when i open a trade then EA writedown trade record to CSV file and then when i close that trade then EA writedown again close trade record. is anyone help me out to write that type of EA  
Hello, is it possible to change the values in the swaps automatically, probably with a C++ application? If yes, where are the files in use for the swaps in MT4 that doesn't use an sql server?
Hi all, I am looking for an indicator which can be used in an EA to get values of the Linear Regression Channel. I can manually draw the linear regression channel by using the Menu command Insert>Channel>Linear Regression. Do we have any indicator for it where I can give the start and the end bar...
I'm looking for a Time Segmented Volume indicator for MT4. Is there such a thing? Thank you
Hello everybody, I know that with MT4 is possible to partial close an open position ... but with my MT4 mobile version for iPhone, seems unpossible to do it. I only can close all or nothing. Does anybody has any idea about ? Thanks so much Corrado
Glancing over this Post. It reminded me of a process which I've taught I'd be able to code by now. It's about creating Experts which depend Entirely upon information stored on the Brokers servers. Example Order_Properties of Open/Closed orders. I have no problem with this design/approach, in fact...
Hey guys. Anything happend in the time i was off, in terms of mql4/terminal changes? If yes, just give me some keywords i find the stuff then. Btw, happy new year
Hi Forum, hoping someone might point me towards a lesson or article (on loops) I keep getting myself into trouble with some of the basics and figure it is time I improved my knowledge in this area. When I search the forum I find mainly examples of individuals problems. But assume there is part of...
Hello, plz help me,How I use Heiken ashi indicator for android mobile I m using android 2.3 gingerbred os mobile and for trading MT4 App....
Hello! Where is the bug database for Metatrader Terminal, ie, when a user finds a genuine bug (and several other users confirm same problem), and logs the bug? How do I check which release version a particular bug has been fixed in? Thank you! P.S. - In case you're wondering, I do NOT have a bug to...
Hello all,     Is it possible to raw a graphic (line) on gaphic with MT4 ? Thnaks for your answer. See you! 
Am new to coding in FOREX and request help coding a simple price action EA. It's basicaly an idea that we would use on the daily charts prehapse even on the hourly charts aswell. The idea is that if the price moves up say 10-50 pips on a day candle stick that it will move another 50,60,70,80,90...
forexparvenu
https://docs.mql4.com/predefined/variables/High https://docs.mql4.com/series/iHighest https://www.mql4.com/search#!keyword=ihighest%20ilowest&page=2 https://forum.mql4.com/44742/page2 https://forum.mql4.com/47015/page2 let say, in min 15,
     subtracts the current high and low of  bar 24 ago.      when the value of CurrMinusPrev = >0.0013    i want to     OP_SELL .      Please someone show how make OP_SELL succesfully.        When i test it thank you. 
hi all, i am no expert in MT4   i use mt4 from roboforex it has oneclicktrading.ex4 which  loaded successfully and immediately removed when contacted the broker they said it will be ok in mt4 build 451 but it is not so far. i tried it in w7 32 and 64 but both are giving the same journal as above the...
I went through so much that I'm writing here. Do you know a function or script ... they hit last trade - or + account, and swallowed a lot like the last trade ... My idea is: Variant result = last trade account or reviewed or not, the result (0 /1) or is negative which was a lot in store used I want...
Hello All! Could you please help me out with my code? Below I'm presenting my code: extern double Lots               = 0.01;extern double MovingPeriod       = 27;extern double MovingShift        = 0;extern double trailing           = 5;int start(){   int cnt, ticket, total;   double ma;ma=iMA(NULL,0...
Hey guys!   Just found this website with paidprojects  . Im  gonna go for the prize on a few of them. Anyway login with your Facebook acc. viafollow  the link  below and see for  yourself. Looks  promising. Winner of project runs off with $1000,still all get paid for their contribution by their...
Hi all, My MQL4 Editor crashes and closes EVERY time I use the 'Copy' feature, regardless of if I use the menu with the mouse, the command in the 'Edit' menu or Control-C . It does copy it, but then bam, down it goes. Most definitely a pain )< 8( It does NOT do it in ANY other applications or...
Dear Friends:        Can you tell me how to send message from one trade system to another?   Thanks! 
Hi all, I've written a simple ea, but I can't get something done in this code. I want to trail the profit of the group inclusive the loss ones.  void TrailingStairs(int ticket,int trldistance)   {    int Spred=Ask - Bid;    if (OrderType()==OP_BUY)      {...
Sorry guys! Back again with another problem. I have the following code that has to select all my open Sell Orders and then close them under certain conditions. It works well if there is just one open order, but as soon as I have two (or more ?) open Sell Orders it only closes the last one. How can I...
  How can that be ?? (13   1 2)
I have declared the following global variable: bool        SellMiddle = false; But as soon as the program starts - long before it reaches any code that could change that status - and even if it reached that code it would still not change because the condition stays false to change the value - the...
After recently buying a new laptop on in November, I am experiencing some problems that were not there with Windows XP. When trying to copy & paste it will not paste the text in. The only remedy I have found for this is to remove the battery and reboot. Also after just saving a new or modified...
Hi all, I'm getting a weird error with OrderSend function on forex.com. No matter how I set the price parameter,  a new position will always be opened with current price.  For example with this function  OrderSend(Symbol(),0,0.2,NormalizeDouble(Ask+10,MarketInfo(Symbol(),MODE_DIGITS)),10,0,0); I...