The current scalper bot works in general as follows:
Higher time frame determines the trend.
Lower time frame determines the trigger of when to enter.
If there is a minimum movement on the m1 candle, it enters in that direction.
Once it has moved 1 pip past break even, it trails it by a dynamic pip value based upon the volatility of the pair and market at the moment.