MQL4 and MetaTrader 4 - page 251

Hi, I am not able to get the buffer value from icustom ..can someone help me to check the codes: //2 Moving Average Signal indicator inputs input int ExtPeriodFastMA =7; // Fast MA Period input int ExtPeriodSlowMA =20; // Slow MA Period input int ExtModeFastMA =1; input int ExtModeSlowMA
Hello, I'm trying to get value from iCustom (export data to csv file) and I'm getting "2147483647" all the time. Here is my code: iCustom ( NULL , 0 , "StrengthMeter_wSuffix-mod2" , "EUR,USD,GBP,JPY,CHF,CAD,AUD,NZD" , "1,1,1,1,1,1,1,1" ,ture, "" , ""
Hello There, I have read documentation of mql4. I cant find the Bears indicator data there. Is there any other way to access the indicator data into my code? . Please consider the attached file for the further process. Thanks
Hi, I would like to add an alarm on trade entry to my EA, can someone assist with the code. Thanks
Hi, I want to apply the logic to an EA with the indicator attached to check for the previous 1,2 o 3 candles and where the maximum was in that candle, top or bottom and what type of candle, providing the maximum an X trigger value. Could I use iCustoms for it? It would work like an OrderFlow
Hi guys wonder if you can help, tried to code an EA on MA crossover. I was copying from the HLHB version, at the end when I compile I get a warning on the last line where I used '}' to close, but the warning says expressions are not allowed on a global scope, yet the version I am copying they used
Hello everyone this is my first post. I just want to know if I could get the index of volume bar in mlq4 I also want to know how to get the candlestick above this volume bar. How do I get that? For example, let's say current volume bar would be index 0 Thank you
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