MQL4 and MetaTrader 4 - page 1455

[Deleted]
Hi every body I have a question. I wanna know how and what abiblities my investor have? I mean I am working trading with a EA program and I want to know whether my investor with investor password have some abilites to access my EA progaram and can see it or not? and is there any way to make password...
[Deleted]
Hi, I need help to setup a multi display terminal for metatrader (4 displays on 1 pc)...how can i get 1 pc to run EUR/USD, another on USD/JPY, another on GBP/JPY and last one USD/JPY. Appreciate your help. TQ
[Deleted]
I have a quick question about closing an order after a set number of minutes/seconds. My code works up until the point where I'm ready to close the order. If the order hasn't reached its TP or SL after 15 minutes, I want it to close no matter what. There is only one order open at any given time and...
Will this code carry on the loop after the continue command or will it just skip it all if the magic number isn't 1       int total = OrdersTotal();      for(int i=total-1;i>=0;i--) //if no orders then it won't run through this again      {         OrderSelect(i, SELECT_BY_POS);         if (...
Can someone out there please lend me a finger with this programming thing.....its so confusing! I have been tinkering with those codes and i have never compiled a correct code of my proposed 15mins trading system..... Here i need some help and if someone could correct all the mistakes in my codes...
[Deleted]
Hi Everyone, This is my first post and I'm not sure it's the right place but here goes. I trade Cable manually using a "Grid" to capture Daily Ranges. I place Buy Stops every 10 points to cover 200 points set to take 10 pip profit. The same with Sell Stops. I also place Sell Limits on the "Buy" side...
[Deleted]
plus I have read tons of this forum and articles but I have not come across anything that says exactly what I am looking for. Please help? Regards, Joseph
Hi, I’m writing this code, but I obtain the message “OrderModify Error 1” because the system continue to see as valid the condition “Bid > TakeProfit_Long_1”. I need to modify the orders only one time, when Bid price cross TakeProfit_Long_1. How can I proceed? Thank you!...
[Deleted]
Hi, ist there any possibility to delete history entries on the server..? ore any option that my investor doesn't see, which exact trades the ea did?
[Deleted]
Am intensely interested in how you approach conditions in for and while statements and would appreciate your comments and what you do. I fear that must do the dreaded nesting stuff like with if's eg: if(a<b) if(c<d) do something; instead of simply: if(a<b && c<d) do something; //am assuming here...
[Deleted]
i want to build my own machine, but i cant find the basics anywhere... how can i withdrow information from the market? how can i knwo the corrent rate, and candles.. i need a guide to integrate with the basics of getting info from the market. help will be most apriciated and sorry for my spelling ....
[Deleted]
I have noticed that the time on the EA/chart will lag from 30 seconds to 3 minutes at times, can anyone tell me what would cause this? Ex: Market Watch 1:15 EA Time 1:13
[Deleted]
I have a custom indicator that I would like to convert into an EA. For example the fractal indicator, if it is an up fractal on both the eur/usd and gbp/usd, a trade would be entered on the eur/usd. PLEASE HELP! THANKS
I am trying to send an email through google's smtp servers. Apparently they don't allow it. Know of any free mail companies that do allow this?
[Deleted]
  Order comments  (1)
I m new to MT4, is there a way to modify or change the existing order comment ?
  iCustome  (6)
Im trying to use iCustom to get indicator into EA but it doesn't seem to pick up the values.. This is what I have in the Indicator:    SetIndexBuffer(0,RSI1);   SetIndexBuffer(1,RSI2);   SetIndexBuffer(2,RSI3); And this is how i define it my EA: cDRSI_0 = iCustom(NULL, 0, "MyRSIindicator", 0,...
[Deleted]
  Who has a good pipsqueak?  (72   1 2 3 4 5 ... 7 8)
Hello. Do you have a Pips Manager (with take at least 2 pips (preferably 3 pips, if more, quite good)), that shows good results on demo, but cannot work on the real, because a brokerage company will get banned? If you have one, please share it with us. I feel there is a lot of talk that some good
[Deleted]
  help please  (1)
Hi I'm new to MQL but have some programming experience. I've read the 'book' and very helpful it was too, got me up and running quickly. What I need help with is function parameters, in particular iBands(), the 'Book' helped me with iMa() but is there a reference somewhere with all the function...
[Deleted]
I am encountering a continual problem with redisplaying custom indicators when the timeframe changes or the MT4 platform is loaded after being shut down. The custom indicators will load but the lines and objects will not be redisplayed properly, even though the indicators work just fine the rest of...
  DayOfYear  (4)
In the strategy tester, I run this: if (DayOfYear()>=88) {StartHour=StartHour+1;EndHour=EndHour+1;} However, it is always adding 1 hour even before March. Is it picking up the current server time? Do I have to use candle time instead? I can't see how I can backtest it any other way.
Can someone explain to me what does this standard code-block on top of most indicators do? I looked up the documentation of these functions, but I don't understand what does it accomplish.    int    counted_bars=IndicatorCounted();//----   int limit=barsBack-counted_bars;   if(counted_bars>0)...
Here's what I'm looking for: A function to test how a trade would have went in the past, kind of like a strategy-tester on-the-fly, if you know what I mean. This is what I've written so far: double simulateTrade(datetime time,bool isBuy,double SL,double TP) { double PL; return (PL); }...
Dear MQL community i am running MT4 under Administrator and 32comptatibility mode with Vista64bit Dual CPU, 16GB RAM. a) scripts work b) indicators work but strategy simple like: int init() { return(0); } int deinit() { return(0); } int start() { PlaySound("ok.wav"); return(0); } does not work. Even
Just a heads up..... Commercial Networks Services..CNS has some veryserious problems. Barry although a very cordial guy....has a very badserver....During the last months their server has been locked up/unavailable on numerous occasions...had I not been monitoring myaccounts the losses would have...
[Deleted]
i want to use a limit order to close my trade but am stuck at the following point. if the limit order fails because price has moved beyond my limit order by more than 3 pips i would like it to delete the limit order and place a trailing stop instead. any thoughts here would greatly be appreciated. i...
[Deleted]
hey guys I need a little help with adding alert function into an custom indicator.This is the code of the indicator. I added the "NewBar" part to stop alerting at every tick and alert part at the end but the problem is that it alerts at every new bar. I would like it to alert me when indicator...
Hello, I'm trying to add horizontal lines at evenly spaced intervals to my chart but can't seem to find how to do it. I don't know if it's an indicator or something that's built into MT4 itself. The picture below shows exactly what I'm looking for, which is horizontal lines spaced 25 pips apart, i.e...
If we assume that the foreign exchange market is a closed system, i.e. money does not come from "nowhere" and does not disappear into "nowhere", then we can expect the effect of money supply overflow (redistribution of funds). In order to be able to compare different instruments, let us normalize
[Deleted]
Is there a way to compile to your EA to an .exe and have the metatrader call the .exe EA to execute the trade? I'd like to know of any good solutions to protect one's code. Thanks!
To the start of a Expert program in the MetaTrader normally two lines come in the window Journal: - loaded successfully - initialized When starting of my program comes often only „loaded successfully “. And the program does not start. Only after reasoning and new starting of the MetaTraders the...