• Produkty
  • Społeczność
  • Rynki
  • Brokerzy
  • Więcej
Rozpocznij
  • Społeczność
  • /Wskaźniki i strategie
  • /Narzędzia Pine

Narzędzia Pine

Backtest EngineThis is a simple backtest engine for your trading strategies. The idea behind this script is to make testing new strategies as easy as possible. Parameters such as take profit/stop loss and time period are built into the script and are customisable by the user via the settings interface. The only coding is to set the entry and exit conditions. Users need not touch any code beyond line 30. For this post, I have used a 50/200 SMA crossover to demonstrate the ease of use for this script. The features of this script include: Backtest period start Number of days until backtest period end Take profit and stop loss % (via settings) Programmable long and short entry/exit Anti duplicate system (for entry conditions that are continuously satisfied, the engine will only make 1 trade until the is exit condition is satisfied). DISCLAIMER: The strategy in this post is only a placeholder. The TP/SL levels are set to showcase the functionality of the engine and are in no means optimal settings. Hope this helps! Feel free to ask any questions about the engine and happy coding!
Strategia Pine Script®
od panpanXBT
Zaktualizowano
33
11223344
…999999

Wybierz dane rynkowe dostarczone przez ICE Data Services. Wybierz dane referencyjne dostarczone przez FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

Więcej niż tylko produkt
  • Superwykresy
Skanery
  • Akcje
  • ETFy
  • Obligacje
  • Monety kryptowalutowe
  • Pary CEX
  • Pary DEX
  • Pine
Mapy cieplne
  • Akcje
  • ETFy
  • Krypto
Kalendarze
  • Gospodarczy
  • Dochody
  • Dywidendy
Więcej produktów
  • Krzywe Dochodowości
  • Opcje
  • Przepływ Wiadomości
  • Pine Script®
Aplikacje
  • Aplikacja mobilna
  • Desktop
Społeczność
  • Sieć społecznościowa
  • Ściana Miłości
  • Poleć przyjaciela
  • Regulamin
  • Moderatorzy
Pomysły
  • Trading
  • Edukacja
  • Wybór Redakcji
Pine Script
  • Wskaźniki i strategie
  • Eksperci
  • Freelancerzy
Narzędzia i subskrypcje
  • Funkcje
  • Cennik
  • Dane rynkowe
Trading
  • Przegląd
  • Brokerzy
Oferty specjalne
  • Kontrakty terminowe CME Group
  • Kontrakty terminowe Eurex
  • Pakiet akcji amerykańskich
O firmie
  • Kim jesteśmy
  • Misja kosmiczna
  • Blog
  • Kariera
  • Zestaw multimedialny
Merch
  • Sklep TradingView
  • Karty tarota dla traderów
  • C63 TradeTime
Zasady i bezpieczeństwo
  • Warunki Użytkowania
  • Wyłączenie odpowiedzialności
  • Polityka Prywatności
  • Polityka Plików Cookie
  • Oświadczenie o Dstępności
  • Wskazówki bezpieczeństwa
  • Program nagród za wykrycie błędów
  • Strona Status
Rozwiązania biznesowe
  • Widżety
  • Biblioteki wykresów
  • Lightweight Charts™
  • Zaawansowane Wykresy
  • Platforma Handlowa
Możliwości rozwoju
  • Reklama
  • Integracja usług brokerskich
  • Program Partnerski
  • Program edukacyjny
Społeczność
  • Sieć społecznościowa
  • Ściana Miłości
  • Poleć przyjaciela
  • Regulamin
  • Moderatorzy
Pomysły
  • Trading
  • Edukacja
  • Wybór Redakcji
Pine Script
  • Wskaźniki i strategie
  • Eksperci
  • Freelancerzy
Rozwiązania biznesowe
  • Widżety
  • Biblioteki wykresów
  • Lightweight Charts™
  • Zaawansowane Wykresy
  • Platforma Handlowa
Możliwości rozwoju
  • Reklama
  • Integracja usług brokerskich
  • Program Partnerski
  • Program edukacyjny
Look FirstLook First