jtimpson Posted January 19, 2010 Report Posted January 19, 2010 Wondering if anyone has a Hull moving average indicator with color change? (not repaint; at the close of the bar, the color locks in permanently). By color change I mean, when the moving average is going up (or is the same as the previous) , it's colored blue. when it's going down, red. Thanks :)>- Quote
lerxst Posted January 19, 2010 Report Posted January 19, 2010 Re: (Req) Color Change Hull Moving Average MT4 ? I'm attaching a multiple purpose MA indicator for you called XPMA. It has the color change, alert functions and able to replicate many of the popular moving average methods. http://sharebee.com/eb1fc8cb Here is the different modes you can select for the MA type and calculation method. If you ever forget, just look inside the code and it's there. /* Moving average types constants: ------------------------------------ MODE_SMA 0 Simple moving average, MODE_EMA 1 Exponential moving average, MODE_SMMA 2 Smoothed moving average, MODE_LWMA 3 Linear weighted moving average. MODE_DEMA 4 Double Exponential Moving Average. MODE_TEMA 5 Triple Exponential Moving Average. MODE_T3MA 6 T3 Moving Average. MODE_JMA 7 Jurik Moving Average. MODE_HMA 8 Hull Moving Average. MODE_DECEMA 9 DECEMA Moving Average. MODE_SALT 10 SALT Indicator. ------------------------------------*/ /* Applied price constants: ------------------------------- PRICE_CLOSE 0 Close price. PRICE_OPEN 1 Open price. PRICE_HIGH 2 High price. PRICE_LOW 3 Low price. PRICE_MEDIAN 4 Median price, (high+low)/2. PRICE_TYPICAL 5 Typical price, (high+low+close)/3. PRICE_WEIGHTED 6 Weighted close price, (high+low+close+close)/4. --------------------------------- */ Enjoy and kudos welcomed ;)) Quote
jtimpson Posted January 19, 2010 Author Report Posted January 19, 2010 Re: (Req) Color Change Hull Moving Average MT4 ? Thanks for the try. Gave you Kudos for being nice enough to share although I wasn't able to get it working on either of two MT4 accounts. When added to a chart, it shows the icon for the indicator but the moving average doesn't show... Quote
Kit Posted January 19, 2010 Report Posted January 19, 2010 Re: (Req) Color Change Hull Moving Average MT4 ? jtimpson, try to use that HMA, it realy not repaint http://www.mediafire.com/?zk0kzggzm2z Quote
jtimpson Posted January 19, 2010 Author Report Posted January 19, 2010 Re: (Req) Color Change Hull Moving Average MT4 ? jtimpson, try to use that HMA, it realy not repaint http://www.mediafire.com/?zk0kzggzm2z This is what I was looking for. Thanks so much! :-bd Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.