MQL4 and MetaTrader 4 - page 244

Hello, I want to install the MT4 Desktop platform. However, MT5 gets installed. How can I accomplish this? I already tried uninstalling MT5 and reinstalling MT4
Hey everyone, noob question lol been stuck for 5 days now: (in mql4) if i wanted to code price closing at a level say on a 20 period SMA, within plus or minus 5 points, how would i express that
  MT4 Mobile  (1)
Hello out there! does anyone know how to use stock indicators to create a mobile verison of the cog? setting i use are Bars Back 240 M =4 i = 0 ktsd =1 sname=500 any help or direction would be awesome
This code is in an EA #property strict //+------------------------------------------------------------------+ //| Expert initialization function                                   | //+------------------------------------------------------------------+ int OnInit()   {    bool check=ChartSetInteger(0...
Good day guys, I am trying to code an EA that opens a new trade as soon as the trailing stop for the previous entry is at breakeven. I want to do this at least 5 times when the trailing stop is above the previous entry price. //2nd Sell Order OrderSelect (SellTicket,SELECT_BY_TICKET); if (StopLoss <
Hello there , I have created my EA and doing the back testing. but the last trade in the testing always have close at stop and unwanted loss. I don't understand why this is happens. can any one make me understand what is close at stop? can I get a proper solution of this thing
Hi, All I have found this problem in my MT4 with the indicator that I'm using. (Before 3-4 months, No this problem). How to solve this problem
Trying to run strategy tester from Command Promt. While I can get the terminal to start, the Strategy Tester does not load or start. I have tried everything related in the forum to no avail. Please Help!!! "C:\Program Files (x86)\FX MT4 Terminal\terminal.exe"
Hi everyone I'm creating a panel for an indicator, the problem is the methods I can use. Until now when I make indi i use: - OnInit to initialize; - OnCalculate to catch the tick movement; - OnChartEvent to catch the mouse interactions; - OnDeinit to destroy all at the end; For Ea OnTick instead
I want to get pending command information from an expert that is .ex4 before it is executed in market and i want to use it in another expert. (realtime or lower than 50ms) thankyou
Hello, I have rewritten the super_smoother_3 indicator which is a MT5 indicator in MQL4. But now the buffer is shifted to the left and the indicator also does not update when the trend is progressing. //+------------------------------------------------------------------+ //|
[Deleted]
Hi All, I've tried to run a simple expert: int init() { return (0); } int deinit() { return (0); } int init() { Print("start"); return (0); } I tested it with "every tick" and "open prices", for various time ranges - 1year, 10years, 3years etc. I set Period=15M. Now when I'm looking at the journal,...
Hi all, Im encountering problems with the strategy tester in mt4 with my own EA. I know the EA works because it works fine on the demo account feature. However, when I use it on the ST, the ST stops at the first tick. It loads the trades but then stops (ive checked using visual mode). Any ideas? No
Hello All! I am trying to add an indicator from my laptop to the mql5/mql4 web terminal. What steps show I take so that I can use my indicators on the mql4 web terminal. Thank you, Marshon
Hi, I can not test the advisor for a year, when I enter the date 2019.01.01 - 2021.01.01, then for some reason the visualization has been going on since December 9, 2020. The metatrader is naked, didn’t set up anything, just downloaded MT4, downloaded the Expert Advisor, and went to test
Hi, I'd like to use a RPi or something similar (cheap and low power) to run Metatrader 4 trading software. The device and software will be running 24/7 - 365, hence why I'm looking for something low power. So far so good.....However, Metatrader 4 apparently only runs on x86 systems so a work around
Hello I have make mt4 panel with button.. I use control (button).. 1st round I click button for make 3 layer grid pending order (Buy Limit)..with gap 150 point each..Its works fine.. Then i click delete button for delete 3 layer pending order (Buy Limit) Then I want click button again for make 3
  notification  (1)
it's a couple of week that i can't receive notifitations on mt4 app on iphone
Good Day All Please assist on the following, how do i write a code that will alert that " The Ask > 1.25654 and it has spent 30minutes trading at the level or not ". I want to receive an alert if the market (ASK / BID) is above a certain price level and has spent so much time at the level. Thank you
[Deleted]
  Ordersend errors  (3)
Good day Actually I'm working on EA based on several Indicators signal , I'm facing the following issues with this project When I try to add multiple currency string my input ENUM_TIMEFRAMES time_frame =PERIOD_H1 will start to indicate error Also ordersend implementation not working also please
Hi! I want to test EURNZD on H1 from 2018.01.01 to 2021.01.31. After I setup the EA and start, first transaction is with Time 2020.10.26. How should I test my EA for year 2018, 2019, 2020
Is there any way to delete the Account History [ie the complete Trade History] in a Demo account. I can always open a new account, but I'm hoping there is a more efficient method, for example, deleting one file.
Hi write a simple indicator with a buffer inside: #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 clrBlue #property indicator_type1 DRAW_ARROW #property indicator_style1 STYLE_SOLID #property indicator_width1 3 double Morning[]; int newbars; int OnInit
Hey guys, i tried to make an EA out of an Indicator which show arrows on the chart or work with it. I want to buy ONCE at arrow up and sell when arrow down appears and sell at the same time again just ONCE. My EA buys like 50 times when an arrow appears an sells like a few seconds after it... my
Client Terminal Build and Version (32 or 64 bit) 32 build 701 Problem description CopyRates simple 2nd variation (by datetime,count) does not work Sequence of action Just a simple CopyRates string sym="GBPUSD"; datetime checkt=D'2014.09.22 04:00:00'; MqlRates rates[2]; int cpy=CopyRates(sym...
Hi guys, When I run my EA I have this error (OrderModify Error 1). Also there are some trades that get closed before they could be modified. So that you have an idea, TP and ST are at 30 pips (5 decimals broker) wich means 3 dolars of profit or loss. (0.01 Lots). When the price just reach 2.90,...
  WHY?  (3)
Why do the values on indicators differ between the chart and the Journal - or in other words why is there a difference between the values displayed in the indicator window and/or in the Data Window different than that reported in the Journal on which my transactions are based
Hi This should be simple, my code just draws an X under the OpenPrice of the last 100 candles. My code does this but it keeps clearing the previous X's I would like it to keep them on screen, as in I would like all 100 X's to stay on the screen. Thanks int x; string name = "text_object" ; void
for ( int x= 1 ;x< 50 ;x++) // GET CLOSES THAT ARE LOWER THAN PREVIOUS CANDLE'S CLOSE if ( iClose ( _Symbol , 0 ,x)< iClose ( _Symbol , 0 ,x+ 1 )) ClosesBelowPreviousArray[x]=x; // NOW WE ATTEMPT TO REMOVE ZEROS: for ( int x= 1 ;x< 50 ;x++) if (ClosesBelowPreviousArray[x]> 0
*****Problem Solved : Answer in #7 comment).***** --------------------------------------------------------------------------- Hey. I want to use iCustom to take ZigZag data for my variables. But after applying it to metatrader, it hangs up (not responding mode) and I have to close it. Mentioned part