Expert Advisors and Automated Trading - page 150

Hi guys, Here is my code. Please help me. double ilkuclu[],ikinciuclu[]; double yuzdefark[]; double fiyatlar[]; ArraySetAsSeries (fiyatlar, true ); CopyClose ( NULL , PERIOD_M5 , 0 , 11 ,fiyatlar); ArraySetAsSeries(ilkuclu,true); ArraySetAsSeries(ikinciuclu,true); ArraySetAsSeries(yuzdefark,true);
i have 2 variable first one is intiger and fix and secondor is first one * a double value exmple input int x=60; double z=1.01 ,1.02,1.03........3.00 y=x^z i want x & y as input . but also i want limit y becuse it shode be x*z enum y { y01=(x*1.o1),y=(x*1.02) }; this is not work.... do you have any
  Trade Copier  (2)
are there any tool available to copy trade from one broker to another broker (not on same server)
Hello all. Any help appreciated... I have a multi-symbol, chart independent EA. It has many inputs. There's two relevant to this question. Let's call them T = timeframe or bar seconds, and N = "action intervals per bar". I want to break each bar up into N intervals or blocks of time, and perform
good evening any programmer for a bot that is created from telegram and connects to the iq option account, to copy the entries from the main account? in the bot configuration contains Username wrench the values per entry, the losses allowed, the winnings allowed, etc. Everything automatically copies
Hi, I've coded all my indicators and everything is working only when im backtesting my strategy the ea opens more than one trade because the conditions remain valid Could someone help me out that it would open only trade per valid conditions? Here my code for opening trades
Hi, I am getting the following when trying to run a test. Everything was working previously. I thought that if it didn't have data then it automatically downloaded it? That is what it has done previously. The only thing I have done recently is delete a large .log file but I don't think that would
Can i only remove the broker's max lot size but keep all other settings like commission, swap etc
I wasn't able to find any documentation on how to override the CObject virtual methods Load, Save, and Compare to make use of(CList and CArrayObj ) load, save, and sort features - so I managed to hack my way through it. I'm posting it here in case anyone else is interested in using the
Hi there, Hope you are doing well. I'm a MQL4 coder and before migrating from MQL4 to MQL5, I wanted to know if MQL5 could satisfy my needs. There are 2 questions: 1.I know MT5 strategy tester could do backtest simultaneously on different pairs, Is there any maximum amount of pairs for this? I want
It works ok when EA is attached to live chart. But, in Strategy Tester always returns false. How to check if market is open during backtest? Used simple code below to test: //+------------------------------------------------------------------+ //| Expert tick function
How can i install older versions of a EA
If I turn my computer off will EA still trade, or will it stop? Does the EA get stored in some server? Or is it just on my computer?
Hi,I learned a set of trading methods from a creator's video as below and made it ea by Algowizard . But there are many problems in the mt5 backtesting, which is different from the test results in the video. For example, the test results has only short transactions and the test report shows that it
hi, is there any way how to read data fast in milliseconds? When I changed txt file, this take random 1-3 second, maybe more time. I have tried OnTimer with millisecond but not working. Is there any solution, how to read fast one data from one to another MT. I need read only one number
I’ve made an EA which plots a small chart on the top left of the current chart. Currently I’m using the CGraphic library to do this, and it needs x and y values to plot. I’d want to have an input to the EA for the period, which would then change how far back the current chart goes, but I don’t know
[Deleted]
This EA trades a Candlestick reversal setup at open of Bar[0] BUY - Candle[1] is bullish - Candle[2] is bullish - Candle[3] is bearish I had created a separate trailing stop EA and it works fine. The problem is that when i looped this trail stop EA on the Reversal setup EA, the trail is
Hi everyone!!! What can cause a backtest to be very slow on One EA and faster on The Other??? I test the two different EA with the same conditions, 2 months period and visual mode OFF . One EA took 5 Minutes to complete the test but the other took 3 hours I would like to know what causes a very slow
Hello, sorry if the question has already been asked in a different way because I did not find it. 1/I am starting to get interested in automatic trading but I am wondering what seems to be the best or rather the difference. There are all the indicators that we can develop from macd, moving average
  onchart button  (1)
hey guys, i already have an EA running already on a custom indicator but i want to add a button that stop the ea from taking short trades or vice versa until i press it again
I bought an expert advisor here on the market. However if I click install on terminal, the ea does not install on MT4.Mt4 does open but I dont see the expert advisor anywhere, not down at purchased in Market. Refresh doesn't help either. I did login on MT4 to mql5.
Good evening, I have a subscriber to a signal. When the person I follow opens a position, it opens to me too but with lower volume. For example: the signal always opens at 0.07, in my account it opens at 0.01 How can I open exactly equal to the signal
Hey All, I was hoping someone could point me in the right direction. I have an EA making trades days after I have removed it from the chart, closed the chart and disabled autotrading. I restarted my terminal, logged out and back in etc. I am out of ideas. I contacted the author and was told it is my
I was reading this article ( https://www.mql5.com/en/articles/3279 ) and I found it interesting, what I'm curious about is: How can one develop such a tool? I've read the developer documentation, but don't find anything related to running the optimization process programatically. I would like to
Hi, Don't know if I'm trying to push the boundaries of MQL5 here, but is there anyway to have an inline if within iCustom to determine the correct type for the parameter in MQL5? return iCustom ( Symbol (), Period (), "Testing\\" +customInputs[ 1 ],CheckIfNumeric(paramValues[ 0 ])? StringToInteger
Hello Everyone, I've checked a tutorial to perform a bollinger band expert advisor on youtube ( Coding a Simple Bollinger Band Expert Advisor in MQL4 - Start to Finish - YouTube ). This tutorial is for MQL4, so I tried to translate it to MQL5 but now I have the 'undeclared identifier" on a ' if '
Hello Is there a way i can create my own class and reference it through an array ? The class is of non-default data types. (int, float, double, etc.) Why i ask. :-) class DataRateStructure { public : double DataRateData_Bid; double DataRateData_Ask; datetime
What could be better, faster, latency, speed overral? Running 3 EAs on 1 mt5 or running 3 instances of mt5 each with 1 EA Don't mind if sam account, just pure system requirements question
Hi, I am facing one issue in this example: https://www.mql5.com/en/articles/618#example I am a subscriber 2 in this example and I want to avoid this step: Subscriber2 : 0,1166 * (50 / 100) = 0,0583 (5.83%) But I cant. Also I cant increase my leverage. It was just an example. In fact I have max
Hello! I'm writing a function that will compare the open prices of all open positions. In case it is a buy, it will determine and return the open price with highest value. In case it is a sell, it will determine and return the open price with the lowest value. The purpose is to make sure all