rouxam

Backtesting 3commas DCA Bot v2

rouxam Cập nhật   
Updating previously published simulated 3commas DCA logic with a sexier insert and more meaningful default parameters.
Phát hành các Ghi chú:
Added possibility to use the RSI as buy signal
Phát hành các Ghi chú:
Large Revamp:
- Added Label with warning and summary
- Added Stop Loss support
- Improved time inputs
- General bug fixes
Phát hành các Ghi chú:
Quick amend on previous commit:
- add comments in script
- add warnings for limitations on backtesting with stop loss (in general, do not use a stop loss if you use DCA on the Spot market)
Phát hành các Ghi chú:
Quick amend previous commit:
- Improved currency formatting
Phát hành các Ghi chú:
more realistic amount of BTC (divided amount of BTC by 1000 because who owns 2000 BTC ?!)
Phát hành các Ghi chú:
Fixed stop loss, reordered input as per 3c bot setup, fix max deviation calculation, add list of bot parameters on label printout
Phát hành các Ghi chú:
- Fix quantities calculation
- Default to RSI-7 < 30 for buy signal
Phát hành các Ghi chú:
amend previous commit
Phát hành các Ghi chú:
- fix RSI start condition (Below; not crossover)
- set RSI default timeframe to 15
- small rework on the warning/results labels
Phát hành các Ghi chú:
- Fixed Stop Loss triggers. Thank you @RealSaim for testing and reporting !
Phát hành các Ghi chú:
- more meaningful default inputs
- Slightly more sexy snapshot
Phát hành các Ghi chú:
New feature:
- Add a counter of total deals
Phát hành các Ghi chú:
New Feature:
- Add nb of deals closed on hitting Stop Loss
Phát hành các Ghi chú:
added support for Take Profit Type "% From Total Volume" or "% From Base Order "
Phát hành các Ghi chú:
After getting the request from many of you, here it is:
- YOU CAN NOW BACK-TEST SHORT BOTS !
Phát hành các Ghi chú:
new update includes:
- refactored closing deal code
- add comparison of DCA bot performance to simple Buy and Hold.
Phát hành các Ghi chú:
Fix Trailing TP logic for short bot
Phát hành các Ghi chú:
New features !!
- Using TA Presets (Buy/Strong Buy/Sell/Strong Sell)
- Allow using different timeframes for RSI
- Allow using a percentage of equity rather than fixed amount of currency
- Numbered warnings
Phát hành các Ghi chú:
New feature !!
- Backtesting timeframe updated automatically on the label

This is because the number of bars available is a fixed amount so if you select a 1m timeframe, you can backtest over only a few days, but if you select a 15m timeframe you can backtest over several months.

limits:
free account = 5000 bars
pro/pro+ account = 10000 bars
premium account = 20000 bars
Phát hành các Ghi chú:
Fix bug on deal closure
Renamed "TA Preset" to "TV Preset"
Phát hành các Ghi chú:
fixed typo
Phát hành các Ghi chú:
Fancy update people !! A few weeks ago, TradingView released a new object called a "Table" and this is really a big upgrade on the usability of this backtester.
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?