Hello, dear friends.
This script can be used for various strategies. Whether it's a scalp like now or more positional purchases. To determine the minimum and maximum, SAR ,resistance points, support points+HMA+ Bollinger channel are used. The entry occurs when the SAR intersects with the HMA , if it is above or below the support/ resistance levels.
In the settings there is a "back" how many bars to use back to search for these conditions.Also the standard setting is SAR+ multiplier.
The strategy based on these alerts is the same, but the conditions stipulate that the entry into the deal does not occur (while you are in the deal) if the purchase is more expensive than the previous one.