i gave it a another attempt, this time you have to specify "Specific Time Period High, Specific Time Period Low and Specific Time Period Close" and then it will automatically generate pivot point, support levels and resistance levels for you. remember this is only for Specific Time Period it will not identify High, Low and Close automatically, you have to mention them manually.
to add to DFN,
tools>indicator builder>copy and paste the code>first click test icon(one forward arrow)>then click the double arrow>on upcoming window "Advanced tab">type "Short Name" as "PivotPoint">"Default insert window" choose "Same inner window as source.
hope you will use this with caution until few days, if you found any error let me know.
please feel free to use this script, no copyright
/* Pivot Point Generator By Zoozzoo */
Pivot Point = [Specific Time Period High + Specific Time Period Low + Specific Time Period Close] / 3
S1 = [Pivot Point * 2] - Specific Time Period High
S2 = Pivot Point - Specific Time Period High + Specific Time Period Low
S3 = S2 - Specific Time Period High + Specific Time Period Low
R1 = [Pivot Point * 2] - Specific Time Period Low
R2 = Pivot Point + Specific Time Period High - Specific Time Period Low
R3 = R2 + Specific Time Period High - Specific Time Period Low
/* Start my idea */
param double SpecificTimePeriodHigh = 0.0;
param double SpecificTimePeriodLow = 0.0;
param double SpecificTimePeriodClose = 0.0;
DataArray PP, S1, S2, S3, R1, R2, R3;
/* Pivot Point Define */
PP = ((SpecificTimePeriodHigh + SpecificTimePeriodLow + SpecificTimePeriodClose) / 3);
/* Support Levels Define */
S1 = ((PP * 2) - SpecificTimePeriodHigh);
S2 = (PP - SpecificTimePeriodHigh + SpecificTimePeriodLow);
S3 = (S2 - SpecificTimePeriodHigh + SpecificTimePeriodLow);
/* Resistance Levels Define */
R1 = ((PP * 2) - SpecificTimePeriodLow);
R2 = (PP + SpecificTimePeriodHigh - SpecificTimePeriodLow);
R3 = (R2 + SpecificTimePeriodHigh - SpecificTimePeriodLow);
plot (PP, Green, Dash, 2);
Pivot point indicator is a essential tool of swing traders..
I think he'll develop this more in future. We should give him a big thank for zoozzoo, especially technical traders...!!!
If there're any other forum members who having such programming knowledge in DFN can contribute in this. And it'll be more easy for us for trading and develop this outdated DFN to such sophisticated level in near future with more sophisticated indicators...
~ Invite for all programmers..... ~
Last edited by NC on Wed Oct 01, 2014 6:26 pm; edited 1 time in total