A slight modification of the link I gave you should do it then:
Code: Select all
Variables:
PIVOTPOINT(0);
PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1] + OPEN[1]) / 4;
Plot1(PIVOTPOINT, "PIVOTPOINT");
Format the plot as line, dot, cross - whatever you prefer. The only thing you might need to add is any support and resistance calculations, but for that one would need to know the formula you prefer.
This would look something like this, depending on the formula for the first support of course:
Code: Select all
Variables:
PIVOTPOINT(0),
Support1(0);
PIVOTPOINT = (HIGH[1] + LOW[1] + CLOSE[1] + OPEN[1]) / 4;
Support1 = 2 * PIVOTPOINT - HIGH[1];
Plot1(PIVOTPOINT, "PIVOTPOINT");
Plot2(Support1, "Support1");
The same way you'd add the other support and resistance points and you have a study that should do what you have in mind. If you have problems with the coding post them in here and I am sure someone will help you out.
Regards,
ABC