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

MQL4 Indicators

Specification

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

Files:

PNG
example.png
43.3 Kb

Responded

1
Developer 1
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(115)
Projects
129
18%
Arbitration
11
27% / 55%
Overdue
4
3%
Free
4
Developer 4
Rating
(586)
Projects
1045
49%
Arbitration
39
28% / 41%
Overdue
49
5%
Working
5
Developer 5
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
6
Developer 6
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
Similar orders
This is a Ready Made grid Automatic EA 1 Need some bug fixing and little modification. 1. This Grid EA has some bug like -After MT4 Restart the EA place 4-5 random trade at the same strike price without any logic. plz fix this bug 2. add RSI for buy sell https://drive.google.com/file/d/1f1_MJR2KoKCAPIlNohvnhaC0NqC6bQ2T/view?usp=sharing Here is a short video. what kind of problem i face
I'm looking for someone who will take the source code of an existing trading bot and make some adjustments and tweaks to it. Mostly is about changing the UI and basic default parameters. No need to change the algorithm itself. The result must be a file that I can install as any other expert advisor in the MT4 terminal. For now I can share the more detailed task in my video
Hello I have purchased an EA from MQL market. The name of the EA is "Eternal Profit" and it works on MT4 only. Its available in market and you can still find it to run DEMO. Though I have purchased the EA but its not working properly for XAUUSD pair owing to some inherent programming issues in the EA. The same EA is working good on currency pair. The key issue is the decimal place in in the pair. Its designed for
Add alerts, pop up, sound, notifications and email when threshold Slope level 1 and slope level 2 ( and their negatives is reached). Alerts should change as the Slope level variable is changed and should alert once or have a one hour time restriction for multiple occurrences. Thanks
I have a dropservicing agency (service intermediation) and I'm looking for a professional to configure the Force Value 1.00 indicator in MetaTrader 5 from the Hanteck brokerage. I need the configuration to meet the operating requirements in all markets (forex, stocks, crypto, etc.), allowing day trade operations following the market trend, using the M15 chart and including the Stop Loss functionality." Required
I want a bot developer deriv He has experience and I want a profitable robot, the profit is higher than the loss Or I want someone to sue with me. I have a profitable robot, but I want another robot or to improve another robot I have
Where/How to request Oanda retail open positions? I've tried through with a Oanda API and requesting this way; url= " https://api-fxpractice.oanda.com/v3/instruments/AUD_USD/positionBook " but I get result different results (see attached pic). If someone is able to replicate/ make some similar to this indicator, im willing to pay
I would fix the speed and accurancy of indicator in pinescript for tradingview it's slow and doesn't have a good accurancy, is there a way to fix it? thank you
Create a MT5 EA based on certain strategy creating a proprietary automatic trading strategy for our private investment portfolio. This is a unique opportunity to work on an exclusive project that demands creativity, strategic thinking, and a deep understanding of financial markets. Project Description: We are looking for a developer to design and implement an advanced automatic trading strategy tailored to our
I like to put 4 input to the EA. symbol 1, symbol 2, symbol 1 lot, symbol 2 lot. When the EA wants to open buy position, close all positions then buy on the symbol 1 and sell on the symbol 2. When the EA wants to open sell position, close all positions then sell on the symbol 1 and buy on the symbol 2. Thank you

Project information

Budget
40+ USD
For the developer
36 USD
Deadline
to 14 day(s)