MQL - write code for news backtester

Completed Posted Apr 7, 2014 Paid on delivery
Completed Paid on delivery

I am looking to get two MQL functions coded:

Function 1 – GetNews():

will read attached csv file with news events into an array (defined as global variable in the expert advisor)

(the function will be called from the init() function)

Function 2 – IsNewsTime(int MinBefore, int MinAfter, string ccy3 (optional), bool ImpactHigh, bool ImpactMed, bool ImpactLow):

will search the array generated in first function and

check for both ccies of the current pair

if the current minute is within the time range (defined by MinBefore/MinAfter variables) of a defined news event (high, med or low) and returns true/false

this check should optionally be done for ccy3 as well if any value passed for this variable

the function should run only once per minute and not on every tick

functions should work in the same way in both backtester as well as in live trading

functions have to be compatible with old as well as new (build 600) Metatrader versions

I would like to have the code as short and efficient as possible and would need the code fully commented

Metatrader

Project ID: #5774800

About the project

7 proposals Remote project Active Apr 13, 2014

Awarded to:

ElSakr

I can do that, if you don't mind contact me to do that. and for more reference about me you can have a look to my profile. Regards, Amr

$50 USD in 3 days
(122 Reviews)
7.5

7 freelancers are bidding on average $87 for this job

eabuilder

Hey, Clear instructions. I'd be pleased to help you with this. My quote is $100 if no other complex options are added, and my turnaround between 1 and 2 business days. The only difference in this case between befor More

$100 USD in 2 days
(55 Reviews)
6.5
sangmane

Hi, I have check your csv format. It should be quite easy to code the functions you need. I can give mockup code after receiving response from you. Regards,

$111 USD in 3 days
(18 Reviews)
4.7
edakad

Hello, I have expertise in coding trading systems / strategies and completed many Amibroker projects. However I have expertise in C/C++ and Metatrader platform. Looking forward to work with you on this project. More

$80 USD in 3 days
(9 Reviews)
4.4
ankityadav712

Hello sir, I am a professional metatrader and having 2+years of experience in the same .I have made so many ea's, indicators,and scripts.I have read your instruction and i believe that i the person you looking and i a More

$35 USD in 1 day
(0 Reviews)
0.0
starbuxxx

Good afternoon, We are a team of MT4 / MT5 / MQL experienced professionals new to this site but quite familiar with programming and software development. If you have any questions or need any kind of assistance do not More

$155 USD in 5 days
(0 Reviews)
0.0