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.
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ā?
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.