General - page 487

Hi, I want to declare static field inside a class and access it across many instances. ( like java ) . but i see there are some practical limitaions! that I couldn't figure out!!! I know how it can be used in function but i want to use it as static field. can you tell me how to do so. thanks in
Hi, i try a refresh for all my open charts, i.e. have 4 EUSUSD charts open: H4, H1, M30, M15. But after running the script void OnStart () { long id= ChartNext ( 0 ); while (id>= 0 ) { if (! ChartSetSymbolPeriod (id, NULL , 0 )) Print ( __FUNCTION__ +" ChartSetSymbolPeriod
Question, I removed EA's from my charts for some reason they are still executing trades? Any advice on how properly remove them and reinstall others thanks
Hello, I have 22-23 charts with an indicator in a subwindow and attached EA. The EA draws a "Trendline by Angle" on the indicator. This is done every 5min. The chart on the foreground works perfectly. But after the first 5min, on the background charts the line is not in place and shows false values
when you Undocked a chart! Undocked chart works with no issue, but terminal window and all docked chart significantly slows down! If undock any docked charts, it start work normal. If all charts are Undocked -- all works normal as when all are Docked . Anyone with same problems? or solution
Hello everyone, I expose my problem here, so I opened an account with the broker avatrade scale 1: 400 and I deposited 100 euro. I installed an EA robot that does not use the stop loss , I saw that it opened 4 positions and the free margin now is -33 euros, even if the trades were not closed. How is
extern int Step = 15; extern double ProfitClose = 1.0, lot = 0.01; extern int slippage = 3, //The maximum permissible deviation of the price for market orders (orders to buy or sell). magic = 0; //The magic...
Hi, I've developped a program that is ready to be published on the market but it seems I cannot upload the entire folder made of libraries ,indicators, templates, images and so on. What is the best solution in this case? put the necessary files on GitHub, publish only the main program and ask people
Hello, calling ExtDialog.Minimize() function after an event. The button doesn't update for the maximization and i have to double click to maximize it back. Is there any way to update it in auto way? I have called ExtDialog.Minimize(); Attaching screenshot of the issue
I have subscribed the signal last week, and have my first pair trade completed, but it is not able to start the second trade, while I see the last trade has happened 1 hour ago, is there anything wrong? does anybody have the same problem
Hi. I am new to trading and I am trying out an expert advisor called <...> which is free of charge. I have it running and it is making trades which is great. But I am just running it on default values. In real world trading I am sure there are some things I need to take into account before starting
Can I make an AI with python that run in meta trader 5
Hello, can anyone tell me why this CopyTime() always shows a compiling error? void OnStart () { int bars= Bars ( _Symbol , PERIOD_CURRENT ); MqlDateTime times[]; ArraySetAsSeries (times, true ); CopyTime ( _Symbol , PERIOD_CURRENT , 0 ,bars,times); for ( int i= ArraySize (times);i>= 0
How can I set up 2 moving average trend lines on MACD that seem to be an important aspect of the indicator
I have noticed that PayPal Withdrawal is Not Available . Do you have the same problem
Hello, I would like to know if this is also happening to you guys... Suddenly after running any EA on backtesting, the Strategy Tester Visualization do not allow me to move the chart backwards so i can analyze my trades on any part of the period selected initially. For instance, when I click one a
  Why duplicate signals  (11   1 2)
I subscribed a signal few days back. Recently I migrated the MT4 in to VPS. The first 2 or 3 trades were okay. It copied the signal provider 's trades and only one position will be opened each time. Then the system started opening duplicate trades. Each time the provider opens a trade, my account
  Signal Disabled  (3)
I just opened my MT5 platform, and was told my subscription to my signal provider was disabled. I never cancelled it. I went to the website to restore my subscription and received this message: " Unfortunately, Vedanta Group signal is disabled and unavailable" How do I know if this is permanent or
I have a strategy for me. I need a programmer to create a trading system for me, but I do not know English to explain my strategy
Developing a serius strategy, it involves python and ichimoku. Talk to me if you want to exchange ideas
Dear Team and fellow members I downloaded MT5 few days ago but struggling to link my demo accounts.. If the broker name is not in the default list, how to add it? I've tried with the http address but seems not linked yet (as data are not running). Specifically with TradeStation seems doesn't work
[Deleted]
  Forex: A Path without a Heart?  (114   1 2 3 4 5 ... 11 12)
Remember, it is foolish to waste your life on a single path, especially if it has no heart. - How do you know, Don Juan, if that path has no heart? - Before you take this path, ask yourself if it has a heart. If the answer is no, then it does, and you must look for another path. - But how can I know
As stated here: https://www.mql5.com/en/articles/476 , I can send notifications to more devices than just one. I just wanted to know: what is the maximum number of devices that can be connected and notified? Thank you
After subscribing to MQL5.community I started to receive a lot of spam mails. Mainly with russian-like names and most of them are sent via Google Slides. Example: Ljusja Zvereva mentioned you in a comment in the following document Wіe es funktiоnіert! Wеrdеn Sіe rеісh mіt Fаcеbоok! I use this mail
Hello i want to ask how much time takes to get money in mastercard
I installed new MT5 i don't know how to download its history. It gives these error when I try to test my EA. Kindly help
  Spread in MT5  (1)
The stop loss got triggered despite the price not touching it. I make an exit on ask and bid prices only + they are market order, the only way this stop loss getting triggered without touching it is through the widening of spread but this is in 15m timeframe and the gap is too huge. This trade is an
Hi All, I just downloaded the meta trader 5 on windows and can only see forex option.  When i right click and select symbols. I am not able to see anything related to Crypto. Can you guide me the right steps. Thanks Sumit
Could someone please give me  instruction how to pull up cryptos .  I just downloaded mt5 but I am not sure how to find cryptos.  Thank you for your help  Regards Daniel
Hello! I need an Indicator for MetaTrader 5 which alerts me when the price is near the Moving Average (for example 5 pips from Moving Average). I have an example of this Indicator, but it is for MetaTrader4. Can someone know an Indicator like this or is it someone who can convert this? Thanks