cTrader API Pivot function

Created at 23 Apr 2022, 12:20
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
WM

wmclennan77

Joined 29.06.2021

cTrader API Pivot function
23 Apr 2022, 12:20


Hi,

I am currently porting an indicator from TradingView to cTrader and I have a question:

Does cTrader have a pivot function in its API? It's possible to use Bars.Maximum, but the TV pivothigh function has left and right period parameters.

Thanks.


@wmclennan77
Replies

amusleh
26 Apr 2022, 09:49

Hi,

There is no such built-in function on cTrader automate, you have to create a method for it.


@amusleh