Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Hello,
I need a simple Volume and Range indicator for MT5, it should paint the bars on the chart + windings, with alerts, it will cover the bars according to volume, range and close.
Here are the variables :
-- BAR CLOSE -- (tiers close)
Up close= Close[i] >= Low[i] + ((High[i] - Low[i] )/3*2)
Middle close= Close[i] < Low[i]+range(i)/3*2 && Close[i] > Low[i]+range(i)/3
Dn close= Close[i] <= Low[i] + ((High[i]-Low[i] )/3)
-- VOLUME --
Volume[i] (real or tick modifiable in the parameters)
Average Volume[i] ( period and method modifiable in the parameters )
Low volume = Volume[i] < AverageVolume*Volume_Coef ( Volume_Coef modifiable in the parameters )
Normal volume = Volume[i] >= AverageVolume*Volume_Coef && Volume[i] < AverageVolume*Volume_Climax_Coef ( Volume_Climax_Coef modifiable in the parameters )
Climax volume = Volume[i] >= AverageVolume*Volume_Climax_Coef
-- RANGE --
Range[i] = High[i] - Low[i] (or open[i] - close[i] modifiable in the parameters)
Average Range[i] ( period and method modifiable in the parameters )
Low range= Range[i] < Average Range*Range_Coef ( Range_Coef modifiable in the parameters )
Normal range = Range[i] >= Average Range *Range_Coef && Range[i] < AverageRange*Range_Climax_Coef ( Range_Climax_Coef modifiable in the parameters )
Climax range = Range[i] >= AverageVolume*Range_Climax_Coef
Here are what should be display :
BAR PAINT :
// CLIMAX //
- Up close && Climax volume && Climax range - color : aqua
- Middle close && Climax volume && Climax range - color : white
- Dn close && Climax volume && Climax range - color magenta
// NORMAL //
- Up close && Normal volume && Normal range - color : royalblue
- Middle close && Normal volume && Normal range - color : DarkGray
- Dn close && Normal volume && Normal range- color : tomato
// NO SUPPORT //
- Up close && Low volume && Low range - color : midnightblue
- Middle close && Low volume && Low range - color : dim gray
- Dn close && Low volume && Low range - color : maroon
// CHURN //
Climax volume && Low range - color : lime
Add alerts On/OFF on each signal.
WINDINGS :
The windings are to be placed above if the bar if up bar (open<close) and below on down bars :
233
- Climax volume && Normal range
- Normal volume && Low range
234
- Climax range && Normal volume
- Normal range && Low volume
let me know if you have any questions