MQL4 and MetaTrader 4 - page 90

hi guys i have this indicator RVOL in mql5 i want convert in to mql4 i tryed but not work and i am not expert in mql5 , and in mql4 if someone want help me i will appriciated MQL5 original //+--------------------------------------------------------------------------------+ //|
Hello, Does anyone know how to quickly identify or expand a specific symbol chart (e.g. EURADU) in a MT4 in which many charts are already in there? Does any HOT Key can do that? I want to quickly locate a specific chart in a second rather than using eye search. Thank you
Its there a way to set a Trailing stop to a negative trade? I have an EA that opens trades at a specific time, the trailing stop code works if the trade is in profit however if the trade is negative it never set the SL/TS The idea is for the EA to set a SL based on the current price and then trigger
Hi I tried to open new order when last order is close. The last order can be closed by price hitting the SL or TP. To do that I used AnyBuyOrder() to check whether there's an open buy order or not, bool AnyBuyOrders() { for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) { if ( OrderSelect
Hello all, I am wondering if there is a way to get multiple lines of text using Comment(). I have tried to search, but no luck so far. Thanks in advance, LW
  How to make MT4 auto refresh  (62   1 2 3 4 5 6 7)
do u have indicator for MT4 auto refresh please i need it like crazy...
My leverage is not showing when i hover over my account on navigator tab however when i try another PC that has MT4 installed, up and running it shows the leverage. It's not my account that's the issue or the broker because i can see my leverage on other PCs with no issues. It's a particular PC
I managed to extract this code from some Youtubers, however I have not been able to add the code to be able to license my strategies focused on the account number of any broker int start() { int hard_accnt = 1818798 ; // <--- Type user Account int accnt = AccountNumber(); if (accnt !=
Hi, I'm currently in the process of making my EA. I got interested in using a custom volume indicator, but only planning to using the moving average of the volume. I tried using the iCustom code, but it instead gives me the volume of the current candle instead of the volume moving average . Any
I try to create an indicator (i'm a beginner) and I have a problem to display my indicator below a chart. In MetaEditor, when I press F5 to start the debug, a window opens with a chart and my indicator displays correctly below the chart (I see good values and the indicator is updated correctly at
Hello friends, how are you? I hope well. I'm trying to do a simple rule of 3 where the final result should be plotted on the histogram. It is about measuring the distance from a moving average to the closing price of the candle. And the price should be returned in percentage, in histogram format
Hi, I try to calculate an indicator using RSI (and then use it in an EA). But I don't want to apply the RSI to a symbol, I need to apply the RSI to a calculation I'm doing between different instruments. For the example, I am calculating a ratio between 2 symbols: DowJones and Nasdaq. ratio = DJ/NQ
  MetaTrader  (2)
where's to download MetaTrader 4 for Desktop ? everytime i try to install mt4setup.exe it's actually MetaTrader 5 not 4
Hey, i got an wired issue. When i am trying to install MT4 it's comes up with MT5. Can anyone tell me about this
I've got this code. i'm not sure how to show the probability of price distribution spikes in percentage. #property indicator_chart_window // input parameters extern int MAX_HISTORY = 5000 ; extern int STEP = 1 ; //---- string OBJECT_PREFIX = "LEVELS" ; int ObjectId = 0 ;
Hi, I have a MT4 EA and I would like to add a function which stop new order open during xx minutes (with the Sleep() function ) if the last close order is a loss. I built this code below but it doesn't work correctly, what is wrong? for ( int i= 0 ;i< OrdersTotal ();i++) if ( OrderSelect (i
[Deleted]
Hello Guys how are you?  Well i'm doing fine, but stuck with an idea i have for an indicator i'm creating, there are some rules i developed and right now trading a strategy based out of this manually, but i think my trading would be more effective if i had the indicator i am trying to create, but...
My signal provider is using a broker whose gold symbol is "XAUUSD.r" but on Pepperstone the gold symbol is "XAUUSD.a". When there is a difference in symbols MQL checks and tries to match the symbols, however certain conditions need to be met. According to number 3 if the margin calculation is set to
I'm having trouble with MT4 kind of malfunctioning after it's been on for a little while. When I first start it up, everything works normally. I can enter trades, drag SL, close a trade, set a TP and so on. After a while, maybe about 1/2 hour, if I try to drag my SL to BE or enter a trade, or set a
Please advise if anyone knows how to print trading statements from the MT4 app, thanks
Hi I realize that all my log files (mql4/log ) are max 10 days old, different brokers.. are there any way in MT4 to prevent this form occurring? / T
Hi developers! I've searched and haven't found What is the proper way to know if an account is a Copy Trading Master account. ACCOUNT_TRADE_MODE shows 2 (Real account), but not if it's a copy tradig account
Hi there, I tried to set my account to public signal account but now I don't know how to change setting to normal account. Please help me to do it. Many thanks
I have created a MACD histogram but it is only showing 4 decimal places such as 0.0013 and I would like 0.00130 so one more place or more. I have tried to use NormalizeDouble but no change... Does anyone know how to add a decimal place to get more accurate readings? Regards. double currentMACDLine=
Can anyone tell me how to get the sma price at candle open only, and I don't want the value to change. For example a new candle has opened and I have an sma20, I want to get the value of the sma20 at open only and not after it changes, not the normal sma20 price but only at candle open. Regards
Dear all, I'm struggling with a presumably simple task: My custom indicator calculates and plots an indicator line in a window below the chart. Of course, this involves the use of buffers etc. This works as intended. However, now I want to apply the iRSIOnArray() to this custom time-series,that is
Hi, why in the following code is only one bmp image showing? void OnStart () { string objName1= "img1" ,objName2= "img2" ; string imgFile1= "\\Images\\dollar.bmp" ; string imgFile2= "\\Images\\arrows.bmp" ; ObjectCreate ( 0 ,objName1, OBJ_BITMAP_LABEL , 0 , 0 , 0 ); ObjectSetString ( 0
How can I add more currency pairs to the Demo? Do I need to open an actual account
<Deleted> Now i want someone to help me with small modification: 1. i want to add an option to make the distance of the grid expanding geometrically (10pip, 20pip, 30pip) or by a factor (10pip, 20pip, 40pip). can any body help me with that
Hello MQL4 coders, Unfortunately the FileWrite() function lacks the flexibility to define the line number of the given file. Is there a way to write to / overwrite only specific lines in a file without overwriting all other lines or time consuming loops? Thanks for any suggestions or sample code!...