Hi every body, i am a new in EA, i wirted an EA with tragery Signal : double Buy1_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current + 1); double Buy1_2 = iMA(NULL, 0, 200, 0, MODE_EMA, PRICE_CLOSE, Current + 1); double Buy2_1 = iMA(NULL, 0, 55, 0, MODE_EMA, PRICE_CLOSE, Current +...
[Deleted]
Sometimes I need delete pending order,but if the pending order already executed,then MT4 will occur a 4108 error if I try to delete it.So I wonder is there a way to know a pending order already execute?
This EA is designed to put a limit back on a drawn line after the relevant timeframe closes below it. I am just using a sell at bid for now so i can test it on the 1minute chart. I have added a chime so you know once the program has run past the order send function.Whenever I try to add a stop loss...
[Deleted]
Hello, Is it possible to change the external variables of a custom indicator from an expert advisor that uses the indicator to process trades? If so, could you either explain how this is done or direct me to the documentation that explains the process of doing this? I am writing a simple ea using...
My EA gives insignificant results. I'm using an 'icustom' function of an indicator. does this affect the EA optimisation or is there another eason?
Bollinger Bands don't seem to allow 1.5 standard deviations in the external variable setting. If I use 1.5 in the iBands it doesn't work. Is this just a setting in the Bollinger Band code because it is set to an integer maybe? Do I need to create a Bolly band indicator and use iCustom to reference...
[Deleted]
Hello, my strategy tester shows the loss trades in two different end results. I don't really understand why and how can I disable this function? Please have a look at the following example: In this example the trade should definitely be stopped. But as you can see in the picture the strategy tester...
[Deleted]
Hello Sir i need Buy/Sell Stop Breakout ea LIKE Ea entered to morket in buy possition morkert price lot size ex. 1 lot auto matically immediatly put the sell stop order with 20pips down from the buy order withlotsize 3 (first order 1:3) after the lot size fixed double and all the buy possion are...
Dear all, I want to create my own Laguerre Moving Average indicator (not the RSI), but I can't find the mathematical formula to do it. Could someone help me, please? Thank you very much in advance
[Deleted]
I want to get the values of the lower and upper line (red ones) of the STARC indicator. I tried to read out indicator buffer 1 and 2 (see the included ea) but they give different values than the STARC prints on the charts. Can someone help me with this problem? *for some reason i cant attach the...
Guys: Lately, i work with an EA which uses iMA value. The common way of using iMA value is as below: ma_0 = iMA(NULL, 0, MA_Period, 0, MODE_SMA, PRICE_CLOSE, 0); ma_1 = iMA(NULL, 0, MA_Period, 0, MODE_SMA, PRICE_CLOSE, 1); ma_2 = iMA(NULL, 0, MA_Period, 0, MODE_SMA, PRICE_CLOSE, 2); and then,...
-
Hi, is there any way to move pending stuff with mouse without using keyboard in MT4? I'm so used to that in MT5.
Is there any way I can store a trailing stop value that can be matched with certain trades. One way I was thinking was to store the ticket number into an array when the trade is opened and then store the stop loss value into that part of the array eg... ticket=OrderSend(Symbol(),OP_SELLSTOP,selllots...
I´m a newbie to MT4, so there are a lot of features that I may miss... Background: I export all the quotes to a MySQL-database, when a new minute/bar occurs. But there is a problem... If the new minute/bar tick will occur at 12:10:00 (HH:MM:SS) that would be perfect, but the new minute/tick could...
[Deleted]
Hello there! Quick question, I know you guys get a ton of these, but I hope someone cares enough to help me out. My current EA logic looks like this; double signaldown=iCustom(Symbol(),0,"OS",2,1)double signalup=iCustom(Symbol(),0,"OS",1,1) (both value's 1 & 2 are a number). Now; - I only want...
[Deleted]
I completely understand it now...maybe it was too late for me to realize that coding for requests in mq4 community was long time ago.today,nothing in this world comes for free.Thats a pretty good lesson that you have taught me.Afterall,where would all the brilliant programmers go when they dont have...
[Deleted]
Hi, Every time I open MT4, it tells me I have an update to Ver 4.00 Build 409 (from build 406). I click on the update and it does it's thing, asks to close MT4 and restart. That's OK, but it then wants me to update to Build 409 again when it has restarted. Anyone got any solutions?
When testing my EA in MetaTrader4 I not only get the arrow to indicate where my pending order was placed on the graph, as well as another arrow where the order was fulfilled and a dotted line plus another arrow where the trade was closed. But in running the EA on a live demo account I only get the...
[Deleted]
Hi, I have JJN Fibonaci indicator, and I'm using it for daily basis ploting daily Fibo levels. The problem is this indicator uses server time as indicator start time, so I would appreciate if someone could help me and recode indicator so it would ask what time shift i need to use, something like...
Does anyone have a DMI indicator for MT4 which would do a net number between DI+ and DI- Example DI - = 40.897 DI + = 7.7854 DI (net) = -33.1116 I've only been able to find DI+ and DI- in an indicator and not been able to find a DI net (DI+ minus DI-) Can anyone help?
Dear friends: If the orders have been set taking profit or stopping loss, they take profit or stop loss, how can i get it? thanks!
Anyone can edit this to kelly strategy or divided by 10. my lot size is 0.10 when starting equity is $250 this should change to 0.11 when equity growth to $500 ------------------------------------------------------------------- if(Money_management) { switch(AccountType) {...
can i put 2 diferent strategy in only 1 expert advisor? i try to compile this 2 expert togeter,but doesn't work why? exemple: MA and MACD //+------------------------------------------------------------------+ //| Moving Average.mq4 | //|...
[Deleted]
the expert advisor is attached. Thank you in advance
Hi, I'm just starting out to use MQL4, and I want to code an EA which would act like the default Moving Average EA of MetaTrader, I have no error when I compile, but it never sends any order when I try it with the Strategy Backtester.. Here is the code: int start() {//---- double MA = 0.0;...
[Deleted]
Hello ; How to resolve this problem : when I pass an order : there is a message " erreur fréquente " in english it means " common mistake " and its problem begins since this morning thanks
[Deleted]
Hi there, I'm looking for a simple RSIwith sound alert. I've found many similar ones but none works as what I wanted.Really appreciate if anyone can help to code the alert into the standard RSI. Iwant to use this together with other indicators I use. The following is the criteria: 1. When RSI...
guys: there is a button called symbol properties in the tester, which gives the major porperties of the chart symbol. and there is "spread" and "stoplevel" in it. the current value of those two is 9 and 20. my question is, what is the measurement of "spread" and "stoplevel"? pips or points? regards...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.