XP Moving Average! - page 30

 

v9

Added: Email_Alert parameter (default is false - you have to enable it in the code and compile)

 

XPma color change?

Can someone please tell me how to change the moving average lines colors? I have the latest version and I've got a red line for a rising price and a blue line for a falling price. I want to reverse them. I looked at the file in editor to see If I could recognize anything but did not. I did see the syntax for the up and down arrows and am guessing to change those just type in the color wanted? Thanks for the help.

Ps

 
PornStar:
Can someone please tell me how to change the moving average lines colors? I have the latest version and I've got a red line for a rising price and a blue line for a falling price. I want to reverse them. I looked at the file in editor to see If I could recognize anything but did not. I did see the syntax for the up and down arrows and am guessing to change those just type in the color wanted? Thanks for the help. Ps

You can change the colors from the custom indicator properties window (review the image attached)

or from these lines of code:

#property indicator_color1 Yellow

#property indicator_color2 Blue

#property indicator_color3 Red
Files:
color.jpg  48 kb
 

Thanks codersguru

Guess I should have said I wanted to edit the code. I've done it in the properties window but wanted to make it a permanent fix. The arrows listed in the code can be changed the same way correct?

Ps

 
PornStar:
Guess I should have said I wanted to edit the code. I've done it in the properties window but wanted to make it a permanent fix. The arrows listed in the code can be changed the same way correct? Ps

YEP!

 

Works great!

Thanks again. Nice job on this by the way.

Ps

 

v9

codersguru:

Added: Email_Alert parameter (default is false - you have to enable it in the code and compile)

Codersguru, thank you for sharing your hard work. I really like DECEMA. Well I like all your ema's but I think that Decema can be usefull for some manual trading.

Thank you!

Mario

 
alamanjani:
Codersguru, thank you for sharing your hard work. I really like DECEMA. Well I like all your ema's but I think that Decema can be usefull for some manual trading.

Thank you!

Mario

Mario, how do you use DECEMA? I just downloaded and installed it, but I don't see any indicator on the chart. And the DECEMA in the data window shows 0.0000

 

Oops, I have it installed now, sorry for the question above.

But it does not look like it is very useful, right now it just looks like about a 2 period EMA. How do you use this?

 
mikejody:

But it does not look like it is very useful, right now it just looks like about a 2 period EMA. How do you use this?

Try this, put Decema twice on a chart. Once with MA_Period=44 and MA_Price=0 and second Decema set to 45 and 1

Then watch it on 15 min, 30 min, 1H and 4H - trade crosses and choose time frame which best fit to you.

Mario

Files:
aud.usd.gif  58 kb
Reason: