ProfitTrailer allows you to use one or more strategy at the same time in order to trigger a sell. With multiple strategies, you are able to look at different aspects of the trend of a coin before deciding if you should sell. Combining strategies properly can improve your profitability by a large margin vs using a single strategy.
This is hard to predict without any proper visualition. Luckily, ProfitTrailer has tons of custom indicators available on Tradingview, which allows us to apply them on a chart and see where exactly a buy or sell would have been triggered.
Let's take a look at a Tradingview chart of Bitcoin and apply two EMA lines so we can emulate an EMACROSS:
What we are looking at is a chart of BTC/PERP on the 12 hour timeframe (marked above in the white circle).
Please keep in mind that these examples are pure educational and not intended for actual guidance. Do your own research and find out which values or indicators fit best to your own liking and style of trading.
Let's say you've spend enough time trying out different possibilities, analyzing different values and timeframes,.. and finally came up with a method which you think is a good bet. Then it's finally time to put them into ProfitTrailer and let the bot do it's thing!
Using the example above: we saw that it could be interesting to exit a trade when the fast line crosses below our slow line. So let's translate that into ProfitTrailer. We will use -1 so ProfitTrailer sells when fast line is 1% below slow line.
DEFAULT_A_sell_strategy = EMACROSS
DEFAULT_A_sell_value = -1
As for the buy strategy, we could also use the same example and buy when the slow line crosses under our fast line.
DEFAULT_A_buy_strategy = EMACROSS
DEFAULT_A_buy_value = 1
Click the Save icon at the top of your config and you're all set!
Please keep in mind that these examples are pure educational and not intended for actual guidance. Do your own research and find out which values or indicators fit best to your own liking and style of trading.
Next up, we need to make sure we set up the right indicator settings linked to our sell strategies.
In order to do that, go to the Indicators tab located in Active Config and set the right values for the corresponding sell strategy. More info about the Indicators here.
EMACROSS_candle_period = 43200
(because 43200 seconds = 12 hours and that's what we were looking at in the chart above).EMACROSS_fast_length = 35
(because that's the length we used for the first EMA line in the example above).EMACROSS_slow_length = 9
(because that's the length we used in the second EMA line example above).EMACROSS_cross_candles = 2
(a value of 2 means the cross must have happened up to 2 candles ago).Click the Save icon at the top of your config and you're all set!
Now that all of that is done, our indicator should work identically to what we've visualized in our example, and ProfitTrailer should buy exactly where I marked the green circles, and sell where I marked the red circles.
Because our lines in Pairs seem to correspond with our Tradingview settings, and the ones in Indicators seem to correspond with the Tradingview settings aswell.
Now we've got everything set up to our liking, we can finally move on to the final part and setup the right formula so ProfitTrailer triggers what we intend to use.
This also happens in the Pairs tab located in Active Config. You want to align your sell strategies with your sell formula in order to trigger the right one.
If you want to count on EMACROSS independently, you use DEFAULT_sell_strategy_formula = A
.
(Because strategy A
is EMACROSS in our example).
If you want to rely on EMACROSS vs another strategy, you use DEFAULT_sell_strategy_formula = A && B
(B
being the letter of another sell strategy you made).
If you want ProfitTrailer to choose between one of both, you use DEFAULT_sell_strategy_formula = A || B
Click the Save icon at the top of your config and you're all set!
Remember you can add as many sell strategies as you wish! There are countless possibilities.
But in order to learn we suggest to take it slow and easy so you fully understand the workflow of ProfitTrailer.
Attention: We always suggest to run your bot in Test Mode for a few weeks before really taking off. Just to make sure there are no mistakes left in your code and to avoid unnecessary losses or wrong entries and/or exits.