Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Scatter with markers options #474

Answered by kernc
kaleming asked this question in Q&A
Discussion options

Hi,

I would like to know if it is possible to define which type of marker certain indicator will display when scatter option is True ?

Something like the following:

x1 = self.I(..., overlay=True, scatter=True, marker='triangle')
x2 = self.I(..., overlay=True, scatter=True, marker='circle')
You must be logged in to vote

You can specify color: self.I(..., color='pink').

Must admit I'm not too hyped for adding styling parameters such as your markers or additional plot styles. It deters from the underlying market science, which is the important part, and backtesting.py could never strive to replace TradingView.

If you can't color-code your indicators/markers according to your reason, you may already be plotting too many of them. 😉

Replies: 1 comment 1 reply

Comment options

You can specify color: self.I(..., color='pink').

Must admit I'm not too hyped for adding styling parameters such as your markers or additional plot styles. It deters from the underlying market science, which is the important part, and backtesting.py could never strive to replace TradingView.

If you can't color-code your indicators/markers according to your reason, you may already be plotting too many of them. 😉

You must be logged in to vote
1 reply
Comment options

Thanks for your reply @kernc .
I was just curious to know if it was already implemented. I agree with you that it not essential.

Best regards

Answer selected by kaleming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /