rouxam

Backtesting 3commas DCA Bot v2

rouxam تم تحديثه   
Updating previously published simulated 3commas DCA logic with a sexier insert and more meaningful default parameters.
ملاحظات الأخبار:
Added possibility to use the RSI as buy signal
ملاحظات الأخبار:
Large Revamp:
- Added Label with warning and summary
- Added Stop Loss support
- Improved time inputs
- General bug fixes
ملاحظات الأخبار:
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)
ملاحظات الأخبار:
Quick amend previous commit:
- Improved currency formatting
ملاحظات الأخبار:
more realistic amount of BTC (divided amount of BTC by 1000 because who owns 2000 BTC ?!)
ملاحظات الأخبار:
Fixed stop loss, reordered input as per 3c bot setup, fix max deviation calculation, add list of bot parameters on label printout
ملاحظات الأخبار:
- Fix quantities calculation
- Default to RSI-7 < 30 for buy signal
ملاحظات الأخبار:
amend previous commit
ملاحظات الأخبار:
- fix RSI start condition (Below; not crossover)
- set RSI default timeframe to 15
- small rework on the warning/results labels
ملاحظات الأخبار:
- Fixed Stop Loss triggers. Thank you @RealSaim for testing and reporting !
ملاحظات الأخبار:
- more meaningful default inputs
- Slightly more sexy snapshot
ملاحظات الأخبار:
New feature:
- Add a counter of total deals
ملاحظات الأخبار:
New Feature:
- Add nb of deals closed on hitting Stop Loss
ملاحظات الأخبار:
added support for Take Profit Type "% From Total Volume" or "% From Base Order "
ملاحظات الأخبار:
After getting the request from many of you, here it is:
- YOU CAN NOW BACK-TEST SHORT BOTS !
ملاحظات الأخبار:
new update includes:
- refactored closing deal code
- add comparison of DCA bot performance to simple Buy and Hold.
ملاحظات الأخبار:
Fix Trailing TP logic for short bot
ملاحظات الأخبار:
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
ملاحظات الأخبار:
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
ملاحظات الأخبار:
Fix bug on deal closure
Renamed "TA Preset" to "TV Preset"
ملاحظات الأخبار:
fixed typo
ملاحظات الأخبار:
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.
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟