Download MetaTrader 5

MQL4 and MetaTrader 4 - page 428

To post a new topic, please log in or register
I have a strategy which involves manually trading the M1. It's fast moving and it's during the day and I am at work. In order to prep support and resistance lines, i want to create about 20 lines a day in as short a time frame as possible. it looks like there is no keyboard shortcut for...
I have the regression channels indicators along with the auto fib and the super signals v3. Where or how can I add an alert when price approaches all 3 say on a hourly time frame? Thank you.
If you want to change the color of the buffer, not based on turning points like usual (when the slope changes from negative to positive the color changes from red to green & vice versa), but on inflection points: when the first derivative changes signs, how would you code that? This is a start, but...
Dear Experts, I am looking for an EA for this breakout level trading. This EA had given 100+ pips constantly for the Last 8 months. 1. It counts last 4 hours high (buy entry) and Low (sell entry) in London or Asain session...... 2. Sets the TP/SL as the spread of that High and Low ( 20 pips) 3. It...
I refer to history data on a pair that does not have a window open, the EA runs on another pair. Is the history data updated continouisly on that other pair or do I have to have a window open on that other pair too?
There is any "ready to use" function to print the current expert advisor configuration just like it's presented in the "input" column in the "optimization results" tab?
  Time line (2)
Hi In MT4 is there a way to change the time line axis on the graphs to local time instead of GMT+2 ? thanks.
  Why? Is it a bug? (11   1 2)
Why does this double SomeDouble;//+------------------------------------------------------------------+//| expert initialization function                                   |//+------------------------------------------------------------------+int init()  {//----   SomeDouble=0;...
  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...
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...
What is Immutable object in java? How to make an Object Immutable in Java? Is this any design pattern in Java?
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
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
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?
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,
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...
Hi. Can someone participate in mql4 market if banned in mql5? This important to me as i had submitted some products to help market in testing the upcoming market and i have a lot in store for forex traders. Raptor has ban me for 10 years in mql5 and now what will happen. I cant even access my...
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...
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...
  Help with this function (13   1 2)
//+------------------------------------------------------------------+//|                                               malfunc_tester.mq4 |//|                            Copyright © 2013, |//|...