yesmider

profit_trailer_basktesting_v3

yesmider Actualizado   
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
Notas de prensa:
add DCA. No indicators now.
Notas de prensa:
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).
Notas de prensa:
minor fix
Notas de prensa:
Just back from vacation.

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

Script protegido
Este script se publica con código cerrado, pero puede utilizarlo libremente. Márquelo como favorito y podrá usarlo en un gráfico. El código fuente no se puede ver ni modificar.
Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?