Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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 :)>-

Posted

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 ;))

Posted

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...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...