MQL4 and MetaTrader 4 - page 103

#property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 Magenta #property indicator_style1 STYLE_DOT #define INDICATOR_VERSION "v2.0" #define VTS_OBJECT_PREFIX "vtsbh2483-" //---- input parameters extern bool UseATRMode =
Hi. Is it possible to customize or replace crosshair tool in MT4? I would like to create my own with custom data and replace existing tool
hello all, Please Help me to solve this issue , I have attched screenshot for what I received from terimnal my code GetSymbolInRange[rw], GetSymbolOpenPrice[rw] - these array store symbol name and current Price GetSymbolOpenPrice[rw] = iClose(GetSymbolInRange[rw],PERIOD_M1,0); Print("Set Open
Why does mt4 put up the occasional Saturday Candle? Its not every Saturday either. How can this be eliminated? I have downloaded the latest historical data as well. Having that extra candle in there is got to be messing with indicators. Thoughts
I purchased an indicator and run MT4 on a VPS. I got the system message that the indicator has updated, but I am not being offered the updated version in my VPS instance of MT4. I have swicthed off and back on again, I have refreshed, but to no avail. I can access the updated indicator on my local
Hello,experts Lets say I have too many integer in array. int a[]; and ArraySize of A has more than 50+; If I want to put these numbers to .csv and sort by column. So how to input parameter in FileWrite() easily? FileWrite(filehandle,a[0],a[1],a[2],a[3],a[4],............,a[50]); by using any
I am trying to use a custom indicator to an EA as a resource, i have already tried the documentation way I add at the beggining #resource "\\Indicators\\SqLinReg.ex4" and Oninit {//--- get custom indicator value double value=iCustom(_Symbol,_Period,"::Indicators\\SqLinReg.ex4",0,0);
german email providers have strengthened the safety regulations this is email of the provider: You can only use a TLS protocol if your e-mail program has the current TLS versions 1.2 or 1.3. TLS versions 1.0 and 1.1 are no longer supported by us for security reasons does anyone know what tls version
Hi sirs, Updating my Old EA, that return me this message (4066 requested history data in update state ...... F07A.TRAFFICTime F04-FBug->Error# : 4066 ), the fonction was : //<F07A.TIMERCHECK() void F07A_TimerCheck() { if (Fbug== 1 ) { ResetLastError ();} RefreshRates(); for (
I have written an indicator that copies trend and horizontal lines from one chart to another. It works ok. But, when I compile the code I get 8 warnings. I can't figure out how to eliminate the warnings. Any suggestions would be appreciated. Regards ----Tom
Quick question... The MQL4 reference says that Bars outputs the " Number of bars in the current chart." Does this mean all the bars that are currently visible on my chart window right now? Or all the bars in the history of the chart, visible or not? It seems like the former, but I wanted to see who
Good afternnon everybody. I need your kind help . Sometimes I get this error running the EA : sometimes but not always , that's strange. It runs normally and open/close the trading but sometimes it seems it is getting confused and close only a part of the order at target and the others keep on
  vps  (4)
Hi, I have this error when setting up my vps. Seek your assistance pls. thx
how to make an indicator like the following below, into an array like Close[i]. double iBullsPower ( _Symbol , _Period , 1 , PRICE_CLOSE ,i);
Morning all I have a FileWrite() function which works perfectly, however, I am wanting to add attentional information in new columns appended to the end of an existing spreadsheet , created by the FileWrite() function. Is there a way in which to achieve this? All the best, Pip Pip! if ( /*EA Opens
I am trying to implement a strategy on my Demo Bybit account for a crypto pair. I am not able to back test it as it gets stuck after 1st order. I have attached a screenshot also of the settings that I use while running the Strategy tester. Log File
[Deleted]
Is the part similar trading platforms ? You can log in to our MT4 trading software and user center using the login and investment password. In order to ensure the security of your account, customers need to log in to the user center to operate. Kind ergards
Hello, Market Order #1 was 1 2017.08.31 19:25 sell 1 0.10 1.19005 at 2022.09.11 13:01:20.080 Trys to open another sale order with price 1.19079000. Although these orders do not have the same parameter it rejects it. Strange. Please advise 2022.09.11 13:01:20.080 2017.09.01 02:55:00 Aroon-Test
Hi, Some trading platforms such as Ninjatrader and Tradestation have a feature called "trading hours". What it does is it removes undesired periods of a chart and only shows the desired trading hours. In other words, the platform ignores market data outside of the desired trading session, creating
Is there a utility or indicator that will allow me to easily copy the Open/Close/High/Low of a candle
Hi ! I started to create some Experts using EABUILDER and with time I'm making some modifications as I understand a little more of the mql4 language. In some of my Experts, I use the GRID option, always using the distance based on the closing of the candles, also respecting a minimum distance
how to extract the Volume for bull and bear ticks from current Volume indicator in MQL4. I want Volume[0] to be BullVol[0] and Bear Vol[0]
Hi, I need some help please... I would like my EA to close all open orders when the first open order TP is hit - for magic number, symbol... The code below is closing all trades when any SL / TP hit. bool checked ; if (ATR_TP1_CloseTrades) { for ( int i = OrdersTotal() - 1 ; i >= 0 ;
Max bars in History & MAx bars in Chart required to run EA's and minimise power usage on VPS? recommendations welcomed. thanks FORUM
Hi, How to get current month working day in MQL4? int CurrentWorkDay() { int WorkDay = 0; for (int i=Day(); i >= 1; i--) { if( TimeDayOfWeek(TimeToStr(TimeCurrent() - 60 * 60 * 24 * i,TIME_DATE)) >= 1 && TimeDayOfWeek(TimeToStr(TimeCurrent() - 60 * 60 * 24 * i,TIME_DATE)) <= 5 ) { WorkDay++;
Maybe you add profit/loss in pips? Below example.
[Deleted]
Many questions....... 0 answers.
For example, in a RSI indicator, we can use IndicatorSetDouble to set the levels to, e.g, 70 and 30, but how to retrieve the values from the code? There is no IndicatorGetDouble... Thanks
Hello dears. I have a problem when I using MT4. I'm not sure about this problem is solved in MT5 or not?!! however, what's problem! In MT4 platfrom,as a scalper, sometimes we have a trades that we need to keep it for long time. We have are open and close some trades in short time, But our long time
Hi guys, I know I can call the name of the Broker using AccountCompany(). But now I want to call the name of the host computer. Any command please