Add indicators into EA and fix some bugs

MQL5 指标 专家

指定

I use 2 indicators on the mql5 site as follows

FivePattern - https://www.mql5.com/en/code/7050

CandlePattern - https://www.mql5.com/en/code/19960

and zigzag.

I want to add 3 indicators to my EA

The indicators to add include

1. zigzag add 2 lines

zigzag 1: 12, 5, 3

zigzag 2: 24, 10, 3

2. Five Pattern

param 1: 12, 5, 3

param 2: 24, 10, 3

3. CandlePattern

There are 5 indicators in total

The way to add is as follows

int zigzagHandle_M15 = iCustom(_Symbol, PERIOD_M15, "ZigZag", InpDepth, InpDeviation, InpStep);

int zigzagHandle_H1 = iCustom(_Symbol, PERIOD_M15, "ZigZag", InpDepth2, InpDeviation2, InpStep2);

handle_candle_m15 = iCustom(_Symbol, PERIOD_M15, "FivePattern", ... InpDepth, InpDeviation, InpStep );

handle_candle_h1 = iCustom(_Symbol, PERIOD_M15, "FivePattern", ...InpDepth, InpDeviation, InpStep);

handle_candle_m15 = iCustom(_Symbol, PERIOD_M15, "CandlePattern15");

I want to pass the corresponding parameter

use

ChartIndicatorAdd(ChartID(), 0, zigzagHandle_M15 )

...

to add the indicator to the chart

and use

ChartIndicatorDelete(ChartID(), 0, "FivePatternH1");

...

to delete from chart when switching between timeframes

The error I encountered is that when switching between timeframes, the drawing objects of the old indicator are still there.


I need to fix that error and update me on how to pass parameters + color to the 3 indicator lines above.

A demo is mandatory

反馈

1
开发者 1
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
工作中
2
开发者 2
等级
(14)
项目
32
25%
仲裁
3
0% / 33%
逾期
1
3%
工作中
3
开发者 3
等级
(13)
项目
16
13%
仲裁
1
0% / 100%
逾期
1
6%
已载入
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(68)
项目
146
34%
仲裁
11
9% / 55%
逾期
26
18%
空闲
6
开发者 6
等级
项目
0
0%
仲裁
0
逾期
0
工作中
7
开发者 7
等级
(420)
项目
528
38%
仲裁
88
40% / 31%
逾期
13
2%
繁忙
相似订单
Dear Programmers... I need EA COPIER MT5 with DELAY PARAMETER & CLOSE ALL + REOPEN TRANSACTIONS in Specific Time 1. Delay Parameter in pips and time, such like : a. Based on Pips : if Master account open position then will be realized in the Follower account in such like floating minus 3 pip or floating plus 3 pip ( which the pip number can be adjustable ) b. Based on Time : if Master account open position then will
Hello. I need a trading (EA) robot with general standard features and other conditions that I added. (mql5) - I have 2 indicator groups. (Indicator groups to be created with sequential period intervals.) M-Macd 2 * 5 and Stochastic on board 2 * 3. There are conditions for these indicator groups. And another m-macd that determines the direction. It is close to the scalping logic. - I will also provide open source
Hello is this possible to be attached on existing bot or to work parallel with the bot?Also I want to be implemented automatic close of some older open positions if the number of open positions reach for example10? I don’t have magic number for the EA.I t has to work separately together with existing EA
BULLION GOLD EA 100 - 200 USD
I need a very good and quick developer to help me develop an EA that is based on an alpha strategy employing volume, price action, Fibonacci expansion levels and Bollinger Band. Experience with Volume, price action and Fib levels will be an added advantage. He will have to use the EX4 file for the main indicator, and use some calculations for the Fib levels derivation. Kindly apply only if you are sure you can do
Cash Flow EA 30 - 200 USD
To execute the strategy effectively, a trader must be able to spot trends in the market , anticipate upticks and downswings, and be able to understand the psychology behind a bull and bear market. Effective scalpers must also be able to read and interpret short-term charts . They must often make decisions based on stock charting that is within 1- to 5-minute intervals. Scalpers look for key indicators such as moving
Need A Coder 40+ USD
Need A Coder to convert my mql4 bot to a mql5 bot and license key also tweak the strategy a little. Also show me how to generate more liscene keys
I have a EA that I want to fix and update. 1. in Short, SL should be highest price in last 9 bars. In Long, SL should be lowest price in last 9 bars. (fix) 2. it should be automated, anytime you have a chart which include this indicator and this indicator switches signals, a pop up Alert notification shows up on your screen with a sound. 3. the trendcatcher line is showing another Indicator's name (Supertrend2) as
Hi, I am looking to create an expert adviser to grow a account from 100 to 10000 eur/usd in 40 days can someone help me with this? must usd ADX, CCI and have sniper entry's with all the MM and risk management built in. new filters and more scalping and trend strategy's only Thanks, Stephen
News trading 30 - 200 USD
Developing a news trading strategy as described involves combining technical indicators (e.g., MACD, RSI, ATR) with a dynamic risk management approach to capitalize on volatility during high-impact news events. Here's how you can implement this step-by-step: --- Key Components 1. Data Sources Historical Price Data: For backtesting major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). News Event Data: Includes
This trading robot will use a combination of trend analysis, moving averages (MAs), RSI, and CCI to detect trends, confirm entries, and manage trades effectively. The robot will implement a trend continuation and breakout strategy using the outlined conditions. Main Chart Indicators 1. Moving Averages (MAs) : • 9-period EMA • 13-period EMA • 50-period EMA Usage: • Detect trends and confirm end-of-retracement points

项目信息

预算
30+ USD

客户

所下订单10
仲裁计数0