MQL4 and MetaTrader 4 - page 447

  GlobalVariables, MT4 and VPN  (13   1 2)
Hi All,     Have tried searching with no success.  I am having trouble sharing doubles between 4 EA's running on 4 separate Metatrader4 accounts running on my VPN.  The VPN is running Windows Server 2012R2.  I have used GlobalVariables years ago with no problems... but now they don't seem to cross...
double L24[]; double L32[]; double L40[]; double L48[]; i try to get those values,but i couldn't code. please help me .how can i get buffer value when arrived every tick? <Decompiled code removed by moderator>
[Deleted]
  MetaTrader Report Generator  (16   1 2)
<Link Removed> What are you thinking about this service.
Dear friends,    I am learning to code in mt4 and got a hang of it. I came across an indicator that display buy and sell value as seen in the screenshot below. Please guide me with study material or sample code on how to display buy and sell suggestions like seen in the screenshot. The logic is my...
Has anyone experienced (in Metatrader 4)   having their position closed for no reason? in the DEMO version? It happens after about 30 minutes.
What and why do I get this as my MT4 EA opens an account?
hi all, I hope you are doing well. I'm looking for a MT4 programmer to develop the following EA: Step1: Write every hour all retrievable details from the orderhistory section in a mysql db table.(drop the old table in mysql db) Step2: Write every hour all retrievable details from the open/pending...
Hello all! I'd like to add to some EA's a notification function that, well, notifies when a TP or SL has been hit. I made a kind of BETA version of the actual code but I'm facing some troubles that I'm not sure how to overcome:    for (int i = 0;i < OrdersHistoryTotal(); i++)    {      bool...
[Deleted]
Dear Metatraders  I am trying to develop an indicator that show me the highest high and the lowest low of the last 100 bars of all Major currency pairs,  This is part of my codes: double dEURUSD[2];dEURUSD[0] = High[iHighest("EURUSD",PERIOD_CURRENT,MODE_HIGH,100,1)];dEURUSD[1] = Low [iLowest...
I can only enter integer into the Deviations box. If possible please draw an arrow on the chart please, Red for put and Green for call. thanks Here is the indicator: bollitoucher.mq4
I set EventSetTimer(1) in OnInit (bool result is "true") , and I put my code in void OnTimer, but the indicator is still going through OnCalculate, which defeats the purpose of using OnTimer because the data received from the broker isn't faster than 1 second in some cases. Is there a way around...
I want to populate an array with currency pair values. Arrays are quite a bit different from Javascript I'm gathering. I'm totally new to programming and I took some online courses in Javascript to help prepare me to learn MQL4. I'm running into a snag with arrays. I dont understand the MQL4...
When I select specific timeframes for visualization in indicator properties, does it also stop the indicator from doing it's work for the remaining timeframe? Or is it that the indicator still works in the background, but the display is disabled?
When the indicator thread becomes busy and misses the next tick, the missed tick data is still displayed in the Market Watch tick chart window. So I wonder if there is a way how to get the missing tick data that is on display in the Market Watch window. I thought about the file ticks.raw file...
As someone with no programming experience I will have a lot of dumb questions. Here's one now. Can someone please explain to me why I cannot get this to print to my journal. It's very important for me to see. I cannot get either the Comment function or the Print function to work and I'm not...
Hi everone, I have a Question. I need the OrderProfit() of the first open Trade of the Buys and also of the Sells. But I have no Idea, how to program this. Can somebody help me? bye, tom
I need a simple code.. All I want is an external settings to be set up with two options (on and off) or (true and false) When "true or on" the Expert works and continues to work When it is false, the expert works but does not continue working after closing all open positions and pending orders.  can...
I'm not sure why I'm having such a hard time with but here it is. I'm trying to get the value of the GBPEUR no matter what chart I drop my indicator on. Then I want to store that value in a variable. I have been trying to test this with the print function so I could see if I was successful however...
  CANT LOGIN  (1)
hi,i keep getting the invalid acc message on my mt4,help please
Hi, i need help once more,  i never worked with functions before, but when the code starts to increase you have to use them, or you get spaghetti code,  i need help to get more than 1 returned value from each function, it's possible to do it? I've been searching, you can use something like passing...
Hello, It's very glad to contact with you, first. The followings below is my difficulties, and hope you to read and help. I have a pre-made indicator that shows simple arrows for Buy / Sell Entry. This pre-made indicator does not read the values of the 1st previous (closed) candle properly. And the...
  value reduction  (2)
hello, if one function offers me values like 1,1,2,2,1,1,4,4,3 how i can bring them to 1,2,1,4,3.... plz help :)
Hi When I go to the donwload centre to download more date for testing EA. I get a message saying there is no data to download. But for example Crude oil would have dat 1 or 2 years back surely. Can anyone help out why it won't download the data? Thanks
Hi.. need someone to rectify the issues i'm having.. The alert is all working fine... But if the next bar have the same rules, the alert won't appear again as previously it has already appear.. which means the alert only trigger once bool alert[][9]; this the top part of it..   {   int i=0,j=0;...
Hello, I have one modified version of sweetspot indicator(draws lines after 10 pips). Every line value is actually the price,  yes? I'm too dumb of coding and don't understand which variable in this code is the level or let say price? I would like to use this value for comparing something..
[Deleted]
I am running EA to metatrader 4, and I saw that my terminal's memory increasing continuously. My terminal freezes occasionally. I have to restart terminal when freezes. Is there any mq4 functions that can free memory?
i have a new ea to load.  it loads and shows a smiley face and the autotrading button is green, but the ea does not run.  what are the flags and indicators that might need to change to get the ea to run?
this is actually a really major bug which renders the ability to draw trendlines on 1 minute charts useless in mt4(!) like, wow holy crap how could this go unchecked.... i have provided an indicator called copy tline which if you place it on a chart and draw a trendline with the correct name (use...
Hi,  I am having some issues identifying the tops and lows in a indicator. Can someone give me a hand with this?