MQL4 and MetaTrader 4 - page 842

  quick channel  (7)
I am using quick channel that I down loaded from https://www.mql4.com/go?http://www.mt4i.com/quickchannel.aspx I have discovered how to have the sending broker ea send all the data that I want to the receiving broker ea. However, once received, I do not know how to break it back up into individual...
[Deleted]
I am looking for someone to add a function to trigger an email notification that is sent out only when the indicator displays a Bullish (RED) volume bar, and a Bearish (WHITE) volume bar. I would like the subject of the email to be such as the example below for a Bearish (WHITE) bar: Subject: "Bear...
Good Day. Is it possible that one EA or Script can call another EA to all the Symbols? Thanks
Hi friends, does anybody know how to reuse the initial variables after a specific time? suppose that you've given values to some variables at the start of the day as their initial value and by starting the program,it constantly changes these variable as time passes . and then you want to use the...
Hello again folks, I have written an indicator which looks for a pinbar after a moving average cross over and have been trying in every spare minute for the last week to reliably get it to send me an email when conditions are satisfied. I have searched and read posts and documentation and the best i
[Deleted]
  Immutable object  (2)
What is Immutable object in java? How to make an Object Immutable in Java? Is this any design pattern in Java?
[Deleted]
Hi All, Once my MetaTrader4 is newly installed everything works fine. I am able to write my EA in mql4, when i compile ex4 file is created in Experts folder and it works fine. But, few hours after MetaTrader goes nuts. Here I mean that when i compile existing mq4 file it makes ex4 file disappear
I am using the basic send pending script (seen here) http://pastebin.com/0aLPLuGm It enters the trade no problem, but it doesn't calculate stop loss/profit. My question is, how can I calculate a -100 stop loss and +30 take profit based on the entry price. Thanks in advance, Terry
[Deleted]
Hi, I have had the offline button checked and now is unchecked. However the candle and bid line is frozen. It is live on all other timeframes.I even opened up another chart and it is the same but only on one timeframe please help maddog
[Deleted]
Hi,I want to set up a TP on my ea, which equals (High[2]-Low[2])*1.5 Which is simply put range of a certain bar multplied by 1.5.. My question is How do I type it correctly because it seems that i make a calculation error. Thank you.   for(int s=OrdersTotal()-1;s>=0;s--)  {    if(OrderSelect(s...
  DLLs and passing control  (21   1 2 3)
Is there a way to call a function in a DLL file (I'm using C++) and let it run while MT4 retains control. Specifically, it's for a tick collector. I would like the DLL to periodically write the logs to file, but I don't want to miss any incoming ticks during the open/write/close process. If not, the...
I am very grateful to 7Bit for his contribution elsewhere in the forum on creating a DLL with Lazarus/Free Pascal which can pass data between the DLL and an EA. I would like to install a Pascal InputBox in 7Bit's DLL foo() function to enable the user to pass text input (commands) to the EA. I have...
How to add break line in comment? when i tried it shows last comment. eg: Comment("ABC"); Comment("XYZ"); Comment("123"); In Screen which shows final comment only which is "123". How to display all comments line by line?
[Deleted]
Hi I've built a code to an automatic indicator which calculate the range between 2 swing points (for Gann) and divide the range by a custom number (either 8 or 10) and than draw it on the chart and also draw a vertical line for the time forecast. Now I want to be able to edit and adjust the swing...
hello traders, i want to see what's the 1h term, and 30m to make the best decision. i know i can open it twice, but is it possible to have two timeframes in one window? does this script / template exist ? have a nice trade day, Marcel,
  CCI smooth help.  (1)
Hello. This is 180 cci. But still it has zigzag. I want to make it smooth. Below is code. Plz help. //+------------------------------------------------------------------+//|                                                          CCI.mq4 |//|                      Copyright © 2004, MetaQuotes...
anybody can help me out to create volatility stop like this in the chart? Those dots. I heard this indicator is called volatility stop. Any help? I have no clue for this. I hope somebody has already created for me to download... Oh --- ><
Hi: I am using an indicator I have traded manually for 18 months with good success. I am attempting to automate the process. However, after reading about 25 posts relating to the subject of passing data from a custom indicator, I am having no success. I am calling the indicator as follows: double...
Dear Forum, I'm trying to program and test a simple base EMA program that buy and sell on the EMA crosses. There is the problema that the program is not opening orders, is only trying to close orders, I've reade the MQL4 references and tutorial for EA creation but till now I've not a clear idea of
[Deleted]
Hi everyone, I really search the internet for hours but I do not find an answer to my question. Let us assume there are two terminals: Terminal A: terminal with broker X Terminal B: terminal with broker Y With respect to the quotes from Terminal A and B, I want to execute orders in Terminal A and B
[Deleted]
  Help with this function  (13   1 2)
//+------------------------------------------------------------------+//|                                               malfunc_tester.mq4 |//|                            Copyright © 2013, |//|...
Can anyone tell me where I can download this indicator for an MT4 platform Thanks smw10
[Deleted]
  Why?  (6)
Why does this SomeDouble=SomeDouble*-1; Causes a ea to fail to compile, while this SomeDouble=-1*SomeDouble; Works fine?
Start of topic: What's new in MetaTrader 4 and MQL4 - big changes are on the way (MQL4 forum) An interesting topic for many: what's new in MetaTrader 4 and MQL4 - big changes on the way (MQL5 forum) Below is the beta version of the IDE, the same for MetaTrader 4/MQL4 and MetaTrader 5/MQL5. This is a
[Deleted]
I'm trying to find a solid way to check if the history is loaded in a Custom Indicator. I only want my indicator to run when I've got my history available. I could try to use OrdersHistoryTotal() and check if that amount is larger than 0, but that would fail on new accounts? Or does the initial...
I should point out straight away that I don't understand the tester results very well, so I use a different balance specification. I suggest to discuss. So, let's take EURUSD H1 from 19.03.2012 to 28.04.2012. Here is the chart: A certain trading system, making 47 trades, got the results (horizontal
hello to the programming experts here, I got a short question: when - just as a simple example - using a code line like : for(i=0;i==Bars;i++) Buffer[i]=Close[i]; in a custom indicator (in a "separate_window") the Close prices are drawn from Bar 0 to the max number of Bars, it works fine......
[Deleted]
Lets assume we have something like MarketInfo("EURUSD",MODE_BID); Then someone who has prefix and suffix wants to use the code. Which is the best way to add it to the "EURUSD" string. I know there are many ways to link strings but i want to make sure.
New article MQL5 Cookbook: Indicator Subwindow Controls - Buttons has been published at mql5.com: In this article, we will consider an example of developing a user interface with button controls. To convey the idea of interactivity to the user, buttons will change their colors when the cursor hovers...