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

Trabalho concluído

Tempo de execução 4 dias
Comentário do cliente
Very responsive and did an awesome job quickly! Highly recommend!

Termos de Referência

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

 


Respondido

1
Desenvolvedor 1
Classificação
(174)
Projetos
200
12%
Arbitragem
39
38% / 33%
Expirado
5
3%
Livre
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
(213)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
3
Desenvolvedor 3
Classificação
(16)
Projetos
19
11%
Arbitragem
3
0% / 100%
Expirado
2
11%
Livre
4
Desenvolvedor 4
Classificação
(71)
Projetos
103
20%
Arbitragem
6
0% / 83%
Expirado
3
3%
Livre
5
Desenvolvedor 5
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
1
50%
Livre
6
Desenvolvedor 6
Classificação
(66)
Projetos
95
28%
Arbitragem
20
25% / 55%
Expirado
24
25%
Livre
7
Desenvolvedor 7
Classificação
(17)
Projetos
24
33%
Arbitragem
5
20% / 40%
Expirado
8
33%
Livre
8
Desenvolvedor 8
Classificação
(5)
Projetos
9
0%
Arbitragem
1
100% / 0%
Expirado
3
33%
Livre
9
Desenvolvedor 9
Classificação
(96)
Projetos
143
76%
Arbitragem
0
Expirado
2
1%
Livre
10
Desenvolvedor 10
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
11
Desenvolvedor 11
Classificação
(87)
Projetos
114
26%
Arbitragem
7
29% / 57%
Expirado
5
4%
Livre
12
Desenvolvedor 12
Classificação
(69)
Projetos
146
34%
Arbitragem
13
8% / 62%
Expirado
26
18%
Livre
Publicou: 6 códigos
Pedidos semelhantes
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Purpose Develop a transparent and conservative Expert Advisor for MetaTrader 5. Profit is not guaranteed; acceptance is based on correct implementation, risk controls and reproducible testing. 1. Platform and instruments - Native MQL5 Expert Advisor for MetaTrader 5. - Symbols: EURUSD and USDJPY. - Working timeframe: H1. Higher-timeframe trend filter: H4. - Must support standard broker symbol suffixes/prefixes and
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
We are seeking an independent technical reviewer for a frozen Python evidence/specification candidate related to an XAUUSD paper-trading risk system (ALKOOS-AI). This is NOT a request to develop, modify, optimize, or execute a trading robot or trading strategy. The task is limited to independent verification of a prepared evidence package. The reviewer should verify: Integrity of the supplied frozen artifact using
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled

Informações sobre o projeto

Orçamento
30 - 40 USD