MQL4 and MetaTrader 4 - page 238

Hello, I have an encrpyted .ex4 indicator that is for buy/sell signals . I'm wanting to be able to put that into an EA to open and close trades based on my rules for opening a trade. Is it at all possible to do if the .ex4 is encrypted? Thank you in advance for any help
Hi,     I have recently down loaded MT4 (Version 4.00 Build 1170 - 20 Dec 2018) The indicators on the platform from Accelerator to ZigZag will not load onto the chart? Also, all indicators I download as an .mq4 will not load onto the charts where as indicators ending in .ex4 will load?? All...
I have develop 5 Expert robot, and this one is good one, but need your help. I have develop expert base on bars patterns. following tutorial : https://www.tradingsetupsreview.com/10-price-action-bar-patterns-must-know/ Now some patterns return good result, but some return always in lose... Pattern
The documentation my MQL4 seems to not be very clear on this: how does my EA get data from my custom technical indicator? Is there an example? I have been making good progress writing my EA and writing my indicator, but I just completely hit a wall when it comes to the EA accessing the buy/sell
unfortunately I have not found yet the right way how to do this but at least i found a detour if anyone has a direct way to do that i would be grateful the way i found is by forcing the terminal to save the data through opening the folder that contains the log files #include <WinUser32.mqh>#import...
Hi... sort of a double post, sorry for that, but this is eaiser I think. I am getting the "Failed to register messages receiving service. .." on my android galaxy s4 I have an active google account I used the app some months ago and it worked since then I changed google accounts Have since...
Everything seems fine. But EA usually opens multiple trades in the same second... The way I built it is very linear and i can't seem to spot the logical mistake. It is basically a random martingale EA to test stuff out. Any indicator (that's why I called it random, haven't decided myself) can be put
Hi, I been using hotkeys to buy/sell X amount of lots with scripts and using a "Close All" script to close an entire position of multiple orders. But what if I want to close only 1 order at a time? I found this topic to close the oldest 5 orders but it seems incomplete and part of the codes used
void EnterOppositeTrade() { tradeNumber= 1 ; string cmt = ( string )tradeNumber+ " " ; //Print("Entering Opposite Trade",cmt); // Comment from CHART double SL= Bid+(StopLoss*pips); //double Stoploss= NormalizeDouble(Sl,Digits); double price =Bid; double Pt=
  100pips momentum  (21   1 2 3)
Hi all, Any body know about this indi? I need the mq4 version. Thanks, anton
I have an EA running on more than a dozen pairs. Every time I edit the code, I have to manually switch to each chart and manually reload the EA because the new code won't go into effect automatically. A real pain. That also applies to templates. Even if I reload a template after the code has been
//+------------------------------------------------------------------+ //| ema 50 200 ATR.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+
  Custom indicator help  (11   1 2)
I have been trying to add a custom BB_PRC-1 indicator in my Ea, it gets displayed but the values of the lines are empty. Indicator works fine, and displays correct values in data window. But when i try to get values with iCustom i get 0 or EMPTY values for both lines... can you help me? My code is
I'm very new to coding, and would really appreciate an answer. I'm learning how to send orders to the platform. When I run the code below on my FXCM demo account, it works perfectly. When I run it on my IG demo account, I get a 130 error. I've tried changing the TP and SL many times and it doesn't
  Charts Will Not Move  (18   1 2)
Hello, my charts on mt4 will not move. It stays on the current date and previous dates. Is anyone able to assist? I have had this problem since I downloaded the app and opened the demo acct. I try everyday and still nothing
Does anyone understand and can explain about the lag or delay when copying orders .. I did copy trading using EA .. when EA gets an order from the master account there will be a 3-15 minute delay ..but when the master account closes each order it will be followed or copied without delay.. is there a
Dear Friends, I need an indicator to show me the profit or loss of each position of a pair on it's own chart. For example, when I have 5 buy positions on EURUSD, I want to know the total profit/loss of these 5 positions to be shown on EURUSD chart in $$$.  Could anyone help me to find it here?...
Hello, I actually encounter a problem with the iHigh and iLow functions. I would like to get the higher and lower prices of a predefined period. Here you can see the code I made : The problem is that returned prices have sometimes too much digits (underlined in red on the picture below), but I don't
Hi i am keep getting zero divide error on my EA with Trix indicator. can you help me? Indicator is attached below and this is my EA: //+------------------------------------------------------------------+ //| test.mq4 | //|
I haven't posted in the forum for several years so I hoping you also take posts related to MQL4 I'm having several issues with Global Variables of the Terminal, but I will confine this post to just one of the issues. The issue: For some reason, when I query the value of the Global Variable entitled
Hello, I want to use following indicator on EA to open buy/sell orders.. https://www.mql5.com/en/code/7116 I tried it using Icustom function stated on this indicator comments but it doesn't work. Could you please help?? Thank you in advance
Hello Traders ! Everyday I use MT4's bulit-in price alert system to mark levels of my interest. Is there a quicker way to create alert than right click on chart -> trading > alert ? As far as I now there is no way to create a shortcut via platform (correct me if I'm wrong). So maybe some script
  Supertrend as Histogram  (52   1 2 3 4 5 6)
Could anyone help me turning this supertrend line into a separate window to be shown as a histogram? Like this Flattrend indicator : Attached is Supertrend Indicator
Hello everybody, thank you very much for any support you would kindly give me. I am a newbi in programming and I am trying to make this few lines work... It is very simple stuff: when I press the "u" button, it opens a buy order, when I press the "n" button, a sell order is triggered. Then, it
Hello, I am trying to Close an open trade once RSI signal is at Threshold. My trade triggers fine when RSI is above 80, but i am trying to close it when it reaches 20. How do i do this? I feel like I am over thinking this
I have some idea to code ea. but i did not know how read and save news in news tab in meta trader 4 terminal. can anyone  guide me, how do it?I am  studying about the impact of news in market trend. and have to construct database of news and market chart for studying it.
Hope everyone is doing well. I have bought an external hdd and I am planning to move my mt4 to external disk only, I move alot and I want to keep all the MetaTrader 4 stuff on external disk, I currently run around 5 accounts, demo and live accounts. I have tried the portable mode but it cannot save
I can see my orders being made in the Account History but they do not show up in the Trade tab. I'm totally new at this, trying to figure out what's wrong. Googled around and doesn't seem like a normal issue, thinking I'm not clicking something right. Any thoughts? Thanks
Hi everybody, I'm trying to write an indicator that should place a grid starting from a line at given price. It works, kind of. Actually the grid is generated correctly but I want it to be redrawn when the Level_0 line (an horizontal selectable line) is moved. I've used some of my knowledge and some
I wonder if anyone can tell me how to code an alert (audio and message) so that it keeps repeating until I dismiss it or stop it. I have no idea and have been all over the internet with no results. Please help if you can. Thanks Fred