I have been trying to create a buy (red to green) or sell ( green to red) strategy based on the change in color of the HMA average. Tried using buy = HMA > HMA and HMA < HMA; Sell = HMA < HMA and HMA > HMA; but it buy and sell signal does not match the color change. Would appreciate help on this if it can be done. Tried for several hours but can't figure it out. I can create arrows at the color change but can't create correct Strategy for Buy and Sell trades. It appears that using the HMA values do not follow the smooth curve of the average line.