OPEN-SOURCE SCRIPT
Zaktualizowano

KDJ Strategy @ionvolution

5662
Buys if there is crossover in J and D and the crossover is above an SMA defined as an input parameter
Sells if the close is below the SMA or there is a crossunder in J and D

The KDJ calculation is done using ll21LAMBOS21 script. I added start date, end date, stop loss margin and stop profit margin to ease the simulation on diferent conditions of the market.

Tested on BTCBUSD pair. Gives good results in 30m candles with K period = 7 and D period = 3, but also works fine with K period = 14 and D period = 8. It works fine when market is bullish and gives false signals in flat markets. I just developed long strategy, as it is developed to operate in SPOT trading.
Informacje o Wersji
Deleted the qty in the strategy.entry call

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.