TP with Indicator OR percentage

Is it possible to hit TP the with a technical indicatorORpercentage whatever becomes true first?

How shall that look like and do you want to use Minimum take profit percent?

Then Minimum take profit percent < Take profit percentage.

Yes itā€™s possible. Choose to close by indicators, then add whatever indicator you want to use plus this one: Average Position Price (AVP) Indicator

Then change the indicator logic to OR.

3 Likes

AVP is the last indicator in the third section Momentum.

Thanks, Iā€™ll check it out

Iā€˜ve run a backtest setting the AVP indicator to 2 % only to find out that all deals closed at 2 % but never by indicator. Finally that left me with a too high unrealized profit. I believe @Whiteomin reported a bug today (AVP (Average Position Price) indicator in conjunction with other indicators via a condition OR) that looks pretty similar to what Iā€˜ve experienced. Or does it have to do with the fact that AVP indicator is supposed to be ā€žonly working on running dealsā€œ?

1 Like

If your AVP percentage is reached first, that closes the deal.

Make sure that Minimum take profit percent (for the indicator) < Take profit percentage (AVP) and there is enough space that you donā€™t directly reach the AVP.

Iā€˜m running the bot with MA Cross as a TP-indicator and Iā€™ve added AVP of 2 % with ā€œORā€condition but the bot totally disregarded MA Cross an closed only a very few deals at 2%. That seems to me very unlikely because during that testing period there were many opportunities to close by MA Cross.
So it would be helpful to know the correct settings for using a technical indicator and AVP and to take profit whichever got hit first.

How did you configure it? Which happened first, the MA Cross with a minimum take profit > x%, where x <= 2 or the AVP with take profit > 2%? Whatever was reached first closed the deal.

Well, before using AVP, deals closed fairly reliable at MA Cross. Also, the amount of deals was pretty high. No minimum profit set.

When using AVP the number of closed deals was low and those few deals always closed at 2 %. My intention is to run a bot that closes either at MA Cross or 2% - whatever got hit first.

How often did deals reach MA Cross before reaching 2%? Thereā€™s not so much room. But without Minimum take profit your indicator may even close in losses, doesnā€™t it?

Thanks, Iā€™ve checkked and TP hasnā€™t been hit that much either using MA Cross only. An yes, there have been various deals closing in loss!

In order to avoid that Iā€™m trying now to take profit in percentage and I wonder if there is a setting - like stop loss - that exits when the current price goes below entry price.

Either you use a minimum take profit with the indicator or you add , as @Rossano already suggested often, a stop loss with webhook, without connecting a signal to it, and enable move to break-even.

Thanks, but I must admit that I do not know how to ā€œenable move to break-evenā€ and I couldnā€™t find it @Rossano either. A hint how to set SL to break-even would be helpful.

If your min TP is at 2% set the move stop loss like this ā€™ so when the price passes 2.5% the SL moves to 2%

1 Like