yesmider

profit_trailer_basktesting_v3

yesmider Güncellendi   
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
Sürüm Notları:
add DCA. No indicators now.
Sürüm Notları:
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).
Sürüm Notları:
minor fix
Sürüm Notları:
Just back from vacation.

add MACD, RSI, STOCH, BBWIDTH strategy.
PM if you find any bug or something.
Sürüm Notları:
fix an issue for dca rebuy timer.
fix rebuy and stop loss indicator did not show currently.
Sürüm Notları:
3.4 update:
add stoch rsi strategy.
Sürüm Notları:
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.
Sürüm Notları:
fix stochrsi strategy value 0 to 1
Sürüm Notları:
fix a bug that dca max profit not working

Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmıştır ve özgürce kullanabilirsiniz. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz. Kaynak kodunu görüntüleyemez veya değiştiremezsiniz.
Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?