Tarea técnica
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
Han respondido
1
Evaluación
Proyectos
12
33%
Arbitraje
2
0%
/
100%
Caducado
1
8%
Libre
2
Evaluación
Proyectos
228
80%
Arbitraje
22
27%
/
50%
Caducado
11
5%
Libre
Ha publicado: 24 artículos, 1882 ejemplos
3
Evaluación
Proyectos
72
22%
Arbitraje
13
46%
/
15%
Caducado
5
7%
Libre
4
Evaluación
Proyectos
568
35%
Arbitraje
83
30%
/
45%
Caducado
206
36%
Trabajando
Solicitudes similares
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
Maximas e Minimas + Super Trend
35+ USD
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
V3 PRO Auto-Scalper EA
40+ USD
//———————————————————————————————————————————————————————————————————— 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 () {
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
Información sobre el proyecto
Presupuesto
30 - 50 USD
Plazo límite de ejecución
de 1 a 10 día(s)