Specification

ZigZag based on oscillators is needed

The idea of ​​the indicator

Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators:

CCI
Chaikin
RSI
Stochastic Oscillator
Algorithm and Terms

The first stage is the construction of the Zigzag:

The overbought zone is determined as candlesticks, at which the indicator value Value > Lmax (Lmax=-20).
The oversold zone is determined as candlesticks, at which the indicator value Value < Lmin (Lmin=-80).
The values of Lmax and Lmin should be included in indicator parameters.
A yellow point should be added at the High point of candlesticks in the overbought zone—it is the H point.
A green point should be added at the Low point of candlesticks in the oversold zone—it is the L point.
If there is at least one L point between two H points, search for a LL point in the interval between two H points. The candlestick with the lowest Low price will be the LL point. Generally, the LL point is not necessarily an L point. Search for candlesticks with the lowest Low price.
If there is at least one H point between two L points, search for a HH point in the interval between two L points. The candlestick with the highest High price will be the HH point. Generally, the HH point is not necessarily a H point. Search for candlesticks with the highest High price.
Connect LL and HH points to draw a ZigZag. The default color is yellow. The first step is finished.




The second step is the color of the Zigzag:

Search for three consecutive HH points, which meet the following condition: each found HH point should be higher than the previous one.
If the same condition is fulfilled for the two LL points found between HH points, i.e. if the second LL is higher than the first one, paint all ZigZag legs between these five points in red.
If another HH and another LL points are found after these five ZigZag extremums, and they are located higher than previous HHs and LLs respectively, additionally color 2 ZigZag legs in blue.
Continue as long as the condition preserves. This marks an uptrend.
Similarly, search for decreasing LL points and repeat operations described in pp 1-4. These legs should be colored in red to mark the downtrend.



The third step is to add an option for specifying the type of the oscillator, based on which Zigzag will be constructed: CCI, Chaikin, RSI, Stochastic Oscillator.

So, the first parameter is the oscillator type, which should be set by an enumeration. The default value is WPR.
Add Lmax and Lmin parameters for each type. These parameters should have default values.
The names of the maximum and minimum parameters should contain the indicator name, such as WPRmax, CCImax, STOmax, etc.
Step 4 is to add a graphical panel for managing indicator parameters.

The panel should have check boxes with all types of oscillators, allowing to quickly switch between oscillators.
The panel should be minimizable and maximizable by a click.
We also need the possibility to move the panel on the chart
and to remove the indicator from the chart using options on the panel.




Calculations: the indicator will be used for working with charts and for optimization. Therefore, the algorithm should be fast and should not be time consuming.

The work will be accepted in stages, so every step must be completed in the right order.

Responded

1
Developer 1
Rating
(393)
Projects
549
40%
Arbitration
30
57% / 3%
Overdue
57
10%
Working
Published: 11 codes
2
Developer 2
Rating
(253)
Projects
316
29%
Arbitration
34
26% / 65%
Overdue
10
3%
Free
3
Developer 3
Rating
(15)
Projects
19
16%
Arbitration
5
40% / 40%
Overdue
0
Free
4
Developer 4
Rating
(23)
Projects
34
53%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
5
Developer 5
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(432)
Projects
632
53%
Arbitration
32
53% / 22%
Overdue
6
1%
Loaded
7
Developer 7
Rating
(21)
Projects
23
43%
Arbitration
1
0% / 100%
Overdue
0
Working
8
Developer 8
Rating
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(311)
Projects
558
35%
Arbitration
79
32% / 43%
Overdue
203
36%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(7)
Projects
5
0%
Arbitration
6
0% / 83%
Overdue
1
20%
Working
13
Developer 13
Rating
(101)
Projects
122
24%
Arbitration
22
27% / 50%
Overdue
8
7%
Working
14
Developer 14
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
15
Developer 15
Rating
(266)
Projects
598
35%
Arbitration
64
20% / 58%
Overdue
147
25%
Free
Published: 1 article, 22 codes
16
Developer 16
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
17
Developer 17
Rating
(5)
Projects
6
67%
Arbitration
0
Overdue
0
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(361)
Projects
433
54%
Arbitration
20
55% / 15%
Overdue
30
7%
Working
20
Developer 20
Rating
(563)
Projects
651
33%
Arbitration
41
41% / 46%
Overdue
11
2%
Busy
21
Developer 21
Rating
(2654)
Projects
3371
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
22
Developer 22
Rating
(19)
Projects
24
21%
Arbitration
0
Overdue
2
8%
Free
23
Developer 23
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(43)
Projects
74
50%
Arbitration
5
0% / 60%
Overdue
19
26%
Free
27
Developer 27
Rating
(33)
Projects
34
59%
Arbitration
1
100% / 0%
Overdue
1
3%
Working
Published: 5 codes
Similar orders
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
The basic idea of CRO is to simulate coral colonies that develop and compete for space on a reef, ultimately forming an optimal structure. Each coral in the reef represents a potential solution to the optimization problem under consideration. The reef is modeled as a two-dimensional N×M grid. Each grid cell can either be occupied by a coral or left empty. A coral is a coded solution to an optimization problem. For
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be

Project information

Budget
30 - 200 USD
Deadline
to 10 day(s)

Customer

Placed orders1
Arbitrage count0