The Fibonacci Moving Average (FMA) is an indicator for financial markets that is calculated using the Fibonacci sequence and the metallic mean. The metallic mean is a type of average that is calculated by adding the source and the square root of the sum of the square of the source and 4, and then dividing the result by 2. The FMA is then calculated by using the metallic mean of the source as the weight for each period in the given length, and summing these weighted values. The standard deviation of the metallic mean of the source is also calculated using the FMA over the given length.
Users can input the source data and the length for the FMA calculation, as well as a series of boolean values to determine which levels of the FMA to plot on the chart. The levels include the standard deviation of the metallic mean of the source, as well as various multiples of the Fibonacci ratios between 0 and 2.618. The resulting FMA and standard deviation values can be plotted on the chart to help traders identify trends and potential entry and exit points in the market.