On the basis of moving average, add moving average and standard deviation line of volume to filter the entry and exit time.
Do not enter trades on high volume and price in trend direction.
Exit on high volume and price in profitable direction.
Option 0 = No entry or exit filter
Option 1 = Entry filter only
Option 2 = Exit filter only
Option 3 = Both entry and exit filters