Create an EA based on my personal Indicator (which needs modifying too to become compatible with EA)

MQL5 Indicators Experts C++ Forex

Specification

I have a personal Indicator called "Indicator48". I have also created another indicator called "CloseLine" that draws the candlestick bar's CLOSE prices.

What I want is an Expert Adviser (Strategy) to:

1. When "Indicator48" crosses over the "CloseLine", Exit short position and Enter long position.
2. When "Indicator48" crosses under "CloseLine", Exit long position and Enter Short position
and Repeat...




I will need a code to do the above (2 points) for each of the 5 cases below: (5 codes total ; or 1 code that has all the below features that I can control through editing of the code)

1. Can trade more than once a bar (each time the lines cross and uncross within a bar)

2. Trade after lines cross but at the close of that bar

3. Trade only once a bar: when the first trade happens in that bar (when lines cross), that will be the only trade that happens in that bar. In the next bar, also only one trade happens (either closes previous position if lines uncrossed, or remain in that position if lines did not uncross) - but the idea is only the first trade happens in the bar, and then the next trade will happen in the bar after if indicator changed directions.

4. Trade multiple times per bar, but with a specified time between trade and trade (for example 1minute between each trade)

5. Trade multiple times per bar, but with a specified number of ticks/transactions between each trade (for example, wait 10 ticks/transactions between each trade happening)

Extra notes:

a. for code number 4, I want to experiment with different time periods (10s, 50s, 2minutes...), so please clearly indicate with a comment where I should change the time period values.

b. for code number 5, I also want to experiment with different specified number of ticks/transactions, so please clearly indicate with a comment where in the code I can change the number of transactions before a new trade happens.

c. also lastly, i might experiment with different indicators that I have, so please show clearly in the code which part, which is the indicator I should be changing, to test out my different indicators. 

d. as for Indicator48, I have written code in MQL5, but it is not functioning well when I try to paint the line... so I will need developer to edit the Indicator48 so that it paints the line and is compatible with the EA to be done.


Files:

Responded

1
Developer 1
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
2
Developer 2
Rating
(68)
Projects
111
26%
Arbitration
17
6% / 71%
Overdue
15
14%
Free
Published: 9 codes
3
Developer 3
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Published: 1 code
4
Developer 4
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
5
Developer 5
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
6
Developer 6
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
7
Developer 7
Rating
(73)
Projects
257
53%
Arbitration
16
50% / 38%
Overdue
83
32%
Free
8
Developer 8
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project

Project information

Budget
70 - 100 USD
Deadline
from 1 to 2 day(s)