General - page 915

I am trying to find out a way to close order on the closing price of the current candles. Kindly, guide me how I can do that. I have read about the Ctrade PositionClose() function, but do not know the usage. Can anyone help?
Hey all, i am wondering if i found a bug or just misunderstood the scope of struct. I have 2 seperate classes. One includes the other ( not extend !). In both i use a struct with the same name. Within class1 i create a object of class2. Class2: ... class class2 { private : struct
Is anyone else having issues with the website Messages system?
[Deleted]
on win-7, this  gives me my  PC's ip : 53.253.34.23  But when i run on winserver vps, it returns some hex type codes (not sure what is it) : 2001:19f0:ac01:b37:7d64:91c:6013:2cfd My 2 guesses are : 1. the url giving unsuitable results or unicode/font issues 2. wininnet not working properly...
[Deleted]
I'm developing some proprietary strategies & i don't want to keep everything in the mql/ex4 file. I fear it can get decompiled sooner or later. From what i've heard, function headers/details can be read from memory. Dll-only solutions are not safe either, as dll can be decoded. SO i'm thinking about...
  Piracy bill protest day  (20   1 2)
As it is obvious TSD is not doing it the same way as Wikipedia and a lot of others today, but, in order to remind of a new attempt of US government to censor web contents (and I do not mean hackers, hacking or actual piracy at all now, since that "piracy bill" has nothing to do with that but has...
Hi guys, I would need your help (thank you in advance). All of a sudden my MT4 cannot connect to any of the servers it finds. My internet connection works. I restarted, logged in again, "rescanned" servers", switched off the firewall, switched off the anti-virus but still no luck. The account...
buy stop sellstop range 15.5 pips start first tick o candle   cancell order if not touch it  at the end of 11.30 pm any one can make me ea for that  with trailling stop  .. start trailling and stoplose sorry still newbe
I have about 8 years of historic data that I would like to backtest against because my brokers data doesn't go back that far.   I can clear our the history and upload this data into meta trader before running the backtest.   However, even if I have wifi off and delete the account from metatrader,...
As a regular user here, I am sometimes amazed by the cheek of some people. I don't know if it's only me but I am curious to get some opinions. Below is a message I got privately : Hello Alainut I was going through your bio. I see you are a computer scientist and professional programmer, right? then...
I want to add  conditionsto the expert but I'm not good in the MetaTrader programming language.The expert shall have the following instructions : after 4 hours from the  opening of every trading day (my time is gmt+1) the expert take the highest and lowest price and if the price is above 3 point it...
  Sideways Market indicator  (12   1 2)
Hi all, I am looking for some suggestions to find an indicator to help me prevent trading in sideways markets and prevent whipsaws. Any suggestions? J
I TRY CO COPY THE PROFILE FROM MY MT4 AND PASTE TO MT5 BUT IT DIDN'T WORK  ANYONE HAVE ANY IDEA  THINKS 
Hi Guys, I think this appears to be a common problem that is not being dealt with very well by Mql5.com I have had a couple of signals running now for 3 months and had some DD issues at the start due to starting with very small trading accounts...! Over that last couple of month I have managed to
Hello, I would like to run my EA on all Forex Majors and Forex Minors, I've got my code all done, but I want it to automatically run on all symbols in my market watch. Here is my code, its very simple, can someone please help in showing me how I can make this run automatically on all Symbols or
I am running a simple EA on 4 charts DAX, WS, FT & NASDAQ.  The EA runs fine all day but at 18:00 on GKFX which is 16:00 GMT time all open trades are instantly closed and any trade taken after this is opened and then closed straight away.  Three of my friends are running the same EA without this...
Hey Guys!  I need help to program to program an antislippage. I try to explain: I place a pending order with a stop loss of 5 pips. Imagine that when you enter the market there is a 2 pip slippage. The stop loss will then be 7 pip from the entry point: 5 pip + 2 of slippage. I would like to find a...
Hi Traders, l just logged in my Demo Account, says invalid account and l cant place new market orders, please help.
If a person does not have english as native language, even if he knows what operators and functions do, the brain have to create a bypass every time to translate it in your head, this can affect coding performance, i think it would be great if we have the option to change the operators to our own...
Hi everyone: The problem wrote in subject makes my EA read wrong tick volume information, with function "CopyTickVolume". Is there any way to solve this? (keeping screensavers working) Thanks for reading and thanks in advance for any help.
I'm trying to make an indicator which alert when the bollinger band squeeze at the define distance and alert when the bands start open . I'm new to mql4 , Could someone help ?
Hi I have a VPS with a mt4 running. Also mt4 installed on Android. every 10 minutes or so, I get a notification on my smartphone about a "New MQL5.com authorization from an mt4 installation" I get 2 notifications with different details alternately. One from one installation of mt4 and the other from
When I click the yellow box for messaging on my normal account all I see is white, nothing. On this account of mine everything is normal.. what happened on the other?
Hello Seniors, I want to know that, Does NonLagMA v7 repaints the past? Lets say, If the previous color is green, so if price would decide to go other side, so nonlagma will turn red on open candle but what about closed candle? Would previous candle which was green be repainted to red? Please also...
I recently bought a new computer and installed Windows 10 Pro (Latest Ver) and tried to run the agent manager, it get installed with no problem but it doesn't run. I checked in the task manager and it isn't running in the background, does anybody having this issue? Any help? Thanks
Trying to find out if MT5 will add a reverse button next to the profit inside the toolbox.  Similar to what Ninjatrader has for trading Futures.  By clicking the (R) reverse button it will close the position and open one going the opposite direction.  Thank you.
dear people of MQListan recently I have been researching on how one pair is related to all the other pairs, since EURUSD = EURGBP*GBPUSD = EURJPY/USDJPY and so on unfortunately I haven't found any satisfying data my idea is to analyse all pairs in order to get a signal for one pair any useful link
Cant seem to consistently bring up the sub window box of the positions,P/L on MT5
  GUI EA crash  (2)
It creates GUI well when EA is loaded  If I change the timeframe to H4 ,and change it back to H1, EA will crash. //+------------------------------------------------------------------+//|                                                     Controls.mq4 |//|                   Copyright 2009-2017,...