[HELP] Creating an Expert Adisor for Backtesting MT4

 

Hello, I want to create an expert advisor to run a 'backtesting' MT4

His function is very simple.

First, I'll set two times "(hour/minute)", for example, input_1 = 13:00 , input_2 = 13:25.

As an output I would like to have an answer if the price during this period has gone up or down, and also inform how many points it made.

For example:


MT4 Analizer:

date: 01/01/2019 to 01/02/2019 | inputs: 13:00 to 13:25;

outputs: price risers 'call' 10pips | price went down 'put' 5 pips.


Does anyone have any drafts or something similar so I can make changes?


I know a little bit of programming, but with MQL4 I'm newbie. I can only make some adjustments, but not start from scratch.

 
alvaroshn:

Hello, I want to create an expert advisor to run a 'backtesting' MT4

His function is very simple.

First, I'll set two times "(hour/minute)", for example, input_1 = 13:00 , input_2 = 13:25.

As an output I would like to have an answer if the price during this period has gone up or down, and also inform how many points it made.

For example:


MT4 Analizer:

date: 01/01/2019 to 01/02/2019 | inputs: 13:00 to 13:25;

outputs: price risers 'call' 10pips | price went down 'put' 5 pips.


Does anyone have any drafts or something similar so I can make changes?


I know a little bit of programming, but with MQL4 I'm newbie. I can only make some adjustments, but not start from scratch.

Put up as a job in Freelance section if no one helps you for free here

 

Here's a template to do something between two times of a day.

https://www.mql5.com/en/forum/311877/page2#comment_11460562

Stop Trading Between Times
Stop Trading Between Times
  • 2019.04.25
  • www.mql5.com
Hi All, I've searched all over the forum, but I can't find a way around my problem, which is to prevent my EA from continuing to trade between two...
 
lippmaje:

Here's a template to do something between two times of a day.

https://www.mql5.com/en/forum/311877/page2#comment_11460562

Kenneth Parling:

Put up as a job in Freelance section if no one helps you for free here

If someone are interested about it, I can pay.

 
alvaroshn:

If someone are interested about it, I can pay.

Post your request as a job in Freelance and stop posting emails and payment methods, it doesn't work like that here.

 
alvaroshn:

If someone are interested about it, I can pay.

if you have the ability to pay as you write, what's keeping you from posting your idea as a job in Freelance?

I think i know what the problem is.... the mentality of 'I want this, i want that and for free without doing anything myself'

Another great suggestion - Start learn how to code yourself ;)

Reason: