Expert Advisors and Automated Trading - page 231

2021.05.09 19:27:29.198 Experts optimization frame expert c7v3 (NDX,H4) processing started 2021.05.09 19:27:29.230 Tester cache file 'tester\cache\c7v3.all_symbols.H4.20190509.20210509.42.B08B95713B257D0449574AFA30811961.opt' deleted 2021.05.09 19:27:29.399 Tester Experts\c7v3\c7v3.ex5 on NDX,H4
  VPS  (3)
Hi Can anybody help me to get VPS for free
Please see the picture. Debugger is at line 1233 and values for cats and f are an empty string. Actually impossible. And of course the if-statement returns false. When I change the code like that, that I set var f manually/explicitly, its already set before debugger reaches the line. But cats is
Hi, I'm currently in the process of developing my first EA. So far so good I would say. However, I'm not a 100% sure about the difference of the following methods of the CExpertSignal class. - [Long|Short]Condition - CheckOpen[Long|Short] According to the documentation both methods are used to "c
What would be the best way to go about calculating your lot size based on a percentage of your account? Lets say for example the balance is $1000 and you want to put 10% of the account into an order. 10% of 1000 = 100, so we would need to convert that to a lot size, or the nearest lot size. Any
Hello, Do you know if it’s possible to run an external script (i.e. outside MT) which sends a signal to the EA so that the EA executes its action accordingly ? If yes, how ? Thank you
Hi all, In advance - thanks for your help and suggestions. If I run this (just a test - no exception handling or practical application as yet) on the ONIT() function: MqlTradeRequest request; MqlTradeResult result; request.symbol = Symbol (); request.volume = 0.1 ;
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