The EA's available don't have SL, TS, TP, etc. Where to find this simple EA with more features? Thanks.
I have created a simple script that writes indicator values to a text file. I want to set that up to run on a one minute frequency. Any suggestions on the best way to handle that
Hi, are there any plans to fix OBJ_EXPANSION so that the 3rd point of a Fib Expansion can go beyond the 2nd point? thanks
hello, "hIndicator_dialog_class_only.mq4" is an indicator which creates a dialog class #property indicator_chart_window//+------------------------------------------------------------------+#include <Controls\Dialog.mqh>class hClass: public CAppDialog{ public:...
[Deleted]
Hi guys, I'm trying to develop my own expert advisor and I am still a beginner in all of this. I am making random orders in my EA and during the backtest, I set the spread to 0 and I also limit my orders to slippage 0. I am also setting both stop loss and take profit to the same amount (5 pips)....
If I use a Trailing stop and a stop loss shouldn't take the closer one?
I've imported three currency histories to MT4 that date from 2001.01.01 to present. Since then, my computer has slowed down and my demo account has been prone to problems the most recent of which being "history base not enough memory" messages. Is there a quick fix to this problem? For instance,...
Hello, I want to be able to draw Trendlines, Channels, Fibs, essentially any object on a chart for a specific symbol e.g a horizontal line level 1.1 on EURUSD and restrict it to only the chosen symbol. However, when I drag in another symbol on the same chart window, e.g. AUDNZD, I see the same...
Hi, I have the code below. It checks if price broke above a Donchian channel and then retraced for a number of bars. When I hard-code the integer into my dcVals array things work as expected. It only prints exactly when the channel was broken and 5 bars retraced. But when I use a variable, DC_BARS,...
rad = (((oppl+.0))/hypl)*((M_PI+.0)/180); (0.01698095) angle = MathArcsin(rad); (Im getting 0.01698176 instead of 0.97298353134226625915034235162797) But the MathArcsin is not giving the correct answer. Anyone experienced with MathArcsin in MQL4 or other trigonometric functions?
Im trading with several EAs for the last few months and just now over the weekend they have all dissapeared ? Does anyone know why this has happened ? As you can see in the screenshot all the happy faces have disappeared My computer did some updates over the weekend and maybe that would have...
I have an EA that has been running for several years successfully but now if I attempt to adjust the properties of the EA it freezes the platform. The only way to unfreeze is to ctrl, alt, delete and close the application, then re-open MT4. But same thing happens immediately if I again attempt to...
Hi, I receive a quick message on my iPhone to advise an alert which disappears after a few seconds. My problem is that when I go to Chat and Messages the message is not recorded there. On MT4 v4, build 1170. Any advice will be gratefully accepted. Cheers, George5
I am very confused about the relation of the data downloaded within the History Center and the data used by the BackTester. I am trying to BackTest a symbol, lets say EURJPY in M1 period. But it logs the next message: TestGenerator: no history data 'EURJPY1' from 2018.12.07 to 2019.01.01 I...
Hi, I have 4 expert advisor's I would like to make another ea and call my ea's under the MQL4 code. It is possible? If YES, then HOW TO? Rgds,
Hello i tried to download the history EUR/USD 1Min but the download was from 2000 to 19/10/2019 why not up to today?
Hello I have a problem running a programming code .When I'm reviewing my programming code in strategy tester (Every tick) and real market , I see the difference in the result. I don't know ,why I have two exit points. please guide me Thanks //Orders Counting & Close...
Need advice in order to be able to solve an issue that is preventing me from using 10 times smaller code because I can't call a variable with String Concatenate. If you think my ideas are not the best please let me know what you would do instead, you think this is the best at all to use same ea on...
rad = ((oppl/hypl)*(M_PI/180));
Hello Is there a way to get balance and equity of each closed order in history by ticket ? I want to add Balance and Equity for each history order to upload on website for easier data handling for charts, but i stuck on this step. I managed to get properly Balance and Equity by looping through all...
Why cannot download it MT4 from Metaquotes website anymore?. I have to do that only from broker.
Is there any way to create an indicator that generates a notification on the mobile phone, every time arrows (a signal) appear from another external indicator? That is, I would like to receive notifications from an indicator without having access to its code to implement them...but I do not know if...
Hi guys how to put other tranparent color in mt4 indicator i need this because I have an indicator that overlays another I only know this transparent color codes transparent blue: 0,0,48 and transparent red: 48,0,0 , I would like other transparent color codes like transparent aqua and transparent...
Hi everyone, this is my first post in this forum, can someone help to code an indicator as below : Pump an sell alert if 3 black crows with lower low and the last candle closed above EMA 20. conversely if 3 white soldier with higher high and the last candle closed below EMA 20, then pump an buy...
I need help with a sound file problem. I have an indicator that uses the Playsound command to use alert2.wav. But when an alert is triggered it uses alert.wav instead and all other alerts use alert.wav also. If I untick Tools/Options/Events Enable then alert2.wav works but all other alerts do...
Hello, I have a H1 data which I want to convert it to D1. Do you know how to do it with the MT4 platform or some other tool or software? Thank you in advance.
Hi everyone, I'm new to coding and have encountered a problem. I wrote this script and compiled it with no problems. void OnStart () { Comment ( iOpen ( "EURAUD" , PERIOD_W1 , 5 )); } I then open a new random chart, say AUDJPY . And then I drop the script on to the chart. But the number being
Realizing that using the old mql4 since 2014 init() deinit() start() can be problematic. It seems simple but now my code isnt working when I changed the function headers.
Hi I have an expert that works with candles in the past for two or three currency pairs. For example I want to know the open price for GBPJPY for the candle of 2019.01.01 11:02. using the code below:(FirstPair and some_date are defined in the code): int shift=iBarShift(FirstPair,PERIOD_M1...
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.