I've changed quite a bit in this script. I streamlined most of it to remove unused options that were leftover from experiments I had tried that didn't work correctly but that was not the main focus here.
This is my best scalper script to date but it was not clear to users how it worked. I have added a new feature which I will go over though the main purpose of this update is to clarify use to you, end user.
The basis for this strategy is that it uses a super fast set of Bollinger bands for buys. Because it will use your current chart timeframe for buys, please set your chart to one minute. It then looks to a user-defined percentage to take profit. This is the only way this bot takes profit and I mention this because there are multiple sell conditions but this is the only one actually used to make money. Use the backtester to figure out the best settings for your Buy Bands (as I like to call them.)
The second available sell condition is the first stop loss. It is a Bollinger-band based stop loss. The concept here is that you will use a much slower set of Bollinger bands from a resolution that you set. These bands will be overlaid across your chart. If on any given minute the price drops below the lower band, a stop loss will occur. You can probably see now why this script requires a one minute chart. This stop loss can be toggled on and off from options. By default it is on.
The third sell condition is another stop loss, though this one is strictly percentage-based. You can set your percentage and toggle use of this sell condition in Settings. By default it is off.
I have a few more ideas for this script. I want to add a toggleable and variable RSI-based entry condition that can pull from multiple resolutions at once. I also want to add a fourth sell condition in the form of a trailing take profit/stop loss.
Depending on how you configure it this probably my most aggressive script. Keep that in mind when you use it!