• Overview
  • Reviews (3)
  • Comments (13)
  • What's new

All in One Pivot Point

This indicator calculates (Hourly, Daily, Weekly, Monthly) pivot point, support and resistance price with different formulation (Classic, Camarilla, Woodie, DeMark, Floor, Fibonacci) and then adds lines on the chart. Line color and style can be changed with input parameters.

And you can choose alert type (Alarm activated when price reach any pivot price)


Input Parameters

1. Calculation Method Option (Method = Classic, Camarilla, Woodie, DeMark, Floor and Fibonacci)

Range = High Price(HP) – Low Price(LP)

Pivot Price(PP) = ( High Price(HP) + Low Price(LP) + Close Price(CP) ) / 3

  • Classic
    • R1 Price = (2 * PP) – LP | S1 Price = (2 * PP) – HP
    • R2 Price = PP + Range | S2 Price = PP - Range
    • R3 Price = R2 + Range | S3 Price = S2 – Range
    • R4 Price = R3 + Range | S4 Price = S3 - Range
  • Camarilla
    • R1 Price = CP + (Range * 1.1/12) | S1 Price = CP – (Range * 1.1/12)
    • R2 Price = CP + (Range * 1.1/6) | S2 Price = CP – (Range * 1.1/6)
    • R3 Price = CP + (Range * 1.1/4) | S3 Price = CP – (Range * 1.1/4)
    • R4 Price = CP + (Range * 1.1/2) | S4 Price = CP – (Range * 1.1/2)
  • Woodie
    • R1 Price = (2 * PP) – LP | S1 Price = (2 * PP) – HP
    • R2 Price = PP + Range | S2 Price = PP - Range
    • R3 Price = R1 + Range | S3 Price = S1 - Range
    • R4 Price = R3 + Range | S4 Price = S3 - Range
  • Demark

      Open Price(OP)

    • if CP < OP then X = ( HP + (LP * 2) + CP )
    • if CP > OP then X = ( (HP * 2) + LP + CP )
    • if CP = 0P then X = ( HP + LP + (CP * 2) )
    • PP = X / 4
    • R1 Price = (X / 2) - LP | S1 Price = (X / 2) - HP
  • Floor
    • R1 Price = (2 * PP) - LP | S1 Price = (2 * PP) - HP
    • R2 Price = (PP – S1) + R1 | S2 Price = PP – (R1 - S1)
    • R3 Price = (PP – S1) + R2 | S3 Price = PP – (R2 - S1)
  • Fibonacci
    • R1 Price = PP + (0.382 * Range) | S1 Price = PP – (0.382 * Range)
    • R2 Price = PP + (0.618 * Range) | S2 Price = PP – (0.618 * Range)
    • R3 Price = PP + (1 * Range) | S3 Price = Pivot Price – (1 * Range)

For more information (https://www.mql5.com/en/articles/1465)

2. Time Period Option (TimePeriod = Hourly, Daily, Weekly, Monthly).

  • Hourly = Prior Hour Prices (High, Low, Close)
  • Daily = Prior Day Prices (High, Low, Close)
  • Weekly = Prior Week Prices (High, Low, Close)
  • Monthly = Prior Month Prices (High, Low, Close)

3. Show Comment Line Option (ShowComment = true or false)

    Write prices(high, low and close), calculation method and period on chart

4. Alert Option (AlarmType1 and AlarmType2 = Play Sound Alert, Show Alert Message, Send Mobile Message or Send Email)

Alarm activated when price reaches any calculated price (S1,S2,S3,S4,R1,R2,R3,R4 and PP) and you could get two alarm at the same time with AlarmType1 and AlarmType2

  • If you choose to SendEmail, you must configure the E-Mail settings (Tools > Options > E-Mail)
  • If you choose to SendMobilMessage, you must configure the push notification settings (Tools > Options > Notifications).

Important! Alert option cannot be used in the Strategy Tester. But if you select ShowAlertMessage, you can see all created alarm in strategy tester screen's journal section.

5. Maximum Deviation Option (MaxPipDeviation(pip) = 0,1,2,3,4,5...30)

Alarm activation sensibility. For example;

S2 Price = 1.092 and MaxPipDeviation = 3

S2 alarm will activate when price reach this range (1.089 – 1.095)

Note: MaxPipDeviation restricted for blocking wrong uses. You can set max 30 on 5 or 3-digit pairs and you can set max 3 on other pairs. You cannot use this parameter with TimePeriod(Hourly) parameter

6. Short Line Option (ShortLines = true or false)

if selected true, The lines becomes short

7. Line Name Option (ShowLineName = true or false)

If selected true, line name visible right corner (e.g. [R2] 1.105 )

8. Line Drawing Option (DrawBackground = true or false)

If selected true, lines draw under the bar

9. Line Selectable Option (DisableSelection = true or false)

If selected true, lines would be selectable

Lines Style Options

10. R4 Line Option (Resistance4Line = true or false)

If selected true, R4 line is visible

11. R4 Color Option (Resistance4Color = color)

Line color can be changed with this option (Red, green, blue ...)

12. R4 Type Option (Resistance4Type = type)

Line type can be changed with this option (Solid, Dash, Dot, DashDot and DashDotDot)

13. R4 Width Option (Resistance4Width = width)

Line width can be changed with this option (thin, normal, middle, thick and too_thick)

Note: All options for R4 are also available for other lines (R3, R2, R1, PP, S1, S2, S3, S4)

apophis1
21
apophis1 2017.05.27 19:59 
 

In itself, the product is good, does what it should.Contact, and suggestions to improve the product you like to improve it and make it better ... this is a very good plus point at the writing of the product

guido virescelli
768
guido virescelli 2017.03.28 16:15 
 

good product, and good staff, thinks.

baxplech
55
baxplech 2017.01.02 18:01 
 

User didn't leave any comment to the rating

Version 2.2 - 2017.07.17
- Added MaxPipDeviation value to alert message
Version 2.1 - 2017.06.05
- Some bugs fixed
- Alarm count increased to 2 (You could get two alarm at the same time with AlarmType1 and AlarmType2)
- PushMessage alarm name is change to SendMobilMessage
- SoundAlert alarm name is change to PlaySoundAlert
- Added new alarm type (ShowAlertMessage)
- MaxPipDeviation restricted for blocking wrong uses. you can set max 30 on 5 or 3 digit parity and you can set max 3 on other parities. and you can't use this parameter on hourly TimePeriod
- Added price information to alarm notifications
Version 2.0 - 2017.05.25
- "Draw pivot lines as background" option added
- "Disable pivot lines selection" option added
- "Pivot line width" option added