Expert Based on Prior Candle High, Prior Candle Low, and Current Candle Open

Работа завершена

Время выполнения 4 дня
Отзыв от заказчика
Very responsive and did an awesome job quickly! Highly recommend!

Техническое задание

The idea of ​​the expert

Create an expert that allows for back-testing and live trading for forex based on the previous candle high, previous candle low, and current candle open.  If the close of the prior candle is closer to the high, then go long with the prior candle high as take profit.  If the close of the prior candle is closer to the low, then go short with the prior candle low as the take profit.  Please calculate the ratio of the current open to the high or low by using these formulas below.  Each value should be between 0-1. 

For long entry ratio: (current candle open price – prior candle low)/(prior candle high – prior candle low)

For short entry ratio: (prior candle high – current candle open price)/(prior candle high – prior candle low) 

  Inputs are:

·         Minimum ratio to enter trade:

o    Example: only take long trades if ratio is greater than 51

·         Maximum ratio to enter trade:

o    Example: only take long trades if ratio is less than 90

·         Profit target

o    For long trade, take profit is the high value of prior candle or close trade at the close of the candle.

o    For short trade, take profit is the low value of the prior candle or close trade at the close of the candle.

·         Stop loss

o    Allow the stop loss to be a multiple of the take profit range.

o    For example, for long trade the profit range is: prior candle close – current open

o    Allow a multiple of this range for stop.

o    Example: Enter 2 and the stop loss will be twice the size of the take profit.  Enter 1 and the stop loss distance will be the same as the take profit.

·         Risk

o    Be able to select risk % of total account balance

·         Lot Size

o    Based on the stop loss distance from entry and risk %, automatically calculate appropriate lot size

o    Round to nearest 0.01

o    For example, if risk is set to 1%, then automatically calculate lot size give the distance to stop loss, so that 1% is risked per trade.

o    Formula should be: Balance*Risk%/(entry price – stop loss price)/CurrentPipValue/100000

 


Откликнулись

1
Разработчик 1
Оценка
(173)
Проекты
197
12%
Арбитраж
38
37% / 34%
Просрочено
5
3%
Загружен
Опубликовал: 2 примера
2
Разработчик 2
Оценка
(213)
Проекты
246
45%
Арбитраж
42
10% / 57%
Просрочено
5
2%
Свободен
3
Разработчик 3
Оценка
(16)
Проекты
19
11%
Арбитраж
3
0% / 100%
Просрочено
2
11%
Свободен
4
Разработчик 4
Оценка
(71)
Проекты
103
20%
Арбитраж
6
0% / 83%
Просрочено
3
3%
Свободен
5
Разработчик 5
Оценка
(1)
Проекты
2
0%
Арбитраж
0
Просрочено
1
50%
Свободен
6
Разработчик 6
Оценка
(66)
Проекты
95
28%
Арбитраж
20
25% / 55%
Просрочено
24
25%
Свободен
7
Разработчик 7
Оценка
(17)
Проекты
24
33%
Арбитраж
5
20% / 40%
Просрочено
8
33%
Свободен
8
Разработчик 8
Оценка
(5)
Проекты
9
0%
Арбитраж
1
100% / 0%
Просрочено
3
33%
Свободен
9
Разработчик 9
Оценка
(96)
Проекты
143
76%
Арбитраж
0
Просрочено
2
1%
Свободен
10
Разработчик 10
Оценка
(281)
Проекты
454
39%
Арбитраж
93
42% / 18%
Просрочено
73
16%
Занят
Опубликовал: 2 примера
11
Разработчик 11
Оценка
(87)
Проекты
114
26%
Арбитраж
7
29% / 57%
Просрочено
5
4%
Свободен
12
Разработчик 12
Оценка
(69)
Проекты
146
34%
Арбитраж
11
9% / 55%
Просрочено
26
18%
Свободен
Опубликовал: 6 примеров
Похожие заказы
Hello to all, I'm looking for a coder that has a great attention to details and is able to code me and EA that works on anytime frame chart.. For example H4 chart, currencies, indices, stocks, or commodities using a fast MA (e.g. 20) crossing a slow MA (e.g. 120) as its core signal, with optional confirmation filters (RSI levels and H4 candle breakouts). It must be fully configurable with MA periods, ATR settings
I am looking for an experienced and reliable MQL5 developer to complete an Expert Advisor (EA) project that is already partially developed. The previous coder abandoned the project close to completion, so I need someone who can step in, quickly understand the existing code, and professionally bring it across the finish line
Hello, I have a GUI that needs 2 adjustments. The first is to have it load up to the right of the screen. The other is to check the box "None" in the 3rd ticket window. I think I've located the error (rb 3 false). I don't know how to edit the Designer Generated Code. I also don't know how to move the GUI. I've gone in there and moved some lines around for aesthetic purposes and adjusted the font but that's as far as
Hi guys My grid EA has some bugs and I would like to figure out, what lead into my losses. I made a document with all the bugs I have found. It must be something with Global Variables and mathematical levels it ignores. The logic behind is very complex and the EA has approx. 4500 lines of code. Requirements: - Math understanding - Understands mql5 and clean coding What does the EA: - It continuously monitors the
i need an expert to converting trading view script called Renko chart into meta trader5 EA automated robot, i need an expert that can get it done in 5 days here is the link to the code /
I have a pine script from tradeview and I'd like you to convert it in js ECMAScript (ES6) so as to use in the trendspider, Please find a link to check which one is it. https://charts.trendspider.com/scripting/docs/#/scripting_language if you are an expert and you can do this work bid
All entry/exit conditions, signal filtering, EMA, ADX, and ATR calculations, as well as confirmation candles, must be implemented without any changes . Signals must appear exactly the same as they do in TradingView: On the same candles , in the same direction . Optimized for detecting spikes/drops in Boom and Crash indices on the M1 timeframe . User-friendly interface: Ability to configure the following parameters
Hello, I need an expert coder who can help me convert my tradingview pine script to mt5 EA expert advisor, This is the pine script https://ctxt.io/2/AAB4SyWXFQ Also I need for EA to enter trades exactly like this strategy on TradingView, i attach, please i need someone wo can do the work not time waster, Live market order should be placed on green and red indicator chart
I’m looking for a custom indicator that can scan for ICT Smart Money "Breaker Structures" and alert me when they form. What I Need: The indicator should analyze markets (Oil/Gold/ but mostly Crypto (BTC)) for Breaker Structures—where price breaks a swing high/low but gets rejected, signaling a potential reversal. I primarily use TradingView, so I'd appreciate it if the script is compatible with TradingView and can
Existing MQL5 EA uses MA and Smoothed Heiken Ashi for entry conditions. Architectural design is as follows: 1. Modified smoothed HA indicator to write/update global variable to indicate direction change which is picked up by the EA. 2. 21 period LWMA used to confirm trend direction for entry. After reading articles on MQL5 (see especially "Neural Networks for Algorithmic Trading" by Dmitriy Gizlyk ) I have included

Информация о проекте

Бюджет
30 - 40 USD
Исполнителю
27 - 36 USD