Problems with setting parameters for SAR indicators

Author: jiaozheng, Created: 2018-04-05 23:36:42, Updated:

Please tell me how to set up an indicator parameter called SAR in talib? The API for the indicator is described below: SAR - Parabolic SAR real = SAR ((high, low, acceleration = 0, maximum = 0) Learn more about the Parabolic SAR attadoc.org.

How do I set the parameters when I call this indicator? Should it be like this? var records=exchange.GetRecords ((PERIOD_M3)); var sar= talib.SAR ((records, 0,0)) is the name of the game. Or should it be? var records=exchange.GetRecords ((PERIOD_M3)); var sar= talib.SAR ((records, records, 0,0)); What should be the correct parameter setup? Then is this indicator not shown in the market icon that cannot be retested?


More

jiaozhengThank you:)

ZeroWhat's up? var records=exchange.GetRecords ((PERIOD_M3)); var sar= talib.SAR ((records, 0,0)) is the name of the game. What's up? So that's it, SAR won't show, he belongs to the talib library, only the TA library will show, if you want to debug you can use the drawing library to draw it.