Swordfish Indicators
Automated Pivot Points

Current Version: 2.6
Updated: 2014/08/22

7 Pivot Point Levels for Support and Resistance automatically drawn on any Swordfish intra-day chart using the previous day's Session Close (Last Trade at 17:30) or the MTM Close.
Compare your on screen values to the Capital Synergy Daily Pivots and Gaps Report to verify the result.
The Pivot Points Indicator (CS_PP7) now uses nine parameters. Be sure to create the parameters exactly as shown.

Version 2.6 Features Added


  • Added name labels to the lines.

Line Colours


  • Resistance pivot lines are shown in green.

  • Support pivot lines are drawn in red.

  • The mid pivot lines are dotted.

  • The daily pivot point is displayed in blue.

  • The session close value is coloured black.

  • The MTM close value is coloured gray.

  • The previous day Open, High and Low is shown in teal.

  • The daily Balance Point is drawn as an orange line.

Previous Versions

The 5-minute chart below shows the Automated Pivot Points on the morning of 2014-08-22.
The parameters are set as 200, 0, 1, 1, 1, 7, 1, 1, 1.

Pivot Points Chart

Create the Automated Pivot Point Indicator on your Swordfish by following the instructions below:
Follow the detailed instructions for the Custom Indicator Installation Example if you are unsure of how to add an indicator or watch our YouTube video.

Download the Swordfish indicator script file. Use Ctrl-V to paste the code from the downloaded file into the script area.

Swordfish Indicator:
CS_PP7V26-1.txt CS_PP7V26-1.txt
Size : 8.119 Kb
Type : txt

This version uses 9 parameters that have to be added manually when you create the script:

CS_PP7
Automated Pivot Points

Name
PLimit
MTMUse
PLimitUse
ShowR
ShowS
ShowNL
ShowHLC
ShowMid
ShowL

Default
100
0
1
1
1
4
1
1
1

Minimum
1
0
0
0
0
1
0
0
0

Maximum
1000
1
1
1
1
7
1
1
1

Type
Double
Double
Double
Double
Double
Double
Double
Double
Double

PLimit

MTMUse
PLimitUse
ShowR
ShowS
ShowNL
ShowHLC
ShowMid
ShowL

Proximity limit determines how near a pivot line must be to the current intra-day close before it will be displayed.
Adjust lower for more pivot lines and higher for less.
To use MTM Close to calculate the pivot points, set this value to 1. To use the Session Close set value to 0.
To use Proximity limit to show only nearby the pivot points, set this value to 1. To show all pivot levels set it to 0.
To show the green resistance lines, set this to 1. To not show any resistance levels set this parameter to 0.
To show the red support levels, set this to 1. To not show any support pivots set this parameter to 0.
Set this to between 1 and 7 to determine how many pivot levels are displayed.
Keep as 1 to show the last day Open, High and Low. Change to 0 to not show the lines.
To show the mid pivots, set this parameter to 1. To remove them from the charts, change it to 0.
To show the line labels, set this parameter to 1. To remove them from the charts, change it to 0.

In order to clearly see the pivot lines you will have to experiment with the parameters. Try to limit the number of lines or show only support or resistance lines as needed. Zoom in and out to optimize the display.
Set the periodicity to 1-minute when the market opens to see the pivot lines sooner.