yesmider

profit_trailer_basktesting_v3

yesmider Zaktualizowano   
I rewrite the code of v2.
There are some differences between v2:


1. PT 2.0 support multi-strategy up to 5. => the script have A...E buy inputs.
Not support new strategies now, I'm not sure how they work in PT 2.0, I will add them if the wiki complete.
you may find the options in setting, but they are placeholders.

I will not add the indicators for RSI, MACD, and STOCH RSI, please use the built-in indicator in Tradingview. There is no way to change overlay state of a script in pine script as I know or you can pm me if you know about it.

2. Trailing is disabled now.
I have no idea how it works in multi-strategy, I will enable it if the PT 2.0 release.

3. Now you can set indicator period in the setting, the unit of it is minute different from PT itself.
the entry price of orders still depending on your chart resolution, so I recommend you set the chart resolution same as the main strategy you want.
Like SOM trigger in V2, there is data range limit depend on the resolution you choose.

4. DCA is rewriting now.
And I will release an Anderson only version if I have time to complete it.

5. Add rebuy timer and stop loss timer. the value of it is candles. it will look back N candles on the chart.


Feel free to donate if you think my scripts are useful.

BTC:17eguEeVVnLmYK9iDKQNxBQmKWNENH4bGj
ETH:0xb172BBc4CDAB7F334243A312A46FB8492674A914
BCH:qpy0zulq9s4pcqu3hd2m8h8h7tfm83jz7qle0690c4
Informacje o Wersji:
add DCA. No indicators now.
Informacje o Wersji:
fix rebuy and stop loss timer did not work correctly.
add switches for strategy indicator and price trigger (indi_ prefix).

add indicator for rebuy and stop loss (yellow area) and possible buy point(green area).
Informacje o Wersji:
minor fix
Informacje o Wersji:
Just back from vacation.

add MACD, RSI, STOCH, BBWIDTH strategy.
PM if you find any bug or something.
Informacje o Wersji:
fix an issue for dca rebuy timer.
fix rebuy and stop loss indicator did not show currently.
Informacje o Wersji:
3.4 update:
add stoch rsi strategy.
Informacje o Wersji:
update 3.5
add trailing buy and profit
Note:
we can't get the historical order book by tradingview, it's a simulation by high or low when signal triggered.

set 0 to disable if you don't want to use it.
Informacje o Wersji:
fix stochrsi strategy value 0 to 1
Informacje o Wersji:
fix a bug that dca max profit not working

Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
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.

Chcesz użyć tego skryptu na wykresie?