Can I do these by modifying daily pivot point code?
Many thanks in advance
Is is possible to add weekly and monthly pivot points?
-
- Posts: 3
- Joined: Sun Mar 15, 2009 7:10 am
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: Is is possible to add weekly and monthly pivot points?
hcg0706 wrote:Can I do these by modifying daily pivot point code?
Many thanks in advance
If you have formula for this you can try.
Hasta la vista
Mike
Mike
-
- Posts: 3
- Joined: Sun Mar 15, 2009 7:10 am
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
hcg0706 wrote:Thanks, Terrianin.
As there are a number of topics about the need for weekly and monthly pivot points, could you please add these indicators for us?
I assume you can easily do it by modifying your daily pivot point code.
Thank you for your help in advance.
I do not know how to calculate Pivot Points on timeframes bigger then daily.
Hasta la vista
Mike
Mike
-
- Posts: 3
- Joined: Sun Mar 15, 2009 7:10 am
Thanks Terrianin,
Basically, the formulas are the exactly the same as those used in daily pivot point calculation, apart from that previous week's or month's data, other than previous day's data, is used.
For weekly pivot point calculation, simply put the previous week's high, low and close into the following set of formulas; for monthly pivot point, simply put previous month's high, low and close into the following formulas:
R3 = PP + RANGE*2
R2 = PP + RANGE
R1 = 2 * PP - Low
PP = (High+Low+Close) / 3
S1 = 2 * PP - High
S2 = PP - RANGE
S3 = PP - RANGE*2
RANGE = High -Low
where PP is pivot point, S means support and R means resistance
Please let me know if you can do these. Many thanks.
Basically, the formulas are the exactly the same as those used in daily pivot point calculation, apart from that previous week's or month's data, other than previous day's data, is used.
For weekly pivot point calculation, simply put the previous week's high, low and close into the following set of formulas; for monthly pivot point, simply put previous month's high, low and close into the following formulas:
R3 = PP + RANGE*2
R2 = PP + RANGE
R1 = 2 * PP - Low
PP = (High+Low+Close) / 3
S1 = 2 * PP - High
S2 = PP - RANGE
S3 = PP - RANGE*2
RANGE = High -Low
where PP is pivot point, S means support and R means resistance
Please let me know if you can do these. Many thanks.
-
- Posts: 3
- Joined: Sat Apr 11, 2009 9:11 pm
-
- Posts: 3
- Joined: Sat Apr 11, 2009 9:11 pm
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
This is new Pivot Points indicator that can do daily, weekly, monthly and yearly pivots.
- Attachments
-
- PivotPoints.zip
- (49.73 KiB) Downloaded 832 times
Hasta la vista
Mike
Mike
-
- Posts: 9
- Joined: Mon Dec 11, 2006 7:11 am
- Contact:
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Who is online
Users browsing this forum: No registered users and 49 guests