Display Pivot points #816
-
Hi, I'm looking for a way to display pivot points on the main chart. So I have added an indicator that has np.nan values and close price values for the pivots but it is not displaying on the main chart. Instead, a separate chart is displayed that doesn't show any values at all. Any suggestions greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think in your case the separate chart might be displaying small circles, but they are few and tiny? In any event, you should be able to use self.I(indicator_func, ..., scatter=True, overlay=True) This will plot indicator as scatter plot (non-nan values are points) and overlay it over OHLC plot. |
Beta Was this translation helpful? Give feedback.
I think in your case the separate chart might be displaying small circles, but they are few and tiny?
In any event, you should be able to use
Strategy.I
with params:This will plot indicator as scatter plot (non-nan values are points) and overlay it over OHLC plot.