I've been trading a few years for myself, I have some success for a few months then fall into same old traps of chasing, FOMO, hanging on, basically discipline! So wasting a lot of time trying to get it right! I would like to try a few EA's that can stick to the rules! But where do you start looking
I am trying to get the value of a trend line drawn by the user on the chart. Any ideas? I can't figure out a proper way to draw a trend line since there is so much personal intuition on what a pivot point would be considered. Is there a way to get the value of the trend line so I can use it to code
Hello guys I am watching for a EA which copies Whatsapp messages to an EA. Does anyone know an EA? i already build a program to read out SL TP and BUY SELL. If i copy them in a Text is it possible that an EA can read them and copy in to a signal? Hope for help thanks. Regards Steve
Wishing all a happy weekend. I have coded a IsNewBarSession, which is supposed to return true at first cross of timeStamp with cATS.checkTimeCross(vHour,vMinute,vCurrTime,vPrevTime). I could not apply a proper logic/condition to return [false] if timeStamp have been crossed. For Asian Session start
I would like to "just" add + 3 columns of user criteria, as I would like to come out with 3 different formulas straight from 1 optimization instead of running the optimization again to come out with another user criteria value. I made the 4 user discretion options in OnTester. But my question now is
Hi, All the variables bellow are double s, I'm accumulating them summing with other double s like: profit = ( double ) HistoryDealGetDouble (deal_ticket, DEAL_PROFIT ); but in the end, when trying to do a`MathRound`, simple as this, it returns error: withdrawn_sum = MathRound (withdrawn_sum, 2 );
Hello friends I want to implement the FiboFan object on the chart with the help of standard MQL functions. But it seems I forgot something because nothing is displayed. Is it possible to guide me? #property copyright "Copyright 2023, MetaQuotes Ltd." #property link " https://www.mql5.com "
Slippage is int value or double value? extern int Slippage = 3 ; //OR extern double Slippage = 3.0 ; OrderSend ( Symbol (), OP_BUY, SendOrderBuyLot, Ask, Slippage, BuyStopLoss_SendOrder, BuyTakeProfit_SendOrder, SendOrder_Comment + Li_12, SendOrder_Magic, 0 , Green);
Hi~Guys! Is it possible to cross time frames in practical EA development? For example, I want to go long when both 1 hour and 4 hours are long, or short when both 5 minutes and 1 hour are short. Can the code be put into practice? There will be no problem with the program logic during backtesting
Hello anyone know where i can find Magickeys mq5 source code ? cant see it in any of my folders
Hello! I need some help. I have an MT5 EA working right now based on the RSI Strategy. It works very well, but I wanted to make a change and I can't get it to work. There is only one position open at a time. Even though I have coded stoploss and take profit, I have them both with value 0. My buy
Hello! I have downloaded this EA which is free on mql Market Place " Candle by Seconds ". It works fine, however, cannot place any trades on the new chart created. Manually or by another EA attached , I get this [ invalid request ] error
//+------------------------------------------------------------------+ //| Naz Sell EAs (1).mq5 | //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com |
Automatic validation of all my products is stuck, how can I restore it??
Hey, guys! As the documentation well says, the function TesterStop can be used when the account reaches a pre-defined drawdown or when a certain amount of trades are executed to stop current testing. But I'm looking for other usages for it, since it drastically speeds up the optimization testing
There is a ea with a license key only for 1 account number . Can the account number simply be changed in the heading of metatrader 4
Hey everyone, been running into some problems and i'm a good 4 hours into spinning my wheels and i'm about to go down the rabbit hole in the forums/books so i figured it might be worth a shot to ask. I've been testing my EA on the strategy tester and for some reason when there's definitely a trade
Hi I used mt5. history_orders_get (f,t) and mt5.history_deals_get(f,t) but I got an issue understanding what are those columns : ['ticket', 'time_setup', 'time_setup_msc', 'time_done', 'time_done_msc', 'time_expiration', 'type', 'type_time', 'type_filling', 'state', 'magic', 'position_id'
Hi ! I created an EA based on SAR indicator, I have excellent results in backtesting (over 3 years) but as soon as my EA runs on a real account, it's catastrophic! Example: this Friday: loss -10$ in live in 18 trades, in backtest today (same EA): gain +50$ in 15 trades. I'm lost, can't be only
I am trying to figure out why only me and a couple other people experience certain bugs when doing forward tests ( https://www.mql5.com/en/forum/454524 ). I believe the bugs might be hardware related. After some experimentation I found out that the bugs happen when the number of inputs
If I am trying to output multiple lines, how do I do this? Comment("Apples");Comment("Oranges"); The code above will only output: Oranges As if it is being re-written on the same line again
Calculating a moving average on price data usually means the first few values of the MA buffer (usually the period), is empty. That makes sense. But on closer inspection I found that the first 8 values of the iDEMA buffer with period of 5 contains a random float value, far removed from the price
I created this topic in order to avoid creating a separate topic for each OOP question (I have already created several of these)
I have scripted and EA to get post request to my server with the required response but I am not able to add it to any chart it is getting removed automatically , however it is working perfectly when i am using OnTick() function , please do resolve this error
Hi, Since yesterday my copier doesn't work anymore on 1 account... I reinstalled, logged out and in etc but nothing changed. Any help here what to do? Broker says everything fine on their side
Hi, I want to write a set file inside an EA. The condition is like this, if time frame is PERIOD_M15 using this set value for this variable if it's PERIOD_M5 using this set value, in code would be like this FileWrite (filehandle, ... StringFormat (
I want to create a "robot" that would automatically find strategies, based on the indicators requested and some basic operands (>, <, ==, etc) the key is that I want to backtest using only OHLC data, NOT as an expert advisor. the way I test indicators now, is that I make a "backtest" but within an
[Deleted]
Hi guys, I was interested if anyone have some EA that is working stable on prop firms like FTMO and similar. All of them I was trying, free and paid were not good at all. I also tried freelance with job offer, here I was not successful as well with anything stable and performing for long term
Greetings, I run Backtest and Forward Test for an EA using two different modellings ("Every Tick" and "Every Tick Based on Real Ticks") in MT5 and I got totally different results "Every Tick" modelling was in profit and "Every Tick Based on Real Ticks" was in loss ! Which one is more valid and why
if I buy an expert advisor from MQL5 market with (let's say) 10 activations is it legal for me to re-sell the purchased EA for 9 activations? (me and another 9 traders use the same EA)
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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.