Pivot Price

Questions about MultiCharts .NET and user contributed studies.
maxzhi
Posts: 17
Joined: 10 Aug 2017
Been thanked: 2 times

Pivot Price

Postby maxzhi » 15 Feb 2022

How do I call a Pivot price from Pivot_Low or Pivot_High?

User avatar
ABC
Posts: 719
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Pivot Price

Postby ABC » 16 Feb 2022

Hi maxzhi,

you can do it similar to how it is done in the Pivot_High indicator. When a new pivot is detected the PivotHighVSBar function will return a value other than -1 (when there is no new pivot it will return -1). At that moment the pivot high is the bar rightstrength bars to the left of the current bar.

Regards,

ABC
Last edited by ABC on 16 Feb 2022, edited 1 time in total.

maxzhi
Posts: 17
Joined: 10 Aug 2017
Been thanked: 2 times

Re: Pivot Price

Postby maxzhi » 16 Feb 2022

Hi maxzhi,

you can do it similar to how it is done in the Pivot_High indicator. When a new pivot is detected the PivotHighVSBar function will return a value other than -1 (when there is no new pivot it will return -1). At that moment the pivot high is the bar rightstrength bars to the right of the current bar.

Regards,

ABC
Thank you

User avatar
ABC
Posts: 719
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Pivot Price

Postby ABC » 16 Feb 2022

Hi maxzhi,

you are welcome. It is of course the bar rightstrength bars to the left of the current bar and not to the right. I have edited my initial reply to avoid any confusion.

Regards,

ABC


Return to “MultiCharts .NET”