this is based on tradingview.com/v/PbQW4mRn/ I just change the way to find lows as the strategy based on exit by % and pyramiding
if you will play with % you will see that higher % exit like in this example of 20% make it to gain more profit (mainly due to pyramiding in the strategy ) in realistic strategy you will exit by much lower % out unless you are bot:) to convert it to study with alerts just remove the strategy part (like in the original study of XAVI)