Download MetaTrader 5

MQL4 and MetaTrader 4 - page 632

To post a new topic, please log in or register
Hi, anyone know how to write ea trade base after the 2 close bar higher than EMA line. pls help.
I attempted something new today which I am not sure how its is supposed to work. I have my PC connected to a demo MT4 accoubt and I logged into the same account with the iPhone app. No problem so far. Next I try to enter a manual trade from the iPhone. All I get is "busy" with no other message, log...
Hello I have some questions, requests, and issues I would like to be solved regarding the following articles on this article here: https://www.mql5.com/en/articles/1478 I'm trying to follow the instructions but I have the following problems: 1.) The file w2k3.img at http://fileshare.in.ua/20222...
Can anyone help me.. I need a template of martingale EA.. I found a template but when i backtest it.. the EA could not open a buy order if there is a sell order exist.. I only understand mql little bit.. Here the tempalte... I hope some one could help me to make this EA could open sell even there is...
I am getting an error 131 "Invalid Trade Volume" when I place an order using Lots rounded to two decimal places. However, MarketInfo (Symbol(),MODE_LOTSTEP) returns 0.01 indicating that I should be able to use two decimal places for Lot sizes. The EA works correctly when I use a Lot size rounded to...
Hi all, First Sorry for my bad english ! I would like to know if someone can explain that ! the simply code below is for changing takeprofit during night session ! it work fine but i have modify error 1 only when calling mode_Jour. the problem seem to be this condition oldtp = OrderTakeProfit();...
Hi, I have this problem: I have some window with charts. I need code (maybe with functions API) which will be select other window than active window (switch between window) Thank you very mutch for help me!!!
is theire way/trick for to taste renko/range bar chart on statgey taster?
Hi Guys, This is my first Post!!! I'm looking for a function to flip the Portfolio position from +1 to -1 and -1 to +1 immediately i.e, when sell signal is given, the command will close the buy position but straight away change the position to -1 Regards, ShinjiOno
The Renko live EA will only generate a bit over two months of back data on my chart. I tried running it on a 5 minute driver instead of 1 minute, no luck.. Anyone have an idea how to get renko data from any further back in time on my charts ?
Hello guys, I have run this in tester and haven't get any error, as soon I go to live trade I get error 130. Could you please give some thoughs to this? This is the open order code I have in a separate file in the include folder, GetLotSize() is my money mngmt, dTakeProfit is set to 180 pips,...
Execution scope: I understand that unless I code it in otherwise, everything within the scope of the 'start' function executes on every tick. But what about outside the scope of the Start function? Such as code that is often seen prior to this? Looking at some working EA samples, I don't see...
Is Renko Back-Test Possible in Mt4? I wish to use Renko charts as filter. By observation, looks like it produces smoother signals with MACD for example. But I don't know if it's possible to fool mt4 into using renko in back-tests. Anyone know if this has been done before I embark on a wild goose...
helloto everyone here, I did a backtest of this EA, it manages the positionssl and tp automatically when you enter an order manually. soucyon there is always some error messages in the log of the tester, Istill try with a demo account, but the window sl and tp from MT4 openswithout stop, I would...
Hi. first i would like to thanks all the forum for their knowledge. this is my first post and i'm french then sorry for my bad english. my problem is the following: I have the indicator rsi_ema_mtf and would like to modify the coding. instead of to call the indicator "IMAonarray",I call the...
hi, i have strategy which is giving more than 80 percent success rate with this.. can any one program this EA and name has Ajit_Scalper.ex4 or .mq4?.. the strategy is -- this is 1 minute chart strategy... and i use simple moving average (14 day) .. and any 1 min candle moves more than 5 pip, the...
We need a simple indicator that will take the values of several pairs, perform a calculation (which we already have the code for) and then plot the number on the chart next to some text, and then if the value is greater than a certain level, display a red arrow or green arrow. Some of the indicators...
Hello! Here it is simple programm and it works sometimes not correct: #property copyright "Copyright © 2012"#property link      "vitalyaxxi@yahoo.com"#include "include/stdlib.mqh"extern double INDENT = 0.0001;   //indent for pending orderextern double STOP = 0.001;   //indent for setting stop-loss...
Dear forum, I have here a question and want to know if anybody can help me with that problem. I receive forex trading signals from a provider and want that these entries are displayed at my MT4 platform. I receive signal emails on my computer. MT4 platform is also on my computer. I know the solution...
I'm trying to place a number next to all the open trades on a chart. I've managed to do an EA that does this, but it fails to correct the numbering when an order is closed. The last number on chart seems to be get all screwed up. I can't figure out a way to do this. Any ideas/corrections...
good morning looking for some expert on this mather to help me develop a indicator the prints arrows on charts and open trades this EA will be based on the following indicators macd rsi cci BBands stochol this post still on developement so wend i put all the code up i ill upload a copy, atm only...
What are the meanings of "MA Shift" and "SignalCandle"? In this EA, how can I set it to do Trailing Stop but only once to breakeven? How do i set "FirstMove" & "FirstStopLoss"? and "SecondMove", "SecondStopLoss" and so on. Thanks!
Good Day, We are looking to update Java inour new citrix environment. I would like to know ifMetaTrader4 and MetaTrader4 Editor use java before proceeding. Many Thanks,
when i install a mt4 terminal to start or start MQ editor i get this message "failed to create empty document" . what does it mean ? how to resolve it .
What are the meaning of Value, Start, Step, Stop in the Strategy Tester? Thanks!
Hello, How to install unconnected MetaTrader 4 for easiest debug purpose ? Here is what I try to do : 1-Install MT4 again on my PC. 2-Remove any broker connection. 3-Remove all quotes. 4-Import quotations necessary and sufficient for my MQL4 tests. Does that sound does a good idea? Someone he...
hi kindly help me to get the chart on total buyers and seller available on system at a time for a particular script and long with price. thank you