-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
-
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')
Beta Was this translation helpful? Give feedback.
All reactions
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
-
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. 😉
Beta Was this translation helpful? Give feedback.
All reactions
-
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
Beta Was this translation helpful? Give feedback.