Ok, why not? The one in the previous post is just some knock-off of some code I did called the LSMA which got slaughtered by the wolves who never even realized it had a fundamental coding error in it. Here is a cleaner and better version of a simple colored moving average indicator, ready for the gallows
SETTINGS:
MAType- 0 - Simple Moving Average
- 1 - Exponential Moving Average (Default)
- 2 - Smoothed Moving Average
- 3 - Linear Weighted Moving Average
MAPeriod- Whatever period you like (Default = 34).
MAShift- Shift Moving average forward how many bars (Default = 0).
PriceType- 0 - Close Price
- 1 - Open Price
- 2 - High Price
- 3 - Low Price
- 4 - Median Price, (high+low)/2.
- 5 - Typical Price, (high+low+close)/3.
- 6 - Weighted Close Price, (high+low+close+close)/4.
So long.
FX Sniper