I am new to MQL. I am looking for a simple multi symbol multi time period EA template which can be used as a template to create new strategies? Suminda
[Deleted]
NOTE: The continue operator passes control to the beginning of the nearest outward loop (while, do-while or for) operator, the next iteration being called. please CORRECT Me, if I am wrong ... for ( int i = ( int ) MathMax (prev_calculated- 1 , 0 ); i < rates_total; i++) { double vol;
i bought an EA from MQL5 platform. when my computer updated then EA not working waste one activation. is there is any solution for this
Could anyone make a EA that is one of my own signal ways (merging RSI with Moving average in MT5)
I have a custom indicator that I want to delete it when some actions happen and add new one with different inputs. Also if its possible just change the input of my indicator. // for example delete the first one and add another one or just modify the first one iCustom ( "GBPUSD" , PERIOD_M1 , "ticks"
Hello, I would like help with the optimization of an EA on MT5 I have a very complex EA that requires very precise optimization. It is a multipare EA, which works on the 28 pairs at the same time. Backtest work perfectly, using "all Tiks", and even the customme pairs I imported from Tick Data Suite
I've been coding EAs for a few months now, and using different indicators to detect trends. Eg multiple moving averages combined with ADX, or RSI combined with Bollinger bands. In the forums, I often see people discussing using "MTFs" (multiple time frames) for their trading systems and EAs. How
Hello, I have created an moving average in an EA. how can i add: input int shift=-15; positive or negative ? input int shif=- 15 ; int handle1; int OnInit () { handle1= iMA ( Symbol (), PERIOD_CURRENT , 10 , 0 , MODE_EMA , PRICE_CLOSE ); return ( 0 ); } void OnTick () { //--- double
Hello, what do you think is the better way to manage your stop losses when you trade real stocks and NOT CFDs. 1. Send stop loss directly within your market order so that it lies at the broker/exchange side 2. Or manage stop loss within your code (virtual stop loss) meaning when the price reaches
Good afternoon, what could be the reason for the "test on EURUSD,H1 strategy tester report not found" error all of a sudden? But nothing before that seems to be the cause of trouble. I'm testing on my terminal - it's clear (no error at all). I've rolled back to the previous valid version, which has
Hello trades and experts Could anyone make a EA that is one of my own signal ways (merging RSI with Moving average in MT5)? best for all
Can anyone help with this request pls. Is there any MQL5 script or EA which can be used to restrict no of manual open positions for an account at a given time. For eg. 4 open positions at a time. Thanks in advance for your help
To be clearer, If I gave a developer the expert advisor file can he/she remaster it for a newer version of MT? Just have some thoughts for the future. Thanks
In the watch panel, testFunction() could not be evaluated. While testVariable returns properly the value from testFunction() (1234) //+------------------------------------------------------------------+ //| test_expression_not_evaluated.mq5 | //|
hi how can i make a demo version of my robot? I don't want the person I send to see the codes on my robot. I just want it to use it for 1 day. how can i set them
Hi friend, I am new to Mt5 coding. I need help to add a functionalityto this EA. when signal is generated it opens new position at the next tick price. // I do not want this It should open position only at the opening on next candle. Here is the code is have #include <Trade\Trade.mqh>#include...
Can someone help me please? I have this code that will open a buy trade when this condition is met but the problem is, as long as the ema 10, 23, 32 and cross up it wont stop opening positions until they cross down. How can I stop this and only have the ea open one position when the condition is met
Hi,I have this orderclose function working in MQ4 but as the tester results doesnt show any closed position must be a translation mistake, if someone can check this issue I thank you in advance. void OrdersCloseLong(){ for(int i=0;i<OrdersTotal();i++){ if(PositionSelectByTicket(i)){...
[Deleted]
NOTE: REPOSTED, as earlier one Deleted by mistake (and dont know how to undo that) Dear Forum Members I have tough time to locate why my Class Object created gives different values then Custom Indicator values, even though I have used the same calculation code in both of them. I have attached
Hi all, Could I please get some advise on the following (very new to all this - so just a simple EA based on a 20SMA) //+------------------------------------------------------------------+ //| Inside_bar(new).mq5 | //|
Hello is there anyone here know how set TP when in martingale Forex Fl*x ?? Let say i have 2 loss trade before and they open bigger lot, how to set and make sure the biggest lot close when already covers the last 2 losstrades? Theres too many perimeter on <Deleted> input and so little information
Hi How can i know the sum of all deposit of account ? for example if was many deposit and many trades, how can i know the sum of all the deposit ? at the application there is a line "deposit " but how can i know it on EA
How did we manage slippage during rollover hour in ECN? low liquidity If im not wrong In ECN we got what we got, no matter what slippage setup on our EA we input. Theres no Requote etc Especially during rollover hour, spread and spikes went mad because liquidity issue I found many time even we use
Is there any way to NOT show the chart that opens after backtesting
Looping through the closes of 3-50 candles to see if the close is below a bb-band, how can i go about coding to check if any one of the closes is above the yellow moving average and all canles are below the mid bb-band for ( int i= 3 : i< 50 ; i++) { if (close[ 1 ] < close[i]) { // true
Hi everyone ... I am using an EA that is based on martingale which open additional trades at fixed pipstep and when the overall trade positions in either direction hit their TP it will close that direction and restart from first level again. However, I noticed that there are times when it closes a
Hi all, I'm trying to install my expert advisors on a new VPS, but everytime when I click install I get the error failed download product. IE is version 11 9 out of 10 activations left Any advice? Thanks
I'm creating an EA which uses ATR & close price . I defined two array (one for ATR & one for close price). How can i copy the formula (price-atr) into one more array. void OnTick () { int count = 3 ; int atr; double atrarray[]; atr = iATR ( _Symbol , PERIOD_CURRENT , 8 );
Does anyone know of any site that one can download data history from
How to find two candlesticks from two different timeframes with same high and open (upper wick)
(16 1 2)
I am trying to search through timeframes from M20 to M4 for two bearish candlesticks from two different time frames that have the same high and open. The two candles may not be from consecutive timeframes. The images below give a better idea of what I am trying to achieve. For some strange reason
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.