MQL4 and MetaTrader 4 - page 1322

Simple question: How to make Tab character (\t or \x09) work in a ObjectSetText(), such as in ObjectSetText (oName,"Message 1" + "\t" + "Message 2",12,"Arial Narrow Bold",Red); it doesn't tab, when displayed on the screen.
I have a very simple formula that is returning strange results. double var1 = 1.27943; double var2 = .0054 double var3 = var1 -(.5*var2); The result is that var3 is set to -2.05777. I don't understand how that number is being calculated. Am I missing something?
[Deleted]
I have one EA that places two orders at the same time ( buy and sell ) but some it will place only one order but i dont know what is causing it. Please kindly help me for the cause.
Hello, I need rewriting MT4-FSB Expert from MQL4 to MQL5. The expert connects Forex Strategy Trader and MT for data feed and real execution. The current MQL4 code is attached. Please take a look at the code or try the program first. If it necessary, the dll code will be provided also. Please, send...
how do u overlay indicators in mql 4 - when i try insert , a new indicator windowis opened. thanks
Still taking my time trying to learn as much as I can as I move along. Making a really simple indicator that should print the open of the current bar each time there is a new bar. It works correctly by checking each of the last 10 bars down to 0 but then at each tick it checks both bars 1 and 0
[Deleted]
heres what i have so far...im confused however how this can generate revenue. //+------------------------------------------------------------------+//| expert initialization function |//+------------------------------------------------------------------+int init()...
[Deleted]
Hi i'm looking for a so to say add-on for mt4, that draw vertical lines separating trading days.. this way its easier for me to spot high and low's of each day/session. tried searching but couldn't find. appreciate the help thanks.. regards, mank
[Deleted]
Dear all, I'm a new member here and i'm new too in MQL Programming, but i have some knowledges about programming in high school. Here, i want to make an EA that is using breakout as the basic. So, this EA will calculate the range of high and low from 14:00 to 16.15 server time plus 6 spreads both...
[Deleted]
Hi, I am searching for a function of getting a pointed bar's index. Below is the code of calculating last 4 candles height in pips. I would like to know how to program the same thing only from a certain point, for example (as attached in the image) from the red line in the screen. Thanks for any...
[Deleted]
int start()  {  double lots=NormalizeDouble(MathAbs((AccountEquity()/10000)),2),lot;  int hour=TimeHour(TimeCurrent()),minute=TimeMinute(TimeCurrent());   if (hour==7 && minute==5)  {  double high=High[1],low=Low[1];  }  if ((Bid>=high+150*Point && high!=0) && OrdersTotal()==0)  {  int...
-
Hi,guys. i'd like to know how to get 10mins chart in MT4? Why MT5 contains 10mins chart,but MT4 doesn't have?
This thread is for the links about indicators/tools for all the versions for Mandarine systems. History of the development - read this post.
I was wondering if anyone has seen the indicator used in the following youtube clip for MT4? https://www.youtube.com/watch?v=rv0-u_9FDTE watch from 2:21 -Tanks
Hello, i have a Web vServer with a Debian distribution. i can only look with Putty (shell) and with Webbrowser if i have a Aplication thats works on browser. i dont have the Desktop version! it is a vServer from a Webserver!! I want to use MetaTrader 4 with this Debian vServer. Can you help me?? I...
  Box Breakout  (28   1 2 3)
Updated the indicator somewhat mainly cleaned up a lot of the leftover code garbage and changed the comments by adding some code for auto gmt but for now it just places the comments on the chart, you need TimeGMT.mqh in include folder and NonLagMA_v7.1.1 in your indicators folder.
Hello, I need help with a programming concept for a EA. This is the scenario: I have 2 entry or pending orders in a sell limit and a buy stop 2 pips above that sell limit. The sell limit has a take profit of 20pips and the buy stop has a take profit of 10pips. Let’s say the sell limit and buy stop...
[Deleted]
When Herve Leger’s bandage dress was first launched in the 1980s, I had already given my heart to another homage to elasticity, an Azzedine Alaïa black stretchy sheath so flattering to the figure that one of my friends borrowed it whenever she wanted to seduce a man, and labelled it 'result-wear’,...
  Searching for a Function  (12   1 2)
I'm a noob MQLer. Is there a built-in function which returns the current chart timeframe value?
[Deleted]
  Previous bar ticks  (27   1 2 3)
I need to get all values of ticks of the the before previous bar into array Array1[]; Is it possible to get them right after EA is put on chart? Many thanks for help.
I have 211 extern variables. My program does not work properly I think. But I don't know where is the problem.
Your help appreciated, unless I have missed in docs, I understood that successful OrderSelect(ticket,..) meant that Trading Functions could be called eg, OrderStopLoss() or OrderTakeProfit() but, if after OrderSelect(ticket,..) I issue OrderModify(ticket,...,newSL||newTP,...) and then eg,...
We've been using MT4 since it was released, we never saw anything like this happen. Since the Euro drop, price action has been very active and several of our dedicated servers crashed. When reloading them, MT4 is eating resources like we've never seen. Normally we run 10 Terminals per server.....
[Deleted]
Hi, I m called dusham and I would like to have indicators to emit signals of sale and purchase to ease my position on the market.
[Deleted]
pls i have an EA that open buy and sell at thesame time i want it to be be closing the whole open order if the profit it make is more than the initial open balance and before it re open another one. Kindly help with the code thanks.
Hello, i read in the last days here again how much people need EA programms. I offer my codeing service for 25$ for one EA with one indicator, every extra indicator 5$ extra, cheers. email: lamoe150999@yahoo.de
Hi, I want to make simple php pages or html to display all live quotes from a metatrader platform, can any one give ma sample how to do it. thanks
[Deleted]
your ref: https://www.mql5.com/en/code/9198 which determines pixel height of main window and any sub-windows . I have read on a c programmers forum http://cboard.cprogramming.com/game-programming/59870-getpixel-hdc-heartattacks.html#post422934 that GetPixel() (from gdi32.dll) may cause performance...
[Deleted]
Hello Team, I want someone to help me in creating EA for my Indicator.. Please let me know if anyone can help me.. Your help will be highly appreciated.. Thank you,
[Deleted]
Hey! I am running multiple EAs on multiple time frames, now I have coded these EAs myself... I have coded these EAs to only enter one trade at a time... But as soon as this trade has closed, I want It to put in another trade if paramenters are still correct, so how can you tell the EA that the trade...