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'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
Dear expert developer I have been trading futures and mainly indices for about 5 years and would now like to automate my trading strategy with the help of an intelligently set up bot. My strategy, which would have to be implemented, is mainly based on the following indicators: CCI / RSI / MACD and Stochastic I analyze the market according to volume peaks, the daily highs and lows and the prominent points and look for
Tim: //+------------------------------------------------------------------+ //| ggjhjh.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 1
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
hello developers.i am currently looking for a simple line chart custom indicator,whenever the line char makes a horizontal line and the next bar closes bullish after the horizontal line an up arrow should draw and if we get a bearish bar a down arrow should draw...the indicator should also be able to send out all types of alerts.thank you
Hello I want to change my TREND indicator. The conditions for the alerts do not need to be changed, the indicator works very very well. I would like to add visible Stop and Tp level lines. Attached is the source code and text file. If you think you could do this job, let me know. Thanks in advance
i have an existing EA that takes trades when you reach a preset value of Demarker ( or RSI , or MACD, or combination of those 3) it buys at oversold zones it sells at overbought zones. I currently have an option to take more than one trade but it is not a typical martingale style. it just takes the same trade every certain distance that you set. i need someone to modify that and let EA make martingale trades with a
So looking to prevent multiple trades opening at the same time and fine a way to remove the draw down spikes that i see happening when optimising and converting it mt5 and what's your budget for this
I need an experienced developer to build the Cypher pattern scanner. Cypher pattern is a Harmonic pattern which consists of 5 legs (X-A-B-C-D), I will provide rules and conditions for the pattern and Scanner. Should be able to scan multi timeframes and multi patterns, create alert based on set conditions and should draw pattern on timeframe where pattern was discovered. Dashboard to display identified pattern based

프로젝트 정보

예산
40+ USD
개발자에게
36 USD
기한
 14 일