Indicator that draws horizontal lines on a specified condition and returns stats and allows custom alert

MQL4 Индикаторы

Техническое задание

I want a for-loop that gives me last 10 candles open, high, low ,close and volume as variables. (Candle1High, Candle1Low, Candle2High, Candle2Low and so onfor for last 10 candles. I want this four loop to execute on close

After wards I want to use the variables in the source code to to make a condition that will draw a horizontal line to the right of the candle that satisfied the condition.(Actually it will be two different conditions, one for a greand horizontal candle to the right and one for a red horizontal candle to the right)


one condition for green line and one condition for red line

Eg) Green Condition------If Candle1High<Candle2High then there will be a horizontal green line extending right from close of current candle

     Red  Condition  ---------If Candle1High>Candle2High then there will be a horizontal red line extending right from close of current candle

Line will be light green or light red until that line/price is revisited by price. then it will switch colors to dark green or dark red.


Now as lines are being created(Light green) and then price revisits the place where line originated (dark green) I would like to know how far price is from the last 10 horizontal levels that havent "completed" (when light green turns dark).


This means for the last 10 light green lines and red lines I need variables that calculate how far uncompleted lines are awayfrom current close price

eg)GreenLine1Price--(this will calculate how many pips the most recent "uncompleted" light green line is from current price 

eg)GreenLine2Price--(this will calculate how many pips the second most recent "uncompleted" light green line is from current price 

and so on for 10 of the most "uncompleted" recent lines and also for the red lines obviously


I also need this for the time away from last "uncompleted" recent lines.

GreenLine1Time--(this will calculate how far the most recent "uncompleted" light green line is from current price and so on for the last 10 uncompleted lines (red and green) 


Then I want an alert where I specify condition and alert type and it will print an arrow on current candle when condition happens

 

Also, I Want addition variables/stats  such as Averge Time to Complete, Average Max pips away and a few more I will give you when you accept the job


I have an indi I can show to serious respondents, ask me if you have any questions

Файлы:

PNG
example.png
43.3 Kb

Откликнулись

1
Разработчик 1
Оценка
(277)
Проекты
334
55%
Арбитраж
14
36% / 29%
Просрочено
1
0%
Свободен
2
Разработчик 2
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(115)
Проекты
129
18%
Арбитраж
11
27% / 55%
Просрочено
4
3%
Свободен
4
Разработчик 4
Оценка
(586)
Проекты
1046
49%
Арбитраж
39
28% / 41%
Просрочено
49
5%
Свободен
5
Разработчик 5
Оценка
(356)
Проекты
632
26%
Арбитраж
89
73% / 13%
Просрочено
12
2%
Свободен
6
Разработчик 6
Оценка
(66)
Проекты
143
34%
Арбитраж
11
9% / 55%
Просрочено
26
18%
Работает
Похожие заказы
I have an EA which trades with XAUUSD with a grid system, and I need to add a few features: 1.- The EA works with an indicator and open many trades as a grid system. I need the EA to open JUST 1 TRADE INMEDIATELY WHEN THE TREND SHOWS. 2.- I need the EA to keep that trade open until it reaches TP or the reverse signal shows. The EA has already the 'close if reverse signal' parameter. 3.- I need to create a parameter
I wanted to convert from mt4 to Ctrader Cbot and you want a particular option/feature to work as a bot. A nd can you update this point: the option to check the account name/number on which the CBOT will work, if the wrong account number is given the CBOT should not work
Can you convert TradingView Harmonic pattern indicator to ninjatrader8? and I don not need statistic table with numbers, just indicators pattern, PRZ box (predicted prize box) etc. just no tables with numbers
I need a developer that can fix a indicator i have, I have a table that looks at emas and display bullish/bearish, I have spy on the table but its not always updating and need help fixing this I have this table and the first 6 rows looks at the chart symbol and if price is above 12 ema it will sows bullish under the 5/12 ema coulmn and bullish if its above, and same under the 34/50 colmun, if price is below 50 ema
I need a developer that can fix a indicator i have, I have a table that looks at emas and display bullish/bearish, I have spy on the table but its not always updating and need help fixing this I have this table and the first 6 rows looks at the chart symbol and if price is above 12 ema it will sows bullish under the 5/12 ema coulmn and bullish if its above, and same under the 34/50 colmun, if price is below 50 ema
I need an EA in MT5 that trades based on volatility with market orders. It must check and correctly process possible errors in trading operations. Entry and exits based on volatility threshold
Modificar EA 30+ USD
Es posible descompilar un EA de mt4? Tengo uno y me gustaría descompilarlo y poder tener el archivo haber como funciona de verdad. Saludos amigos programadores. espero tenga solución este problema
Hello, I am looking to have two custom indicators developed for integration into an Expert Advisor (EA): 1. Malaysian SNR (Support and Resistance) Indicator : This indicator should accurately identify and plot support and resistance levels based on Malaysian trading principles and methodologies. 2. Break of Structure Indicator : This indicator should detect and signal breaks in market structure, indicating potential
Hello there, I need a professional mt4 developer who can perfectly help me to backtest my mt4 trading strategy on these trading pairs, XAUUSD H1 PEPPERSTONE 1:200 LEVERAGE. The strategy would be provided once you bid to this task
Hello, I am looking for a professional who can assist me with the following tasks: Create a used replica of my trading setup from TradingView. Copy and configure this setup in my Tradovate account. This is exactly what I need. Your assistance would be greatly appreciated this is exactly what i want https://youtu.be/WOMA8Ift9r8?si=PPf0CHNrZkZ0InHN

Информация о проекте

Бюджет
40+ USD
Исполнителю
36 USD
Сроки выполнения
до 14 дн.