AllPivots: Camarilla Pivots
Just want to show how to set up the Camarilla Pivots.
Code:
extern string set1 = "--- Main settings ---";
extern string TimeFrame = "D1"; //TimeFrame(eg. D1,W1)
extern string UniqueName = "AllPivots"; //Unique Name
extern int Length = 5; //Length in periods(eg. 2= 2 days)
extern int PivotMode = 1; //Pivot Mode: 0-Standard
// 1-Camarilla
// 2-Demark
// 3-Fibo relative and Avg Range Levels
// 4-Fibo absolute(in pips)
extern string PivotValues = "0.382;0.618;1;"; //Pivot values(ratios)
extern int RangeMode = 0; //Range Mode: 0-Hi/Lo Range;
// 1-UpRange=High-BasePrice, DnRange=BasePrice-Low
// 2-Range=Close-Close[1]
extern int BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
extern int BasePrice = 0; //Base Price (0...6) (1 for today's Open)
extern int AvgPeriod = 1; //Avg Period
Attachment 1469
1 Attachment(s)
AllPivots - Camarilla Vs Custom
Hi Igorad, please see the image comparing the 2 Camarilla pivots - again labels/tags are missing, so I assume R4 corresponds to H4 but H3 is very different to R3, for example.Attachment 1743
Thanks
Jozo
AllPivots: Updates (version 3.3)
Hi Jozo,
I see you're a bit confused with the right set of input parameters.
In the new version you can make a choice what pivot levels you want to see. For that you should enter a list of numbers according to following rules:
- for Standard (Floor) Pivots should be:
Code:
PivotMode = 0; //Pivot Mode: 0-Standard(BasePrice=5)
PivotValues = "0;1;2;3;4"; //Pivot values(ratios)
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
BasePrice = 5; //Base Price (0...7) (1 for today's Open)
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-R1/S1, 2-R2/S2, 3-R3/S3 and 4-R4/S4. Please remember you can change the sequence in any way (eg. 1;2;4).
- for Camarilla Pivots:
Code:
PivotMode = 1; //Pivot Mode: 1-Camarilla(BasePrice=0)
PivotValues = "0;1;2;3;4;5;6"; //Pivot values(ratios)
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
BasePrice = 0; //Base Price (0...7) (1 for today's Open)
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-H1/L1, 2-H2/L2 ... 6-H6/L6. Please remember you can change the sequence in any way (eg. 3;5;6). Also you should know H5/S5, H6/S6 are used as the target levels.
- for Demark's Pivots:
Code:
PivotMode = 2; //Pivot Mode: 2-Demark's Pivots
PivotValues = "0;1"; //Pivot values(ratios)
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-R1/S1. Please remember you can change the sequence in any way (eg. 1).
Also you should know the Base Price for this Pivots is calculated by the special formula and depends how has been closed the previous day.
- for Fibo Pivots(relative):
Code:
PivotMode = 3; //Pivot Mode: 3-Fibo relative and Avg Range Levels
PivotValues = "0;0.382;0.618;1"; //Pivot values(ratios)
RangeMode = 0; //Range Mode: 0-Hi/Lo Range;
// 1-UpRange=High-BasePrice, DnRange=BasePrice-Low
// 2-Range=Close-Close[1]
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
BasePrice = 5; //Base Price (0...7) (1 for today's Open)
AvgPeriod = 1; //Avg Period
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-R1/S1, 2-R2/S2, 3-R3/S3 and so on. Please remember you can change the sequence in any way (eg. 0;0.382;0.618;1;1.236;1.5). Also you should know BasePrice(eg. 1) and AvgPeriod(eg. 10) can vary too.
Typically RangeMode=0 is used for the Fibo Levels, but you can try to use other ranges: UpRange=High-BasePrice, DnRange=BasePrice-Low or Сlose-Close[1].
Also please remember that the same settings you can use for the Average Range Pivots (eg. PivotValues=0;0.5;1;1.5;2;2.5).
- for Fibo Pivots(absolute in pips):
Code:
PivotMode = 4; //Pivot Mode: 4-Fibo absolute(in pips)
PivotValues = "0;34;89;144;233;377";//Pivot values(ratios)
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
BasePrice = 1; //Base Price (0...7) (1 for today's Open)
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-R1/S1, 2-R2/S2, 3-R3/S3 and so on. Please remember you can change the sequence in any way (eg. 34;89;144;233). Also you should know BasePrice(eg. 1) can vary too.
Just want to remind this Pivots are used in the !IN10TION NewsReader.
- for Woodie's Pivots:
Code:
PivotMode = 5; //5-Woodie's Pivots(BasePrice=7)
PivotValues = "0;1;2;3;4"; //Pivot values(ratios)
BaseHourShift = 0; //Base Hour Shift(eg.0-start of the day)
BasePrice = 7; //Base Price (0...7) (1 for today's Open)
where PivotValues are a list of level numbers: 0-Pivot Point(PP), 1-R1/S1, 2-R2/S2, 3-R3/S3 and 4-R4/S4. Please remember you can change the sequence in any way (eg. 1;2;4).
So I think now you will better understand how to use this indicator.
Regards,
Igor