Download MetaTrader 5

Indicators: Pivot Point with adjustable closing time

To add comments, please log in or register
Use the Pocket to paste your content. It is convenient!
Automated-Trading
Admin
99093
Automated-Trading 2015.05.27 15:47 

Pivot Point with adjustable closing time:

Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of Sunday bars and optional display of weekly and monthly PP.

PP indicator in EURUSD h1, you can see that actual weekly PP are wrong.

Author: PomeGranate

PomeGranate
564
PomeGranate 2015.05.27 19:22  

Hi, I noticed only now that on above picture you can't see the preview labels. In fact it looks like this:


Ernst Van Der Merwe
4728
Ernst Van Der Merwe 2015.05.28 07:17  

Hi PomeGranate,

Unlike MT5, MT4 arrays are in series by default, so counting down to zero should sort out the errors.

//---
   int start=0;
   if(prev_calculated==0)
      start=rates_total-1;
   else
      start=rates_total-prev_calculated;
//---
   for(int i=start;i>=0 && !IsStopped();i--)
     {


PomeGranate
564
PomeGranate 2015.05.28 09:31  
pipPod:

Hi Pomegranate,

Unlike MT5, MT4 arrays are in series by default, so counting down to zero should sort out the errors.


Thank you!

Changed this and also changed init(). Daily and weekly PP aren't displayed anymore, when the wrong values begin (see indicator restriction). Still has to be proof read, new version number is 2.10.

PomeGranate
564
PomeGranate 2015.06.03 13:45  

Update to version 2.11:

- inserted input variables for colors and line styles of different pivot levels 

- added assert for input closetime_UTC (0<closetime_UTC<23)


Please rate the indicator if you like it!

PomeGranate
564
PomeGranate 2015.06.08 14:42  

Version 2.20:

- the preview labels change their color as well, forgot that in last update

- midpoints are shown for the current day.


This is the ultimate version unless feedback for further improvements comes from users.

hercules
3
hercules 2015.09.10 12:06  
PomeGranate:

Hi, I noticed only now that on above picture you can't see the preview labels. In fact it looks like this:


Hi PomeGranate!

I need an indicator like this (see attached file) 

do you know how to it?

Thank you in advance

Massimo 

PomeGranate
564
PomeGranate 2015.09.17 18:12  
hercules:

Hi PomeGranate!

I need an indicator like this (see attached file) 

do you know how to it?

Thank you in advance

Massimo 

You're welcome! If the quest is only to visualize the change in value (in percent), that should be really easy. I have no need for such indicator at the moment, if that should change I'll let you know here in this thread. Check the freelancers' section and hire a programmer, they will do it cheaper than I could, because they code in minutes what I need hours and days for!
To add comments, please log in or register