hi guys i tried to make system to back test my theory however when i try CoppyBuffer seems Maximum number it work is 35 ! so wondering if there is any workaround this limitation?! since i want whole year buffer eb examined oh btw its not for iCustom just official indicators buffered tnX for help in
Hi, I created a EA using Expert Advisor (generate), when i use backtest everything works fine, tp and sl works perfectly, but when i use the EA in the real market everything stops working. The EA opens a position and adds tp and sl but before the trade ends it starts another one but this time it...
Hi I have an EA which i gather information I need (Bar information and iMACD for example) and send it back to python for calculation and as what to do. I want to add a function that when I star EA, sync the data with python. here I explain more: python send the date and time of the last bar that has
Hi, New here, so please forgive the usual lack of understanding! I want to put a trailing stop loss on a trade, that only kicks if the trade moves a certain distance from the entry point. I've been trying to research EA's all day, but with no coding knowledge its baffling me. It doesnt seem like
Hello, I'm using an Sqlite database to do some documentations. It works perfect when making a single test. But during optimization the database access (= create some records) only works in the "OnTesterDeinit()" event. I tried to access a Sqlite Database during optimization in the OnTick event. But
I need a EMA crossover EA which will work on Multi time frame. Can anyone help ? Thanks :-)
Hello Guys, I attached an image where an order is placed with Price: 94460, Stop loss: 93960 and Take: 94560. But the transaction was closed with only 10 pts, at 94470. What I can do in my code to prevent this? Best Regards, Logs: 2020.10.06 23:47:32.962 2020.10.05 11:17:16 instant buy 1 WIN$D at
Good evening, I would like to use this open source ea for personal use but I realized that it does not have the comment function at the opening of orders, so it does not track us and you could get confused with other manually opened positions. it's possible? Can anyone help me? Thank you
About 60% down on this page describes the [tester] parameters that one would put into a configuration file to run a strategy test from the command line. https://www.metatrader5.com/en/terminal/help/start_advanced/start As examples: Model — tick generation mode (0 — "Every tick", 1 — "1 minute OHLC",...
I dont know how can i modify my SL and TP. I've tried allmost everything. I just can't change it to TP=50 and SL=20 pips. Anyone can help me? //+------------------------------------------------------------------+//| EMA EMA STOCH.mq5...
hi! can anybody help me build an ea that opens a buy and sell order every candle closed within a specific timeframe
How to code and EA that is triggered by two indicators that doesn't give signals on the same bar ?!
(1)
I wonder how to make an EA that is triggered by two indicators ( leading / lagging ) .. I mean that their signals does not appear on the same bar ?! For Example : if I am using a stochastic cross as a primary signal and I want the EA not to start the buy or sell order till it gets a confirmation
hello guys, im new here and i already tried hard to find out want i want buy still cannot find it yet i really need help to find this EA or can some one create this EA Can anyone help me please? I want EA that can auto modify TP/SL both Buy/SELL Oders to xxx pips or xxx prize base on break...
Could anyone make a very simple EA with a button? With this EA I'll press buttons the whole day to see if I'm good at it. EA should have: - If I press the sell button, then EA should open sell 1 lot + at the same time buy 0.9 lot, 10tp/sl - add same button, but for buy - add sell button with tp/sl...
input int volume, rsiP, bandP;input double sl, bandD;input ENUM_TIMEFRAMES tf;input ENUM_APPLIED_PRICE bandAP;bool ok = false, closing = false;//+---------------------START TIME CLASS-----------------------+datetime cStartTime(int pstartHour= 0, int pstartMinute= 0){MqlDateTime...
Hi ! Can someone help my EA, i need it to open a position when the K and D lines are crossing above 20 and then close that same position when it crosses down 81, that is for the bullish positions. I also need it to open another position when the stochastic crosses down 80 and then close the position
Tried setting up multiple currency pairs for trading from within in the expert for the first time. Everything seemed fine, with trades from every pair showing up in the backtest report on MT5. However, just for the hell of it I tried changing the pair on the settings panel in MT5. I assumed this
[Deleted]
Can We define functions that like Print("Hello","World"," !"); http://www.equestionanswers.com/c/variadic-function.php Can I define these fuctions in mql4 or mql5?
Hello, I am currently looking for the reason of a repaint issue that only occurs in the MT5 backtest. The following question: I do a backtest in the M5 period, modeling "Every tick based on real ticks". My EA fetches the data of the last D1 candle for every new M5 candle. Does this D1-data
I have this code: double previousBar_open = ( double ) iOpen ( _Symbol , PERIOD_CURRENT , 1 ); double previousBar_close = ( double ) iClose ( _Symbol , PERIOD_CURRENT , 1 ); double previousBarDifference = NormalizeDouble (previousBar_close - previousBar_open, _Digits ); Print
(see attached file) i can't figure out why this ea doesn't show the buttons in a new window. When i start it on a window literally nothing happens. Any help would be appreciated! //+------------------------------------------------------------------+ //|
I have a certain month in my backtest that is consistently abberant (March 2020) and skews my strategy. How could I exclude that month from testing? Thanks!! 😎
How can I do the EA draw in chart using a function? I want to get to this here
Hello, I try uploading my EA to the market, but keep getting "there are no trading operations", I put necessary validations and when I test it from my terminal tester it works in multiple Forex pairs and timeframes combinations. I have already read the following articles, please don't bother...
please see attached file, thank you
Hi all, I'm trying to get my EAs to talk to each other, as simple as it gets, and I would appreciate some help. Since the majority of brokers in my country offer only netting accounts, I'm currently trading with 5 different brokers. For each of them I use an EA, which runs the same script, but using
I tried uploading my product file in seller section.After all the sections such as naming, description & screenshots ,now at validation there is error "invalid lot size for open order", When i test it on my side for several pairs.timeframes,with different spreads,different broker,and with very big
I'm trying to create a line that follows the following settings to form a triangle: -starting from the lowest price and linking the inteception between line3 and SQ2#DOWN -starting from the highest price and linking the inteception between line3 and SQ2#UP the image illustrate my intention
Is it possible to create ONE one-size-fits-all EA, especially, as it comes to different market conditions, that can perform well in, said different market conditions? I ask because Ive recently created an EA that does great within one range of time but bad within another...its cyclical..and im
Hi, just got started using MQL5 and wanted to test some indicators in an EA. When I tried testing it using the "minute" time frames (1min, 5min, 30min), the indicator appears on the chart as the backtest runs. However, when I shift it to the "hourly" or "daily" time frames, the strategy tester does

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.