2 Attachment(s)
Least Square MA VertexFX Indicator
The Least Square MA is a moving average based indicator that employs least-squares regression model.
Using the closing prices, we calculate the least squares co-efficient over the recent R_PERIOD candles. The co-efficients are calculated using linear weighted moving average.
The Least Square MA builds the price curve which is closest to all the candle closes over the R_PERIOD. Hence it reduces the lag efficiently.
BUY - Enter BUY when indicator value turns GREEN. Avoid entering trade when candle gaps up.
SELL - Enter SELL when indicator value turns RED. Avoid entering trade when candle gaps down.