General - page 252

Hello guys here's my mql4 code, it is suppossed to restrict the number of trades in a day to three but now its not even opening a single trade what could be the problem #property copyright "Copyright 2022, MetaQuotes Software Corp." #property link " https://www.mql5.com " #property version
greeting fellow trader, I have made my US dollas index symbol in MT5 and I try to request historical bars from 1980 until present but the requested bars only calculated from 2020 to present. What I need to do to get more historical bars of custom symbol from MT5 server
How to save data Old OpenOrder or How to send data when the order has taken modified? this code i will try to see its modify order but it cannot use for ( int i= 0 ; i<total; i++) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES)) { if (i>=magicno) { //
Hello, i need to insert in my code the account number protection, because i want to use the EA on a specific account number, i've tried but it shows me ever an error on it
I'm slowly but surely switching from MT4 to MT5. I can't belive my eyes that there is no more DDE server checkbox in Options for live price quotes to be send to Excel
Hi, when I backtested my codes, some of the trades went through, but a bunch of them keeps returning the [Invalid Price] error in the Journal. If someone can help me troubleshoot or give me some direction to work towards, that would be great. This is my trade codes, void OnTick (){ double high =
Hello, I am not new to Forex (trading for 3 years) but I am new to using VPS. I got the MQL5 VPS and it works well and I generally understand how to use it, but I want to use a different computer to trade the same account that the VPS is hosting. Is this possible or do I need to purchase another
Hello, This is MQL4 function, I need to use this function in MQL5. Is there easy way to enable me to know the roles to do this? double LastClosedInfo( string S, int type = - 1 ) { for ( int i = OrdersHistoryTotal() - 1 ; i >= 0 ; i--) if ( OrderSelect (i, SELECT_BY_POS, MODE_HISTORY)) if
Hi Guys which do you think is better overally.....Grid Trading/Averaging Down or The Zone Recovery System of course knowing the risks they all carry
  EA on remote servers ?  (253   1 2 3 4 5 ... 25 26)
Hello, I want to set up an expert advisor running on mt4 on a remote dedicated server that I rent. Does anyone have experience with this- can give advice on pros-cons running programs on remote servers ? Thanks
  Indicator virus  (3)
Hi mql5, Can any sort of RAT or remote Access Trojan be inserted to any custom indicator Inserted into MT4? EX4 file or MQL4 SOURCE FILE... After adding a free indicator it feels like my mouse is being controlled
The EA.mq5 file is located in the "MQL5\Experts\My_ EA " folder ( "MQL5\Experts\My_ EA\ EA.mq5 " ). The EA.mq5 file includes 2 header files: // EA.mq5 #include "file1.mqh" #include "subfolder\file2.mqh" I can include file2 in file1 in the same way: // file1.mqh #include "subfolder\file2.mqh" But
  codebase  (1)
hello everyone I was asking how do you get downloaded codebase to display in mt5 even after copying and pasting the zip codebase file in MQL5 indicators folder
I love to share the Position Trading Style benefits. Position trading is a forex trading style where traders hold onto their positions for a longer period of time, typically from weeks to months. This style of trading is often favored by traders who have a long-term view of the market and are
Dear Members I have a situation where most recent bars are showing very high amplitude and hence distorting the bars display on the chart. Screenshot attached. This has happened from yesterday only when I tried to download M1 history data from TickStory.com site and could not complete the same, as
Hi, i try to draw on a chart. For the first one (Period M1) it works fine. For the second one (Period M5) it failed. I think i need to find the chartid for the second chart but how i can do it? Is there a function to get the chartid by periode? Also i wondering, if i make a smal loop it only print
[Deleted]
Hi! Could someone help me solve these errors, identifying the shortcomings and making the necessary corrections. These two errors usually occur when there is an error in the syntax of a code, usually caused by missing closing brackets or quotes. Only, no matter how carefully I go through my code
Good day All, I have the basic code written below to obtain the Highs, Lows, Closes etc in arrays below on a indicator. Ive done a lot of reading to try and find a way to also obtain the 2nd highest high & lowest low values. I was trying to use ArraySort (highs, WHOLE_ARRAY, 1, MODE_DESCEND); but
I have tried to test my ES systematically and compared with the results obtained in a demo account. Invariably, the results have been very different, yet have slowly detected the reasons and I learn about what I expected in fact the results of a onLine account. However, this has been a very time...
Hi, EA was installed and working fine Needed to Update EA I am logged into a VPS - Windows 2012 R2 Std - fully updated I am logged into the Community I have wiped the Metatrader 5 Installed and re-installed Updated to the latest Metatrader 5 updates **** still not working ***** Any advice her please
I am trying to complete my registration, but when I enter my mobile phone number, it says that it is already registered. What I can do
Hi, I did not find any Subject for this issue. When I start the visual mode of the strategy tester I can see the Toolbar for speed control for only one moment, then it disappears. I can go on handle this by Hotkeys but I want the toolbar back. Can anybody help
Hello everyone... I made a code for a zigzag that creates horizontal lines at the highs and lows... but I am receiving the following error message: ('for' - expressions are not allowed on a global scope ZigZag.mq5 292 1) How can I fix the problem? Thank you in advance! The complete code is as
Hi to everyone, as I said, I am a newbie so these question might be stupid to you :) is it possible to set meta auto trader so the program would: go long/short (TP 9pips, SL 4pips). next step that the program I want to make is: -if one step before was LONG, and it made TP, than now go LONG -.....
  Error 4802 ??  (12   1 2)
Has anyone recently encountered again this error: Err[4802] ERR_INDICATOR_CANNOT_CREATE: Indicator cannot be created and would be able to give a hint how to defeat it? I have built an indicator that runs on all symbols and timeframes since quite a while! But now when I want to load it in OnInit() in
Would it be possible to find a coder that would take a ex4 file and code it to MT5 without the actual mq4 file
Hello in new to this and I was checking if my broker have signals or allow signal on there platform
Do you know about online trading games
i bought a EA from the mql5 markets and the backtest was very good but since 2 weeks and just seeing losses in my account and am really upset and dont know what to do i tried to cotact to the EA owner but he is not responding anymore what ihave to do and is there any way to get the money back and
Is there a customer indicastor which would sound the alarm function when a added horizontal line it touched ?