This is a highly adjustable indicator for the ProfitTrailer Crypto Currency Trading Bot.
You can use it to visualize the EMAGAIN buy strategy. Here is how it works:
Set the candle size by setting your TV candle time accordingly Set the candles used for Slow and Fast EMA Lines in the settings of this Indicator Also set the buy value you would like to use on your bot to visualize the buy zones. You can set it either positive or negative.
The indicator will then show the Fast EMA, Slow EMA as well as the the areas where the actual price exceeds the buy value you have set and would generate a buy signal for Profit Trailer. Please keep in mind that Profit Trailer may still use trailing buy and trailing profit to optimize your buy/sell situation, this can obviously not be shown through this indicator.
Note: This is a first public release, future modifications may follow and are then shown on this site as updates. Always read this page to the end.
Release Notes
Fixed a bug where positive EMAGAIN buy values were handled wrong. This also is connected to wrong wording on the PT Wiki that is going to be fixed.
Note: Buying currently happens when the actual price is below the offset line of the lower EMA line, no matter if the buy value is positive or not.
This script is published closed-source and you may privately use it freely.
Want to use this script on a chart?
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.