Camarilla Points

camarilla

Function Name: camarilla

Tags: None

Category: Other, Price

Parameters:

StartYear, StartMonth, StartDay, StartHour, StartMinute - Moment when drawing of the lines start.

TimeFrame - Number of candlesticks preceding the start time that are taken for HLC calculation.

DrawLength - For how many bars after the start will camarilla points be drawn (set to 0 for infinity).

The camarilla point formulas are as follows: Range = High - Low, for the time frame under consideration. R1, R2, R3, R4, R5 Resistance levels S1, S2, S3, S4, S5 Support levels R5 = (High / low) * Close R4 = Close + Range * (1.1)/2 R3 = Close + Range * (1.1)/4 R2 = Close + Range * (1.1)/6 R1 = Close + Range * (1.1)/12 S1 = Close Range * (1.1)/12 S2 = Close Range * (1.1)/6 S3 = Close Range * (1.1)/4 S4 = Close Range * (1.1)/2 S5 = (Close (R5 Close)) The resistance and support levels are computed per the preceding trading session's high, low, and close.

Author: Slawomir Bobrowski

Source: Stocks & Commodities, March 2013: "Stocks and Commodities"

Parameters

StartYear

Default Value: 2012 | Minimum: 1900 | Maximum: 2030

Type: Numeric

StartMonth

Default Value: 7 | Minimum: 1 | Maximum: 12

Type: Numeric

StartDay

Default Value: 18 | Minimum: 1 | Maximum: 31

Type: Numeric

StartHour

Default Value: 0 | Minimum: 0 | Maximum: 23

Type: Numeric

StartMinute

Default Value: 0 | Minimum: 0 | Maximum: 59

Type: Numeric

TimeFrame

How many preceding bars are used to calculate HLC

Default Value: 27 | Minimum: 1 | Maximum: 100

Type: Numeric

DrawLength

For how many bars will camarilla points be drawn (seto to 0 for infinity)

Default Value: 0 | Minimum: 0 | Maximum: 999

Type: Numeric

ShowRS1

Default Value: 0

Type: Boolean

ShowRS2

Default Value: 0

Type: Boolean

ShowRS3

Default Value: -1

Type: Boolean

ShowRS4

Default Value: -1

Type: Boolean

ShowRS5

Default Value: -1

Type: Boolean