Expert Advisors and Automated Trading - page 240

Hello, Can someone tell me, what I must to do after finished optymalization. Click modify strategy, preferences of strategy and save to file.SET or something? And where i must to put downloaded history in CSV
Hello Well Wisher, I have designed a custom Indicator Donchain channel which returns Donchain_High, Donchain_Low and Donchain_Medium. I wish to use iCustom function in an EA to fetch only Donchain_High. Any idea on how to do it. Thanks in advance
Hello. I'm developing an EA to trade forex and I came upon a problem I can't seem to fix. I'm trying to buy and sell based on the CLOSE price, which is the price that is readable upon looking at the candles, but everytime a moment in which a trade is about to take place, the bot simply ignores my
Hello, I have an EA and set of indicators it works with. I sell the indicators as a zipped up ex4 file package. So they are unprotected.  However, I have an EA I've had developed for the system and I want to protect it without manually adding account numbers.  I own a license for Forex Fury, and...
i cant run any example scripts in the documentation mt5.last_error() return this : initialize() failed (-6, 'Terminal: Authorization failed') here is the code : from datetime import datetime import matplotlib.pyplot as plt import pandas as pd from pandas.plotting import
[Deleted]
Dear Forum Members please help me to get rid of "Array Out of Range" code for IndicatorClass ... The code is picked up from a custom indicator on MQL5 Market. //+----------------------------------------------------------------------------------------------------------+ //| defines
My stop loss is 10 pips, and my EA runs perfecly while backtesting. But when I change it to the demo account to test it in real time, a small percentage of my operations set a wrong stop loss. Normally it sets tio 8 pips and it simply doesn't make any sense for me. Why it sets correctly backtesting
Hi, I have an issue with this signal: <Deleted> The lot size is not being upgraded. My equity has growd of 20% and the lot size is still the same from the start... What might be the problem? Is there a maximum configuration setted by the signal provider ? Any help will be much appreciated, Thank
Hello, I was wanting to create a signal service that would broadcast my trades to my Telegram Channel whenever I take a trade. This is what I was thinking how I would do it: Create an EA that would monitor my account. The EA would use an MQL/SQLite3 wrapper like this one
Dear ALL, I am developing an EA. I am still in learning stage. Now as mentioned in the code below, i am only opening one position at a specific time, if any of the condition is true. But for each specific position, i have different specific condition to close. Now i am not able to correlate
I'm trying to get the 100 more transacted stocks of the last week (stocks only; no options; no indexes; no any other). To do this, I created the function below, but I'm unable to run the MT5 with it because in some time the MT5 crashs with unknown runtime error. When I call SymbolsTotal(false) the
I'm currently using Cryptohopper to trade Crypto and it greatly simplifies configuration of Triggered Trailing Stop and Trailing Buy Automation. However the platform costs money for one and two it's a relatively new service so there are some bugs. Unfortunately for U.S. Clients it's only compatible
Would it be possible to run two EAs on the same account (different charts), with each of them only pulling from a designated percentage of my total equity? For example, if I have a $1,000 account balance, could I set $300 for one EA and $700 for the other? Or would I need to make an additional
With the market EA tests I made there are many EAs which strangely exit at bad points such as this Where I had a modest 9 point spread the trade closes 4-500 points with no explanation
Is there any way to define with operator overloading, that a class returns a kind of a default value? class CInt { public : int value ; public : void operator = (CInt &other) { value =other. value ; } public : void operator = ( int
I've been looking in the chart functions and I know that I can change the pixel size height and width, but I can't find the command to maximize the chart . Can somebody help me out ? Thx a lot
Hi everyone, I'm working in an EA where the SL and TP are a horizontal line, when the price is < the horizontal line price the order closes depending on if it is TP or SL. The problem is when the EA goes to open another position places the lines in diferents prices that were not indicated. (In a
Hi, as I see, there is no chance to debug the OnDeinit() when the chart is getting closed by the user by clicking the "X" at the right upper corner of the chart window. The debugger does simply never execute the function, while the live-code is executing it, of course. I face the issue, that I have
I want to know how to calculate corretly all costs to open and close a position to be able to handle better an dynamic volume entrances. I search about this topic here, but It was very hard to find something useful. The relevant tools that I found were: To get margin from symbols
Hello I would like to know which code function in MT5 or how can I limit the number of trades per day o per session. For example, have just 1 (or 2 or 3) trade per day en each pair. Or to have just 1 (or 2 or 3) trade per session on each pair (Asia, London, NY). Is that possible? Many thanks :)
I Known that is a lot of information about the thema in this forum... some useful, some no so useful... but after some hours trying, I had to post my problem and my analisys here to better understand the problem and help so many poor souls like me... I have a multicurrency EA that uses the iATR
I rented the mql5 VPS and it seems to be skipping some trades. Its not executing the signals my EA is giving it but the EA works fine on my PC
I booked Signals, but it´s not working. I can see that last trade was 8 hours ago, but I didn´t see it on my MT4
  iMAOnArray  (2)
Could you suggest function or technique similar to iMAOnArray in MQL5?   double  iMAOnArray(    double       array[],          // array with data    int          total,            // number of elements    int          ma_period,        // MA averaging period    int          ma_shift...
I have an EA what uses OnTimer and I want run tests more optimized. To do it, I though about use the OnTimer only in "Each Tick" modes and disable the timer to use OnTick to call OnTimer in OHLC and only open candle modes. I was unable to find a constant to show me this information. Is there any way
Hello guys My ea creates 2 dimensional structure dynamic array while it is running. How I can save this array into a file and read this file OnInit to recover array, if ea removed and added to terminal
I'm doing some testing with Metatrader 5 and trading view. The results, on Metatrader the same system make about double the trades.For what I understand when we perform a backtest on MT5, we download the data from Metaquotes, and of course is not the data of our broker, but for example EURUSD data...
Hello to Everyone, Is possible to share info between experts?, for example an array? Thanks in advanced! Regards
Hello I am a great beginner, I am not a developer. But I took up the challenge of creating an EA. For several days now, I have had a lot of difficulty making progress. IHello I am a great beginner, I am not a developer. But I took up the challenge of creating an EA. For several days now, I have had
[Deleted]
Dear Forum Members I am creating a Class for Candle Patterns, where in another Class CiMA is variable. NEED help 1) is this is correct way of passing parameters of CiMA to CCandlePattern ? 2) how to rectify 'CiMA' - pointer to this function type is not supported yet ... highlighted in the code