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 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 Everyone, Herewith sending the existing Trading view Indicator, and required the same Indicator with all display into MT5. Trading view Indicator Screen shot attached for more reference. Price is negotiable
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
Hello, i need professionalthat can help me handle this, I want used replica to of my trading From trading view And copy to my tradovate this is exactly i need https://youtu.be/WOMA8Ift9r8?si=PPf0CHNrZkZ0InHN
need a skilled programmer to input parameters in existing indicator. Adding timeframes in the indicator. I have source code file for this indicator. More details will be provided upon selection of job

项目信息

预算
40+ USD
开发人员
36 USD
截止日期
 14 天