[Deleted]
What is Immutable object in java? How to make an Object Immutable in Java? Is this any design pattern in Java?
[Deleted]
When I compile existing mq4 file, the ex4 file disappears from experts folder. Working on Apple Mac.
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...
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,
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]
//+------------------------------------------------------------------+//| malfunc_tester.mq4 |//| Copyright © 2013, |//|...
Can anyone tell me where I can download this indicator for an MT4 platform Thanks smw10
[Deleted]
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...
[Deleted]
Hello, EA running on a PC, VPS or dedicated server. Have you set up a monitoring service that control from time to time that your EA is always on? Some kind of watchdog.
Please think with me for a bit. I'm looking for good reasons to be found in indicators When NOT tot trade on the 15m chart on LONG. So far i collected: when MacD 1hour is falling when MacD 4hour is falling when price is above 4H and 1H 200Ema but 15m is onder 200Ema when price is outside Pivot R3 or
hello, i'm writing a code for ea, ea will open multiple orders buy n sell several times until close all profit. 'n i need to know how to code : if last order op buy, then ea will not open buy until it op sell first and vice versa Could someone give me a help here ? Thanks in advance...
I would guess that quite a few of the posters here have used various indicators in their technical analysis and incorporated the indicators in their work. I do wonder, has anyone actually used an indicator and found it to work consistently in the long term? Obviously, I'm talking about the standard...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.