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

MQL4 Indicateurs

Spécifications

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

Dossiers :

PNG
example.png
43.3 Kb

Répondu

1
Développeur 1
Évaluation
(277)
Projets
334
55%
Arbitrage
14
36% / 29%
En retard
1
0%
Gratuit
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(115)
Projets
129
18%
Arbitrage
11
27% / 55%
En retard
4
3%
Gratuit
4
Développeur 4
Évaluation
(586)
Projets
1046
49%
Arbitrage
39
28% / 41%
En retard
49
5%
Gratuit
5
Développeur 5
Évaluation
(356)
Projets
632
26%
Arbitrage
89
73% / 13%
En retard
12
2%
Gratuit
6
Développeur 6
Évaluation
(66)
Projets
143
34%
Arbitrage
11
9% / 55%
En retard
26
18%
Travail
Commandes similaires
Create 1 indicator that identifies when the market is in the range, when the market breaks out of that range , to the up or down side, and then when the market comes back into the range , and when it leaves that range. would like the indicator to be able to scan all symbols/ or have a choice of symbols where this pattern can formed, a dashborad would be nice for clear view. something easy to follow the directions
Hello all, I need someone to create a NO REPAINT indicator/strategy on tradingview. It will grab the logic from an existing indicator I have but it has to be recreated so it doesn't repaint and I need to adjust the way it's calculating the raids. If you are someone that knows how to code in tradingview and has experience on this please reach out. Thanks
Hello there and how are you doing?..I need a ninjatrader developer to help me do some modifications on my script so kindly bid this if you are available and we can get started immediately
Hello traders and developers, I'm a software developer myself I have been learning mql5 and creating ea's with various strategies since last month but most of them are unprofitable and some of them are inconsistent in giving profits, what I'm looking for right now is as follows, A profitable scalping ea which should take trades based on M5 or M1 timeframe since i like scalping in Minute timeframe i only want scalping
Existing EA Requring An Update to Include AUD & NZD Pairs Hi, I have an EA which I bought at the end of last year and have been very happy with the performance. I would like to broaden the pairs that it trades to include AUDNZD, AUDCAD, AUDUSD and NZDCAD. WIth the current pairs, the system provides automated and optimised settings. I would, therefore, like automated settings for these pairs as per the existing
Hello, **Job Description**: I've developed my own subjective support and resistance method based on smart money concepts. Essentially, it's about identifying support and resistance levels at the break of structure or change of character, which can be applied alongside any zigzag indicator. **Developer Requirements**: 1. Understanding of SMC (Smart Money Concepts), BOS (Break of Structure), and CHOCH (Change of
Hello I am looking for a developer to help me Backtest my tradingview strategy in tradingview platform and make it work perfectly without errors please kindly reach out to so we can proceed
Hello I am looking for a developer to help me to convert my mt4 strategy to tradingview and make it work perfectly your expertise is highly needed for this project
I need a trading system based on ICT trading. The system must be 95% accurate and profitable, it should be reliable and highly effective and must perform market analysis to identify potential trading opportunities. It must analyze the market structure, support and resistance levels. The system must indicate clear entry and exit rules based on the strategy. The system must have buy/sell alert with circle and arrow
Introduction A dragon pattern is a “W” or “M” shape reversal pattern which resembles a Chinese dragon. This pattern indicates that in the near future, the market is about to face a price reversal. This reversal is either bullish or bearish. The bullish and bearish nature of the dragon depends on the shape of the dragon. This blog will address both types of dragons concerning the trading strategy . Components of a

Informations sur le projet

Budget
40+ USD
Pour le développeur
36 USD
Délais
à 14 jour(s)