The code below runs perfectly fine in Real and demo account, however in the backtest, first bar (index==0) for all quotes received, this bar in particular, gets the same value for OHLC (equal open price) for CopyRates function. Please tell me, is something wrong in the code, or what the problem....
[Deleted]
Существуют ли функции позволяющие получить, такую информацию как: 1) Куда направленны линии индикаторов. Например: стохастика идет вниз, линия ADX идет вверх и т.п. 2) События пересечения линий. Например: линия +DI пересекла -DI снизу вверх. Или такую информацию можно получить только путем анализа...
[Deleted]
Hi metaquotes, I have this problem for many years and never said anything about it. The crosshair of mt4 is not accurate. When iam trying to look at for example, 11.4pips TP from the entry price, i had to resize the chart size before i get to to that 11.4pips price. Usually it will be 11.6pips etc....
Hi, this is some info that may save someone a few days of trouble, or maybe some that will bring to light what I'm missing. I was unable to declare a 2D array locally. Only 1D. The 2D had to be declared Globally. Access denied violation is the error that was being generated. Perhaps the...
tsedawa 2014.10.09 13:04 //+------------------------------------------------------------------+//| Brooky_Rsi_Ichimoku_V2.mq4 |//| Copyright © 2004, MetaQuotes Software Corp....
USDCHF : Weakens But With Caution USDCHF: With the pair closing lower the past week, it faces further downside pressure. However, on the daily chart that weakness seem to have been halted suggesting a resumption of its broader upside could be developing. On the downside, support lies at the 0.9500
A proprietary indicator runs fine on MT4 build 670 but crushes on build 711. Any ideas please?
Dear All, I have array. It has no problem. But imaonarray with the array returns 1.INF. Actually, elements of array are small number like 0.000xxxxxxxx. How can I fix it?
I run multiple EAs on one MT4 platform and multiple MT4 platform on a same PC. I found that some of my EA does not work as normal, example, closing a trade that the EA doesn't have the signal to close. I checked the running EAs do not have the same Magicband no. Why can this happen? Can there be
Hi, I searched through the forum and could not find any answers... Once I place an indicator on a chart [in a separate window or on the main chart], is it possible to get the indicator's parameter values? For example, I place an ATR indicator on the chart and want to use the parameter value of
I was looking to add a time variable to a trailing stop EA, but its a bit over my head, any help is appreciated. if (Current Time – OrderOpenTime > 60 Seconds) {.....} Thank you in advance.
[Deleted]
Hello I upgraded to MT4 build 711 and for some reason I cannot run terminal.exe anymore. Each time when I run it, it crashes without giving any error message. It runs only if I launch my Windows 7 in safe mode. I would like to delete everything related to MT4 from the computer and do a clean...
Hi, Here is a free pivot point indicator (thanks toi gearhead who submitted the code here and improved on it ) that offers quite a few features: Daily,weekly, monthly pivots (select) Mid pivots (turn on and off) Chart auto shift to set position (adjustable from 10% to 50%) Labels position...
Cannot read the news in trading demo platform.It always showing in Cyrillic.Can someone help me?
I just started using MetaTrader 4. So, I have a couple of questions. I accidentally clicked out of one the 4 charts that are in the program, and I'm trying to see how to get it back. I don't remember what it was. Is there some refresh button or something? Also, how do I input my broker account...
Forgive me for asking what may turn out (based upon the answer I receive) to be a stupid question, but what additional value am I gaining from the 2D optimization screen vs scatter graph? What am I "looking" for when using the 2D optimization. What do I want to see and not want to see? Cheers.
[Deleted]
Hi all, I am trying to write an EA that needs to make calculations using the values of various symbols. The problem I have encountered is that the values of other currencies are updated only when a new tick of the chart symbols comes in, and not every time other currencies change. To make it
Hi, suddenly after update yesterday the print out log is messed up, I'm getting rows of numbers on the far left, and now it won't even print out to log except for some of the lines Access violation read to 0x2456F000 Version 4 Build 711 sep 27 I didn't see too many solutions or explanations to these...
I have 2 different EA's running in same account on EUR/JPY. One strategy uses 5pips trailing stop, another 20 pips. But when the trade on EURJPY is triggered i get that smaller 5pips trailing stop on that trade where it should be 20 pips as Trailing stop uses select orders function to find the...
[Deleted]
Hello there, I have already opened an account with one of the brokers. When I open a position, I can not see the order line as well as SL and TP line. I checked the properties and "show Trade Levels" option is already have check mark. Also my EA is not working at this platform. I am working with...
Hi Sir I am wondering if there is a way to code a MA indicator applied to another indicator, in this case I want to apply it to the results of an RSI indicator. At the MT4 platform, you can add a Moving Average to any indicator, just open the MA indicator and select the option - Apply to: Previos...
I am wanting to have a drop-down box on the parameter window of my EA that correspond to a string variable within OnInit() // --- Global ---enum Bias {None = "None", H4_up = "H1 is up"};extern string SELECT_maBIAS_ONINIT;extern Bias MA_High_Bias = None;extern Bias...
I am using the ADX parameter to evaluate the strength in trends over a series of timeframes. The goal being to identify situations where the trend strength in the current period, PERIOD_H1 below, is supported by trend strength in the longer timeframes, PERIOD_H2, and PERIOD_H4. When I debug the cose...
Hello, Please can someone point me in the direction of MT4 server side administration tutorials or manuals etc. Thanks
I am writing an EA where I draw a horizontal line at a specific price level. This is similar to placing a S/L or T/P in MT4 where a line is drawn at the specific level or dragged from the transaction line to the specific price level. In MT4 you can also drag the existing line to a new position and...
hi everybody.. I'm working on a simple EA,. I realized that my SL & TP keep on changing after testing it on demo.. Initially, I set input parameters , SL =10 pips, TP = 10 pips..but it keep on changing and appear on a trade SL =9 pips, TP = 11 pips/ SL =8 pips, TP = 12 pips/ SL =11 pips, TP = 9
New article MQL5 Cookbook: Processing of the TradeTransaction Event has been published at mql5.com: In this article I would like to introduce one of the ways to control trade events using the means of MQL5. I must mention that a few articles have already been dedicated to this topic. "Processing of...
Hi experts, I've searched the forum but didn't find any topic relevant to my question so here goes. Is there a way in MQL4 to check how long a pending order has been sitting in the system and has not been executed? This is more of a sanity check for me to verify the expiration time set for pending...
Hello, I have just created EA and want to incorporate trailing stop. EA will be launched for several pairs which have different trailing stop levels. How it is the best way to write that trailing stop script into ea which will operate differently for each pair differently? Is it good way to do it...
I found a great indicator that tracks the daily performance in real time of all the currency pairs on my list. Its a great indicator, unfortunately I can only see the first 10 pairs. It would be very helpful if the indicator can be sorted in ascending order and maybe another one in descending order...
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.