[Deleted]
Hello sir how to show copy right on the chart lets say #property copyright "Copyright 2012" but this is not working on my chart ?
my EA has written the value of "Bars" to the MetaTrader log file. Since yesterday afternoon there is an unusual phenomenon. Nearly every two hours, the value is reducing by 128 points. example given: time value of Bars14:30 120014:31 120114:32 120214:33 107414:34 1075...17:41...
[Deleted]
Today i got a never seen before error when i tried to compile. It read like this "Variable name too long". I dont recall reading anything like maximum variable name length in mql4 book. Could this mean some things weren't published in the book?
[Deleted]
Hi, I've read https://www.mql5.com/en/forum/46695, but I still don't know how to test, if a string == NULL. The following results in false: string Str;string NullStr; Str = NULL;Print(Str == NullStr); So what's the solution? Thanx.
I have an EA where I call a custom indicator and have some simple code to read shift 0 and shift 1 and do some comparisons with it and when a certain condition is true I generate an alert signal. The problem is that instead of getting this one alert signal I get several signals and I cannot...
[Deleted]
hi guys, i have the following problem, Im using a High and Low Period check for opening trades in my expert. For example, (Highest+Lowest)/2 is MIddle point it must buy below the middle point and sell above the middle point double HM1ask =MarketInfo(M1,MODE_ASK); //M1 is the pair, it's multipair
I would like to program indicator similar to this one: ZigZag with Its Own "Channel",but instead of channel lines ends in ZIGZAG tops/bottoms, they should follow until price breakout/touches this line. Here is an example of such an indicator: I can see some issues regarding such an indicator, due...
[Deleted]
Hi can some body tell me how to close the orders when a new comes means when a buy comes it close all orders related to sell and when sell comes closes all the order related to buy?
Hello everyone, I find have a different candlestick on my broker MT4 platform and Netdania chart. So that, It effect to my strategy when i compare value : High, Low, Open, Close of any candles on chart. I thinks that Netdania chart is better than MT4 broker and best for price action. So, anyone can
Hi Guys, See below. I am using MT4 Build 509 on an Australian Global Prime ECN broker. 1. I cannot seem to use the loop variable i as the buffer array index directly. Have to change it to something else: shift = i, for example. Reversing shift and i give same result: a dark screen. No compiler...
[Deleted]
Hi folks, Help needed. My advisor creates support and resistance levels in the main window as the day goes.. Those levels have certain life duration, which I define. When TimeCurrent() > exp..., the lines are removed. Everything works fine, but only when there is just one pair of levels on the...
Hello, I am working on an EA and have a problem with my BE function. For Example: BUY 1.00 BUY 1.10BUY 1.20Calculation of the BE is easy, it would be 1.10, so close all Trades if < = 1.10 But what do I do if I have this situation? BUY 1.00BUY 0.80 BUY 0.85First the BE would be above the price of...
Normally in the Setting tab in the metatrader 4 mobile for iphone got a message option and in it to find the metaqoutes ID. Since last night, i stop receiving notifications and reinstalled the new version build 505 and message is missing.
Hey Guys, my skills in MQL4 aren't that sophisticated so I have no idea why I get the Error 4051 all the time. It would be also very helpful I one could explain in more detail to me what an invalid ticket is, maybe I'll figure it out by my own then. Thanks in advance! This should the relevant...
Dear Members, I would like to find an add-on, or extra software for MT4 that would enable to do market replay (in a faster time than real preferably) and also paper trade at the same time. Could you help me with possible suggestions please ? kindest regards Peter
[Deleted]
Recently my send notification is no longer working for my EA. I have try testing directly using test notification from the option dialog from mt4 and got 403 error from the terminal window. Appreciate if anyone throw some light on why the notification breaks and how I can resolve it? Thanks.
[Deleted]
#property copyright "Copyright 2013, MetaQuotes Software Corp."#property link "http://www.metaquotes.net"//This ea sets the stop loss for a trade, given the lots used in the trade and the risk factor inputed. extern double risk_factor = 0.02;extern double reward_risk_ratio = 2.0; int...
[Deleted]
Hi, Experts Please advise me how to open chart windows always in maximized form specially when CTRL + TAB is used to change chart windows already saved in profile. Kind regards wkurukul
Hi, Someone help me. How to know runing expert name in other indicator? thx
[Deleted]
Very good, I wanted to get a file with OHLC historical data, fractal and zigzag. I developed what I think is the main part, and I'm learning MQL4 language. But the rest of code would be to get these EURUSD historical data on all timeframes? thank you very much for ( int i= Bars - 1 ;i<= 0 ;i--) {
hi all, i just finished writing an EA. the EA works just fine, only that it generates many alerts. every time after the conditions have been met(crossovers) if there is a movement in the 5th digit there is an alert. Isn't the shift field used to take values from "x" bars relative to the current one?...
Hi, please if s.o. can confirm or tell me a mistake or if s.th. is missing except the the code to admin. the targets before and after this: I want to catch if the new target for a buy-position is too close to the actual price: double pointProfitBuyTarget = (qtsTarget - Bid)/Point;if...
I just setup MT4 on another machine. After downloading historical data from MetaQuotes for GBP/USD, I then tried to test my EA in StrategyTester, but nothing happens. The screen is stuck on 'waiting for update'
I have looked around, and I have determined how to use the time of day / day of week to determine strategies in my EA. My question is, does this actually work in the strategy tester? (I am not sure how the strategy tester pulls the time) - Props to Raptor for this source code btw. Additionally...
Hi everyone I am kinda new to programming and am currently trying to code my own EA. when im tried to backtest my EA using the ordersend() function, the EA starts to execute too many new orders and thus ccausing the EA to overload and thus getting the error 148. According to my understanding, the...
With the help of forum members i have been able to put together an EA. Now while my EA was running i noticed that every time the EA generated an alert, the journal shows "custom indicator oscillator removed." Just for convenience the indicator is also display on the terminal. so every time there an...
[Deleted]
Couple hours ago I downloaded and tried to use two EA. I've found the manual how to optimize the strategy: http://www.easyexpertforex.com/backtesting-optimization.html . I have run the optimization and the optimizer gave me many results. The best result was copied to input parameters and then I...
Hi I creat New EA,when I test it in Strategy tester in MT4,it work for some day then screen is freezed without any error in journal tab!!! can any one Help me!!
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.