Closed xarthurx closed 2 years ago
I'm not entirely sure what you mean - entry points on the chart will be rendered (although your screenshot only contains exits on the chart).
so the result is - your strategy doesn't seem to generate entries (which would be green) for this timeperiod - or they're covered by exits.
we're intentionally not showing the long/short entries seperately to keep the legend somewhat legible if you use more than a few indicators.
I see, and realize that there are entry points.
The question is it seems there're more "exit points" than "entry points"... Would it be meaningful of the two matches in number?
there's a difference in what you see.
The green and yellow entry/exit symbols are the signals your strategy generate (whenever enter_long/enter_short/exit_long/exit_short is set to 1). your strategy will determine how many of these will be in any chart. There's a ton of factors that can influence if a signal is acted on (creates a trade) or not. Best read the documentation for details on that.
Trades (the blue ones you have in this graph) are the real trades (when a position was entered / exited). the number of trade entry / trade exits will match - unless the trade is still open - or the entry "aged out" of the chart.
I'd like to reopen this issue to a question related to this one.
I'm debugging a strategy and with this figure, it seems that the backtesting is not using the max_open_trades
parameter from the config, or --max-open-trades INT
?
By zooming in:
There are multiple enter_long
or enter_short
consecutively, while I set the max_open_trades = 1
.
The total number of signals generated also matches the diagram.
pair exit_reason
ATOM/USDT exit_signal 48
force_exit 1
Name: exit_reason, dtype: int64
I tested the same strategy on TradingView, and compared the signals:
The timestamp that enters long
or short
in two systems matches.
However, freqtrade
has more signals due to the issue I described above.
Is there any setting that I missed?
Since this is not a UI issue, I create a new issue here: https://github.com/freqtrade/freqtrade/issues/7371
Is your feature request related to a problem? Please describe. The graph in the webUI only show "exit" point on the candles, but not "entry" point.
Describe the solution you'd like Add illustration of "entry" point.
Describe alternatives you've considered No.
Additional context