Replies: 2 comments 2 replies
-
Can you share a bit of your code? Normally, every indicator ("signal") wrapped in And see #87 (comment) for a case of plotting a signal that is unavailable at |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry I must have not explained clearly...
is there way to show the direction(BUY, SELL) of the trade on the chart.
currently it only indicate profit or loss of each trade on the price
line...
But I guess it won't be necessary as I can easily calculate that based on
if trade resulted in profit or loss.
Thanks by the way...
…On Wed, 13 Jul 2022, 21:30 kernc, ***@***.***> wrote:
Can you share a bit of your code? Normally, every indicator ("signal")
wrapped in Strategy.I()
<https://kernc.github.io/backtesting.py/doc/backtesting/backtesting.html#backtesting.backtesting.Strategy.I>
would be plotted automatically.
And see #87 (comment)
<#87 (comment)>
for a case of plotting a signal that is unavailable at init() but
computed in next().
—
Reply to this email directly, view it on GitHub
<#683 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AML6MJ7RO6CUCX7ZSQ7VOJTVT3VITANCNFSM53OOZFKA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi kernc...
Is there a way to plot on the chart, the signal type(long/short)?
Beta Was this translation helpful? Give feedback.
All reactions