Polychromatic Momentum is a generalized Momentum study considering a number of Momentum values controlled by the length input. The greatest weight is given to the most recent Momentum value, while the precedent values are given lesser weight. Each Momentum value is assigned weight equal to inverse square root of Momentum distance (number of bars prior to the current bar). Then the sum of the weighted Momentum values is divided by the sum of the square roots.

It is considered a Buy signal when the plot surpasses the Buy level, and a Sell signal if it falls below the Sell level.

Input Parameters

Parameter Description
price The price used to calculate the Polychromatic Momentum.
length The number of bars used to calculate the Polychromatic Momentum.
bxo The Polychromatic Momentum buy level.
sxo The Polychromatic Momentum sell level.


Plot Description
PM Polychromatic Momentum.
BuyLevel Buying level, defined by "bxo" input.
SellLevel Selling level, defined by "sxo" input.


*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.

You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
MOBO (Momentum Breakout Bands) study suggests that all markets and stock prices have a period ...
The MomentumLE strategy generates a Long Entry signal when Momentum is rising. This strategy ...