MQL4 and MetaTrader 4 - page 334

cant seems to find a search page to look for what am searching for? need help with setting up mutlitrader and can i add different broker accounts to the main account or it has to be several accounts on one broker mt4 mutlitrader app
i Have an indicator which is so good in detecting the buy and sell signal. I want to use in EA using iCustom function.. This one indicator for H1 is very good for manual trade. can any one help me to convert this in EA. double ST1 = iCustom(NULL, 0, "ArrZZx2", xxxxx, xxxxx,xx, xxxxx); double ST2 =
I am writing and EA and are using 2 custom indicators. I have used different custom indicators successfully in other EA's. My problem is that the EA does not pick up the values displayed in the data window. It returns zeros when the ame values in the data window are non zero. Here is an example from
  VPS of MT4  (1)
Hello, I just purchases a VPA from MT4 directly. I have a Price alert, but is not working (I have Push notifications enabled for my mobile phone). Someone know how can I solve it? Bests
Hello all, I am trying to understand the logic behind iCustom function, but just can't. I am new to coding, I just started to learn, and got stuck here. My goal is to build an EA based on a simple MACD divergence indicator. The code is here
Hi I need to check if mouse is on top a button object or not in chart event (or any other section that would be proper but looks like chart event is the right way to do it), how can i do this
As of last night I noticed my trade signal alerts sent push to my android phone stopped coming through. If I open up MT4 on my phone, sometimes it will give me the alerts but all the past alerts come through at once. Never had any issues with this before. Any thoughts on what may be causing this? I
If I have 2+ arrays and I want to edit etc one of the arrays, how do I efficiently assign the array so I can make changes? Lets say I have two arrays and I want to change j[0] to 10, and I've used some process to chose array "j" .... int i[]={1,2,3};int j[]={1,2};string arraytouse="j"; I don't want
[Deleted]
Hi everybody I would appreciate if you could help me know if it is possible to install meta trader offline , I don't have direct connection to internet on my computer at work . I was thinking it might be possible to copy source file and specially use editing environment . Ciao
Hello Friends, I am new to mql4 coding and learning from past 2 months. I am trying to code MA cross counter. If MA50 cross above MA1000 then BUY CROSS =1 and same for below. But the issue is Cross Counter increased by 1 on every tick. Below is code. Please help me with this. Thanks in Advance
Hi guys, What do you consider to be the best and most important ingredients in your own system? Yes, I have used the search function. But most topics are to specific. I would like to know, what RaptorUK and the other sophisticated traders have in common. I am talking about fundamental beliefs....
  Draw trend line with end  (26   1 2 3)
Hi, from x y point in a bar a line starts and goes to the right if it touches a bar make it stop if not let it continue. I'm trying to figure out the above but couldn't figure out the code. Thanks in advance
Hi guys,  I need to download a lot of data on my metatrader 4 using TickStory lite for backtesting, but my free space on C:  is small than the amount of data need to download. Then need to move the datafolder to another partition. How can I move the datafolder to D: or anoter disk with more free...
Hello, I Have a Multi Time Frame Zigzag Indicator Source Code. And I Wanna Ask Someone To Make It None Repaint And Add Alert For That. Note : If U Use This Indicator In Current Time Frame And Next Time Frame Together; U Can Get Very Special Signal In Intersection of Zigzag lines... So If Anyone Can
Hello, I got an indicator with moving averages and I would like to add a 200 ema and change colors of the moving averages with the following rules : If all ema are under 200 ema : moving average color is grey If all ema are over 200 ema : moving average color is green Thanks in advance for your help
I'm trying to create a dynamic Take Profit programatically. To do this I am using OrderClose() to close the order when the difference of pips are ready. The problem is that it is closing above the OP_SELL and bellow OP_BUY and I don't know why it happens. how could I fix this ? See the image
I wasn't having this problem before. It first happened yesterday after installing it two months ago. I was in the history center about to download data. A malware would seem very unlikely as I only use the web browser for email, log into my forex broker and the occasional forex related search. I
Hi, everyone. I've tried to find the solution for this over multiple forums, but it does not seem to be an explored topic. The goal is to write MQL code to open a script multiple times specifying either parameters (2 of them) or some specific preset. There are going to be multiple configurations
Hi, Can anybody help me please ? I know how to find the biggest order in Profit using a for loop. But i dont know how to find the 2nd and 3rd biggest orders in profit. Thanks in advance, Amir
Hello, As I constantly feed my MQL knowledge, I ask you the difference between theese 2 "deinitialization functions" : int deinit()//orvoid OnDeinit(const int reason) It seems that both do the job. What is the "better way" to deinitialize ? Regards.
So I've tried editing this script, Hourly Pivot Points with Color Filling https://www.mql5.com/en/code/20614 almost got it working but there is something wrong in the code when I change it. I tried changing from hourly to more hours than just one, I managed to get adding just one more hour to work a
This is weird. My Expert Advisor was working and 5 minutes later I couldn't make it work again. Investigating led me to this issue. It seems like some numbers get corrupted, because NormalizeDouble() and other functionstaking doubles as input will only output zero with them. Note that I didn't touch
[Deleted]
hi, i am trying to add commission and swaps option for my code, i am unable to do so, kindly help. #property version "2.00"#property description "The indicator displays profit (loss) on the current symbol."#property description "You can freely drag and drop the line to display the current
Hello community ! I'm looking for multi time frame Fibonacci for mt4 platform
How to get the value of "Select Object By Single Mouse Click" (in the Options->Objects) programmatically?
I have script to change chart window title calling winapi sendmessage (WM_SETTEXT command):   If I select other chart, my custom title is changing to previous name. How to set window chart title to be valid even if window lost focus?  
[Deleted]
Hi, I'm new in programming MQL4, I'm trying to calculate the mving average of an indicator in an EA. Could someone give me a code example of : - The moving average of x period of the volume of a symbol ? - The moving average of x period of the slow stochastic (5,10,3) of a symbol ? Thanks in advance
Hi, For backtesting and setting the SL and TP values in OrderSend, does it matter significantly if I use Ask or Bid as part of the SL and TP calculation? I don't see any errors when I use either one. I know other posts said #1 is the correct way, but is that only for live trading? For instance
is there anyone who can help me have an indicator for mt4 that indicates the supply and demand zone? thanks a lot
My task is, for eg, when executing EA on EURUSD chart H1, calculate RSI on H1, RVI on M15 and MACD on M5 simutanously to get my result. double myValue = iRSI(NULL, PERIOD_H1, 14, PRICE_CLOSE, 0) + iRVI(NULL, PERIOD_M30, 13, PRICE_CLOSE, 0) + iMACD(NULL, PERIOD_M5, 12,26,9