Download MetaTrader 5

MQL4 and MetaTrader 4 - page 586

To post a new topic, please log in or register
  two EA simultaneous (11   1 2)
Hi boys and girls, I am not sure, but it seems that if I start two EA on different charts, then one of them is not working, only the one in the active chart is working. I left them to work online for two days and I have got messages from the first, and none from the second, but then I ran back...
Hello! I have Escape#1 and Stop Hunter..these 2 EA’s are great “Pips Hunters”!!being used by lots of profit traders..but problem is that ‘Escape’ cannot go 1direction! It shoot rapid lot orders totrap the chart half of the page! Wow! 1000pips in 1hr..thenbig lost come as it doesn’t follow trend...
Hi, I have set up extra profiles on my MT4 platform and was wondering if there was any way of pertinently saving them? as I have noticed that they do not appear in the MT4 profiles folder in my c-drive? Thanks Roman
Hello traders. I have a hedging EA that I found in the code base. Basically all it does is randomly opens a buy and sell at the same. It opens new trades when current have been closed by take profit or stop loss. Currently there are only 2 possible outcomes....either 1 loss 1 win or 2 losses. What...
I'm too new with this code, I've been try to fix it so many times and the result is False T_T at first this script open 2 order (buy &sell) and 2 pending order (buylimit &selllimit) step this EA is BUY -> BUYLIMIT -> BUYLIMIT ... SELL -> SELLLIMIT -> SELLLIMIT ... I need your help to change the step...
UPDATE - Apologies I have now found a bug in the deviation line calculation. In the process of rectifying it now. I'll repost the function when it's fixed UPDATE - Looks to be working correctly now, had incorrect variable as start point for the deviation line. Hi All, I recently had a requirement to...
Hi For some reason I can not get to MQL5. I have a job posted over there that i am trying to complete. I keep getting a not authorized error. I have a separate profile and have money deposited there waiting to complete this project. Is anyone else having an issue getting over there today. Thanks
hello, my name is Jay and I've been testing a strategy lately and I was hoping one of our talented programmers here can make an EA based on it. the strategy: its a very simple one, I only use 2 indicators: the Heiken Ashi candles and an indicator called Mindhero ( both are attached), basically...
Hello, How to initialize a double to the max value ? double VarMax = ???; Thanks, Pierre8r
Hi All I would like to make an order, stop loss and a take profit, I dont know how because everytime I`m starting to decide on a stop loss and a take profit there is a "market closed" words that keeps popping up. I need an advice Im still new.
Hi all, I would like the code below to have the price values removed (from the right hand side of the indicator) so I can place a zero-line on the indicator BUT I do not know how to code. Would someone out there be kind enough to tell or show me how to do this? If so, I'll buy them a pint or two!...
Hi Admin, I have no choice but to post here. I have an account with MQL5 but when I login, the remember me does not work. When I tried to post something, it ask me to login which I already did. When I visit my profile page, it is blank and does not allow me to do anything. Please help.
Hello guys. I googled a bit MTF RSI and I found many indicators that did not work. I needed to plot two reading of RSI on one timeframe using two separate buffers. I noticed at first glance the indicator works but the readings are completely wrong. #property copyright "Copyright 2012, MetaQuotes...
Hi fellows, any way to get the values from the pitchfork or do i have to calculate the fork myself? Using normal ObjectGetValueByShift() returns 0, getLastError says 4205, but the fork is drawn correctly, so i assume coordinates are ok. I also made sure that only values after the beginning of the...
Hello guy, This is my first post in the forum, I would like to start programming ExpertAdvisor. My friend follows the forex for a long time but does not know how to program ExpertAdvisor. I know I do some programming languages ​​like PHP, HTML,. NET, C, C + +, JAVA, JavaScript and many others so I...
Hello there, I am playing around a bit with an EA to allow proper pyramiding. I want to find if the last opened trade of a given type is risk-free. The thing is that I don't know the chronological order in which OrdersTotal() returns trades, the behavior of the EA seems no to change much. Which code...
Hi, I use 9 different EAs with 24 sub programs at the same time for one broker account activestrades. I manage this at a moment that I have 3 MT4 sessions installed on one server at the same time. Every session use 8 sub EAs programs at the same time. How can I handle this easier? Is it possible to...
How Can one restrict a number of open position par pair?
Currently, I am developing an complex EA, which is watching at several courses, evaluating these and giving trading orders based on this evaluation. I planed to use multiple EAs to realize this complex strategy (1 EA per symbol) + 1 masterscript which is controlling these EAs. Since I am doing this,...
Good afternoon, I am developing an indicator which draws a text label with a 270º angle, which means the label is displayed vertically. Here's the setting code: ObjectSet(labelName, OBJPROP_ANGLE, 270); It worked fine in b409, and b419. But for some reason, on b432, it does not and the label is...
Hi everyone. I have a question. I am working on a EA and the idea is to have as an input parameter the symbol i want the EA to run. I though on a combobox but i understand that mql4 doesn't allow a combobox. Am i right? I'm trying right now using an extern string variable. But it's not sending any...
Hi all, I am new to trading and MT4 so please forgive the new-ness. I am making it a habit of printing charts and put my comments on them but have been encountering problems printing them. Here's what happens: 1. Print preview is good. 2. It's only when I click "print", which whether printed as soft...
Is there any way to takeprofit in pips? My base currency is GBP and im trading EURUSD. If I set my takeprofit as 25, it will close the order at 25GBP profit when i really want 25pip profit. ticket=OrderSend(Symbol(),OP_BUY,1,Ask,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); Thanks for...
Is there any way to make function iLowest() to return the most *recent* bar's shift when analyzing a series of bars, and more than one bar is found with identical low price values? Currently it seems to be returning the farthest away bar's index instead of the newer one... Thanks!
Hello, I am relatively new to Forex trading, but not to programming. I just started to write a few programs in order to understand some concepts of Forex trading better and in order to be able to backtest some of my ideas. You might consider the following issues to be insignificant, because they are...
I would suspect that most of us at this forum do not yet havea winning program. Why? I don't think it's a lack of programming skills. Thepeople at this forum are very generous in helping solve programming problems. Perhapsit's because we can't observe the market clearly enough to come up with...
Hello Everyone, I know that the smiley face is only ever sad when Allow Live Trading has not been selected when loading the EA. I would like to make it sad if the input parameters are wrong to highlight the problem, not everyone checks the experts tab, and some of the indicators already use the...
The EA I am programming uses an include file that come with the mt4 platform from IBFX and arrow colors were CLR_NONE but they were changed to red longs and blue shorts but the lines that stretch between the orders placed on the chart in a forward test represent the opposite as you can see in the...
I have a question about log of fix bridge. I would appreciate if someone could give me answers. Please to refer the following schematic system image. 1: start point of flow of price feed. 2: order 3: order execution My question is about display timing between price feed log at Fix Bridge (1)...