What is the best time frame to download tick story data into? Thanks
i need help with this custom indicator, it works well for pairs with value greater than 1 but flops for pairs with values less than 1
I use RSI divergence as my scalping strategy, the information candlesticks provide is important but i also like the simplicity that a line chart provides in help finding patterns, so I've attached a Simple Moving Average of 1 (SMA1) to the chart which acts as a line graph on top of my candlestick
I am writing to code so that when my custom indicator which is the hull moving average changes from green to red or red to green It will execute the proper order. This is my pseudo code: if the current color of the hull is green and the previous color of it was red: buy if the current color
I have a global bool variable (WPR_OS) that is set to "false" and I also have code that will set it to false under certain conditions but it will not be set to false when I run it in the ST. I have even included it in the initialization function, int OnInit(), but still it refuses to be set to
Hi. So I just started learning MQL4 and was testing if I could send order at Ask price on USDJPY. However, whenever I try to run the program on MT4, I keep on getting "Error 130", although I set SL/TP far apart from Ask price. Why is this happening?? void OnStart () { //--- Alert ( "" ); int
I set the notification with metaquotes ID before, and it worked. But suddently, it comes up with --- Notifications: not sent to 'xxxxxxxx'. How can I fix that
Hi, does someone know how mql5 determines if an MT4 is on a new computer? I am trying to figure out what changes I can make to a computer or VPS without losing a license. Kind regards, Tibor
Hi There, I have a wonderful indicator I'm wanting to use. But I'm running a test from year end 2019 back to January 2017. The indicator I'd like to test only goes back and then the MA line starts to ascend off of the chart at around December 2017. Is there a way to make this indicator work as far
[Deleted]
#property strict//---void OnStart(){ Print(typedef);} I know this code is not syntactically correct. But just try compiling it then post your comment
Hi guys, fresh member here. Is there any scalping bot you can suggest or i should just use copy trade
Hi coders... I want to make an EA base on Equidistance Channel for MT4, the channel is created but able to read price values of one line of the channel by ObjectGetValueByShift(), but can't read the second line value,... Please help me and the problem is fully discribe through by the attached
Hello MQ4 community, I am having a weird situation. I have EA that has OnDeinit function, that works sometimes but other times it does not. Is there like a "session save" type of situation here ? I mean code I have is pretty straightforward as below
Hello everyone, I have an issue with the subject. I draw 1 object only on the chart. I tried to print the create time of the last object I made on the chart, but I get different time of 3 hours. Market Watch show time 16:05, but I get 13:05 on the print result. int totobj = ObjectsTotal (); for (
Hi everyone, I'm trying to download the Moving Averages crossover indicator and when I click 'download' the link it takes me to doesn't work for me, I think this is because I'm using MT4 on a Mac with Wine. The only custom indicators I have so far, I have downloaded as .ex4 files and manually put...
Hi guy's and girls! I want to make EA from custom indicator (attached). Problem is that I can't find any software except web site eabuilder.com that is paying almost 100$ to create from custom indicator. Can you help me? It's a fairly simple indicator that signals buy and sell opportunities using...
How long did it take to get the trading account setup and not just the demo
I work on MQL4, Can I move the mouse by my indicator, ea or script? Thank you, guys for all your help
What are the Parameters for the Bollinger band in MT4
Hi, I am making simple Expert Advisor Based on REVERSAL camarilla equation with only FOUR entry criteria, 2 for Buy and 2 for Sell. A. Entry Point for Buy 1. when Ask price crosses above L4 2. when Ask price crosses above L3 B. Entry Point for Sell 3. when Bid price crosses below H4 4
I am reading data from a csv file but not all of the data is being read. The code I am using is below: #property strict #include <stderror.mqh> #include <stdlib.mqh> datetime open_time; string symb; string type; double lots; double price; void ReadTradeData() { int i = 0 ; int
Good mornig, I'm writing an expert advisor that set a counter for the order opened on the current symbol. This is the code. int CountSymbolPositions= 0 ; for ( int trade= OrdersTotal ()- 1 ;trade>= 0 ;trade--) { if (! OrderSelect (trade,SELECT_BY_POS,MODE_TRADES)) continue ;
hello, I have a problem in receiving data when beacktesting in MT4. I was trying to run the simple EA: void OnTick () { double low[]; Print ( CopyLow ( _Symbol , PERIOD_M1 , 3000 , 30 ,low)); } When I run it on back test I always get -1 (error), but when I run it at live I get 30 (success)
Hi, does anyone know why Alert(array1[]) is showing values of 0? Even though LineBuffer1 is plotting the line correctly with values. Thanks #property indicator_separate_window //#property indicator_minimum 0 //#property indicator_maximum 1 #property indicator_buffers 1 #property indicator_plots 1
Hi. I've been coding on tradingview now i'm trying to convert a simple code to an EA. the trading view part i'm trying to copy is: //-------------------------------------------------- BuySignal buySignalStage1 = close<lower buySignalStage2 = buySignalStage1[ 1 ] and close>close[ 1 ]
I have an EA which works perfectly in the strategy tester but when i try to attach it to a chart and the happy smiley face is on, the robot does not make a single trade. Can anybody tell me why or how or maybe have a look at my code and see the problem?
hi, please, could you help me ? i wrote a smple EA : if ( open - Ask ) > x then buy at market, stop and target 10 pts. on mt4, target is reached on current candle, and with mt5 target is reached on next candle. On attached file, you can see (history tick snapshot) that target price can be
Hi all, I trust/hope you are safe and well during these unprecedented times? i'm wondering if someone has code for MT4 that(?): 1. Detects a bounce of price action off an EMA or an SMA; showing the candle where price intersects, bounces or comes near the MA Then also code that shows the candle
Ok, I'm going to try going about this a different way. I'm trying to add an alert to a particular moving average indicator that I have come across. I want an alert to pop up when a candle opens on one side of the moving average and closes on the other side of the moving average. I have zero mql4
Hello, I cannot download and install an EA on my computer. When I am on the marketplace and click on "Download" nothing happen ... I am running MT4 on a mac then it is under Wine I use it. My broker is FBS. Do you know how to be able to download EA from the marketplace in these conditions

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.