Find more Data Mining And Management Remote Jobs posted recently Worldwide

Required AmiBroker Formula Language (AFL),Object Oriented Programming (OOP) freelancer for Amibroker AFL backtesting script using Object Oriented Programming job

Posted at - Aug 21, 2020

Toogit Instant Connect Enabled

I need an afl code that is used in the trading software amibroker. This file should help me backtest my trade idea. The buy and sell signals are simple moving average crossovers. Buy the security when 5 EMA crosses 13 EMA and goes above it and sell the security when the 5 EMA crosses below the 13 EMA. This is quite simple.

But the complex part comes next. I want to check if the previous trade was profitable or not. If the previous trade made a loss, then I want to get the highest highs and lowest lows of
1. All the candles between the open and close of the previous trade.
2. 10 candles before previous trade's entry.
3. 8 candles after previous trade's close.

The program should find the highest high and lowest low values among all candles from the 3 groups described above.

A new trade will be opened only if

1. the previous trade made a profit
2. the previous trade made a loss but the new trade's entry price is above the highest high or below the lowest low of the candles from the 3 groups described above.

The above rule ensures that we are not taking a trade in a sideways market. A trade will be taken only if price has moved away from the previous losing trade's range.

I would appreciate if you can write a simple code to carry out this task. I may have to edit this program myself from time to time. So I would appreciate if you use simple formulas to get this done. Adequate commenting along the use of functions necessary so that I can understand what is going on. The deliverable will be a complete .afl file that can be run on any futures database in amibroker.

Please do not use functions/processes that significantly slows down the software. For example, Amibroker suggests the following:
There are following areas of AFL programming that require some attention if you want to write multithreading-friendly AFL formulas:
1. Avoiding the use of OLE / CreateObject
2. Reducing use of AddToComposite / Foreign to minimum
3. Efficient and correct use of static variables
4. Implementing pre-processing / initialisation in the Analysis window
5. Accessing ---Equity symbol

If you think the price I offered is too low, please feel free to ask for a higher price.

About the recuiterMember since Mar 14, 2020 Russian Escorts
from Viljandi, Estonia

Skills & Expertise Required

AmiBroker Formula Language (AFL) Object Oriented Programming (OOP) 

Candidate shortlisted and hiredHiring open till - Sep 11, 2020

Work from Anywhere
40 hrs / week
Fixed Type
Remote Job

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Apply on more work from home jobs posted in Data Mining And Management category.