DYO: Camarilla Pivots example
|
Q: I was wondering if you could add the Camarilla Pivots? Presently I go to this web site every night and enter the figures into Daily Price Lines and use Tab 12 for them. The formulas are on his page so I assume it would be OK to use them.
R4 = C + RANGE * 1.1 /2
R3 = C + RANGE * 1.1 /4
R2 = C + RANGE * 1.1 /6
R1 = C + RANGE * 1.1 /12
PP = (HIGH + LOW + CLOSE) / 3
S1 = C - RANGE * 1.1 /12
S2 = C - RANGE * 1.1 /6
S3 = C - RANGE * 1.1 /4
S4 = C - RANGE * 1.1 /2
A: The following DYO implements the Camarilla formulas. The Yesterday Close, High and Low are stored in Global Variables and the Pivot is calculated by the 1st DYO. These values are used by the 2nd DYO in the formulas for the R4..S4 expressions.
Template: 1281-Camarilla
Line A, B and C obtain the needed prices from Yesterday. Line D averages the 3 prices to calculate the Pivot Point. Line E calculates the Range from the High in [1] and the Low in [2], and multiplies this by 1.1. This value is stored in [4] for use by the 2nd DYO which calculates the 8 levels as per the formulas.
Global Variable [3] has Yesterday's Close and [4] has the Range*1.1 value.
Template: 1281-Camarilla
Last modified 1/18/08 3:48 PM
|