MQL4 and MetaTrader 4 - page 122

Hi Friends, Metatrader is absolutely the best trading platform in the world this is now known, I wonder how it is possible that a community so full of programmers has not yet extended this prestigious platform to LINUX and in particular to the world of ARM microprocessors such as RASPBERRY. Does it
Hi  I would like to see the spreads from different several brokers on the same chart or same list. It can be a really simple interface like a excel sheet. Is it possible to pull the ask and bid prices from mt4 to a basic software live. https://www.myfxbook.com/forex-broker-spreads  I want something...
Hello, I'm trying to get the opening time of a bar in timestamp/epoch. Time[0] The only solution I'm finding on MQL4 site is not using the property #strict, which I'm not liking as a solution as it'll convert all datetime to timestamps. Is there a way to print the time of a bar in timestamp? Cheers
Hi all. I have an indicator where I'd like to be able to turn one set of lines on and off. I don't seem to be able to use variables to do this. Is there something I'm missing, or some other way to do this? input string dispRF1 = "DRAW_LINE" ; // DRAW_NONE or DRAW_LINE ... SetIndexBuffer ( 1
Hi I tried to modify all open orders using this code, double initialPrice ; //open price of the first open order double stepInPoint ; //distance pips from initial price (value in price). let's say the distance is 20 points double StopLossPrice; double TakeProfitPrice; double trailStopStep = 40 *
Hello everyone, I've built an EA and have been running it on a VPS for a week. In the meantime I made several tests with the tester of MT4 to see how my EA behaves with different pairs and also with the different time frames. However, I have noticed that the tests are very different. My EA made
Hello, Please can some tell the code for using a martingale system and the martingale should follow only one open trade at a time. The martingale will only trigger when the last closed trade is a loss so the next open trade is like multiplied by 2 lot, so instead of checking for open positions it
I have an EA that is supposed to add a stop loss to breakeven (without previously having a stop-loss at all) once price gets to a certain distance between the take-profit and the entry. It comments where its supposed to change the stop-loss, but just changes it for one pair everyday. Here's my code
Hey there, there is a timestamp in mql4?. Thanks
OrderSend ( _Symbol , OP_BUY, 0.01 ,Ask,0,Ask- _Point *MarketInfo( _Symbol ,MODE_STOPLEVEL), 0 ); I have checked the min stop lvl is 0.0003. It works fine if I use a value >= 0.0005. What's wrong? Edit: It works if first I change sl to 0.0007 then compile. It works fine if it be decremented till and
FIRST TIME I LOGIN, I CLICK "SAVE PASSWORD". But now i forget it. How to solve? Thanks
#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