OPEN-SOURCE SCRIPT
Zaktualizowano Trailing Buy

This script demonstrates how to do trailing buy. With this approach, given an entry signal, instead of buying directly, you just follow the price downwards (for long positions) and you buy when the price increases by a small percentage. The order will be executed when the next bar is closed. This approach may increase the profits (slightly) in some strategies! This script can be used as a template for your own strategy. Be aware that the simulated data may produce unrealistic results.
Informacje o Wersji
- Fix some bugs in some edge cases
- Refactor the code to better reflect what it does
Informacje o Wersji
- Fix minor typos
Informacje o Wersji
- Use stop orders when trailing instead of market orders at the start of the next candle (suggestion by freyadog)
- Use time_filter library
Informacje o Wersji
- Minor code clean up
- Change color scheme
Informacje o Wersji
- Update time_filters library
Informacje o Wersji
- Replace deprecated "when=" with if statements in strategy calls
Informacje o Wersji
- Change fastMA default color to yellow
- Change trailing entry price default color to blue
Informacje o Wersji
- Increase max labels to 150
- Minor refactoring
Informacje o Wersji
- Update time_filters library
Informacje o Wersji
- Change the settings so the order type (market, stop-limit) is independent from the trailing
- Some minor label/color changes
Informacje o Wersji
- Added option for limit orders
Informacje o Wersji
- small refactoring
Informacje o Wersji
- Update time_filters library version
Informacje o Wersji
- Update time_filters library version
Informacje o Wersji
- Use the 'chrono_utils' library for the date-time window filter
Informacje o Wersji
- Add different alert messages per event
- Update 'chrono_utils' library
Informacje o Wersji
- Update to pinescript version 6
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
📧 Contact info
Telegram: @jason5480
🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7
* Please contact me before any donation ☕
Telegram: @jason5480
🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7
* Please contact me before any donation ☕
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
📧 Contact info
Telegram: @jason5480
🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7
* Please contact me before any donation ☕
Telegram: @jason5480
🔗 Addresses
₿ - bc1qxh3jeld7ke70fx3r5q243d96jsx0etth6x8fa7
* Please contact me before any donation ☕
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.