Hi.. I am creating a dashboard for my totals. I have 99% of it working. Just having issues with the OrdersTotal for the daily and weekly figures. void DrawCurrentTrades() {//+------------------------------------------------------------------+ int buyCount, sellCount = 0; double buyProfit
Would this indicator work if it was made by an expert? May I have your comments and suggestions? The OrderBook indicator displays open trades and pending orders of retail traders as a two-sided histogram. It is used for the comprehensive analysis of market sentiment for a particular financial
I'm a C++ programmer, I've downloaded that reference of MQL5 but wow... 4000 pages of PDF... that's not tutorial book...
I've read to page 90 but then I went to look for other alternatives.
At least MQL4 has friendly guide and tutorial on how to program... http://book.mql4.com/
Its not a bad...
I apologize, I don't really understand the process, but some point soon here after a little more testing if I can't figure things out I will need to pursue having someone look at my ea and repair it. How do I go about having this done? Thanks in advance :)
I'm a bit confused about how frames work. I know that you can set a custom optimization criteria as follows. double OnTester () { return MyCustomCriteria(); } The genetic algorithm will search to maximize the value of this criteria. I'm not sure if frames are used to do the same thing. I mean, if
Hello Everyone, So i am using the metaquotes VPS and i have multiple EAs running on multiple charts at the same time. My problem is whenever i want to add an EA with a new chart the server syncs all the information from my mt4 terminal which stops the currently working EAs and deletes all the...
Hi, I have just rented a VPS and migrated the EA. how do I know if I did everything correctly? I dont see any trades running.
What is the difference between a hedging and a netting account? And will an EA be set up to work on one of them better than the other? Or can it function properly on both
There are glitches in the Controls Library that make it hard to use, for instance: MetaTrader Trading Platform Screenshots AUDCHF, M1, 2021.10.05 Raw Trading Ltd, MetaTrader 5, Real Here it seems impossible to fill the Edit control up to the available area. As ListView is made of Edit controls the
hi guys i hope all are ok . i m unable to code lot size based of stop loss for deriv broker (Synthetic indexes). my code that I have already written down for Forex and Indices it don't work for deriv can any one try to explain where m doing mistake? double MoneyManagement( string pSymbol, double
Using the following statement, the data of PERIOD_M1 cannot be received, but other cycles such as PERIOD_M5 and PERIOD_M15 are normal. Does anyone know the reason,Thank you for your help! MqlRates rates[]; int copied= CopyRates ( "XAUUSD" , PERIOD_M1 , D'2021.06.10 14:00:00' , D'2021.06.10 19:00:00'
Hi all, I am working on my first EA trading system. I've developed the EA based on based on a paper on forex trading systems - so far I have no yet implemented SL/TP parameters but I have demonstrated profitability across multiple testing periods (typically I will 'calibrate' i.e optimize my input
Hello everyone, I am having an error in writing the code attached below. Here is also a screenshot of the screen. How could I correct the writing? Thank you all
There's any way (workarounds and crazy ideas are wellcome) to get the strategy tester end date in the optimization start method (OnInitStart)?
I have been copy trading on my personal desktop for a week and noticed it doesn't fully copy all trades maybe because of the connection. So I purchased VPS server over the weekend when the market was closed and suddenly it does not start copying trades? How do I fix this
Hi there community, I'm trying to set different parameters for some symbols by filtering them into the loop and I'd like to get some help. These are the lines : //+--- Parameters ---------------------------------------------------! int StartHour = 21 ; bool PartialClose =
I want to count how many times deal current bar If I Buy&Sell 2 times at current bar, it count "4". If I close my position at current bar, it count"1"
Hi All I have a problem with deleting a pending order/s after time. I don't want to delete all orders I just want to delete pending order/s after time. If you know the problem please help. for ( int Loop= OrdersTotal ()- 1 ;Loop>= 0 ;Loop--) { MqlRates Candle[]; ArraySetAsSeries (Candle, true
Hi there community, I'd like to take a step forward into my coding knowledge with your well appreciated help. The main idea besides on the possibility of taking multipair tests through the 'SymbolList' input , I've been checking some samples but still need some help to fit this into my own way of
If an EA performs perfectly sometimes and at other times there are errors in the trade that it creates, does that suggest that the EA is fine, but there are other things causing those other errors? If it is indeed other things causing those errors, what could it be? Some of the errors I have gotten
Greetings fine minds. I'm looking for a bot that trades in the direction of the closing price of the first one minute candle of the London session open and the New York Session open. Basically, if the first candle closes as a Bear, the bot should Sell, if it closes as a Bull, the bot should Buy
Can someone please tell me what this code reads from the hst file? datapath= TerminalInfoString ( 3 )+ "\\history\\" +account_server+ "\\" + Symbol ()+ "240" + ".hst" ; ReadFileHst(datapath); static datetime previousBar; if (previousBar!=Time[ 0 ]) {
Does anyone know what I have to do to link MQL5 to MT4 and get a VPS on a Mac? What tabs/steps do I need to take? And is there any number for tech support? Thanks, Colin
Hi everyone, Sorry if this is a stupid question and has maybe been answered and asked before but I am looking for a EA that manages my manual trades. For example if I make a market order from my phone I want the EA to then manage the order if it goes against my trade like 10 pips lets say it adds a
Hi, How can I find out how many indicators are actif and their names (shortname) ? I know with ChartIndicatorsTotal() you can get the visually dropped indicators; but I mean the indicators used by an EA with for instance the iCustom command and that are not visual. Thx, Danny
Hi, I have a good pc (description below) , there's something i could do to improve the backtest velocity ? My pc : CPU - Ryzen 5 2400 g (overclocked to 3.9 ghz) 8 cores, so 8 backtests at the same time. Ram - DDR4 16 gb 2666 mhz HD - SSD nothing special. Does putting an m.2 ssd would increase
[Deleted]
I am having a problem properly coding OHLC to create signals for executing a trade on Candle[0] for my Harami EA. It compiles with no error but not executing trades . I have attached the EA below
Hello , When I test my EA on the strategy tester for 1 month it only stops after 1 day. I added a condition for it not to work on weekends by telling me that it would solve the problem but no. Do you know where the problem comes from and how can I fix it
Dear Members, I am trying to write an Expert Advisor with MQL5 that initiates buy limits based on certain EMA values. Here is the code that I have written in OnTick() function. MqlRates priceData[]; //create a price array //sort the array from the current candle downwards...
At Friday closing my new EA had open Sell orders with Entry Price < T/P and now the price is even higher. I also have open Buy orders with Entry price > T/P and now the price is even lower. Sounds incorrect to me or am I missing something? What shall I do
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.