moving average and macd
  #1 (permalink)  
Old 07-11-2006, 12:56 PM
Freshman
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MuppetMan is on a distinguished road
Default moving average and macd

hello everyone

I hope someone can help me with my system I use. Could someone help
code a indicator for me that follows these rules.

Chart setting is 5mins.
10 WMA
20 SMA
MACD (24/52/18) exponential

Buy - when 10 WMA moves past above 20 SMA and MACD average crosses up.
Sell - When 10 WMA moves past below 20 SMA and MACD averages crosses
down.

Something like a thumbs up or a arrow, to show a signal would be good.

cheers

MuppetMan the greatest!
Reply With Quote
  #2 (permalink)  
Old 07-11-2006, 01:52 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,957
Thanks: 113
Thanked 380 Times in 151 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Hey

Check back soon. I'll code it for you.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
The Following 2 Users Say Thank You to scorpion For This Useful Post:
  #3 (permalink)  
Old 07-11-2006, 02:32 PM
Freshman
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MuppetMan is on a distinguished road
Default

Hello scorpion,

Thankyou, I will look forward to testing it.

Cheers

MuppetMan the greatest!
Reply With Quote
  #4 (permalink)  
Old 07-12-2006, 03:37 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,957
Thanks: 113
Thanked 380 Times in 151 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Here you go. This indicator will automatically draw the two moving averages and the arrows. To get macd visual, add it manually (add or not doesn't affect this combined indicator; it's just for visual only).

Test it, see if you want to make any changes.

Cheers!
Attached Files
File Type: mq4 MuppetMan MA MACD.mq4 (3.1 KB, 519 views)
Sponsored Links Shark EA Ultimate
Actual Profits on Live Account: +975%
Since Jan 2007. View Live Statements.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #5 (permalink)  
Old 07-12-2006, 04:49 PM
Freshman
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MuppetMan is on a distinguished road
Default

Hello Scorpion,

Thankyou very much, you have done some wicked coding there. There are 2 very small adjustments I would like to make.

1). To have the arrows more visible, a little away from the bar. Please see attached, arrows.gif

2). To have an alert when I get a signal using the news.wav that comes with MT4. If possible to code it, where it will only play once, as some of the EA's I have used that have an alert, you get a ding ever movement in price, and drove me barmy.

But, the code is wicked!!!

Thanks

MuppetMan the greatest!
Attached Images
File Type: gif arrows.gif (1.3 KB, 408 views)
Reply With Quote
  #6 (permalink)  
Old 07-12-2006, 11:37 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,957
Thanks: 113
Thanked 380 Times in 151 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Hey

You should know that the arrow is placed at close price for one reason: acuracy. When you backtest it on chart, you have all the price points where you can really execute trades. It's possible to move these arrows away from price, but you ask it to lie (like making a loss visible as a breakeven or a winner like in the screenshot).

Maybe change the arrow type and color instead? like blue color is more visible.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Email alert
  #7 (permalink)  
Old 07-12-2006, 11:44 PM
Freshman
 
Join Date: Jun 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
toddanderson is on a distinguished road
Default Email alert

Can an email alert be added to this indicator
Reply With Quote
  #8 (permalink)  
Old 07-13-2006, 07:12 AM
Freshman
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MuppetMan is on a distinguished road
Default

moring,

Yep, I understand where you are comming from. Maybe a change in the type of arrow will be good.

I have attached another gif, after changing the colours, and they do make a little change.

Thanks

MuppetMan the greatest!
Attached Images
File Type: gif arrows2.gif (2.2 KB, 323 views)
Reply With Quote
  #9 (permalink)  
Old 07-18-2006, 02:03 PM
Freshman
 
Join Date: Jul 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
MuppetMan is on a distinguished road
Default

Hi Scorpion,

I have been testing the indicator this week, and a couple of days last week, been working Very good, got some good trades.

Can you add an alert to the indicator, that would play alert.wav when there is a signal? Also can you add the alert to play only once, instead of every price movement?

Thanks

MuppetMan the greatest!
Reply With Quote
  #10 (permalink)  
Old 09-16-2006, 06:11 AM
Freshman
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Amitr is on a distinguished road
Default

Whts the strike rate after using this Indicator and wht shld be the s/l to be kept and any other filter to add to this indicator to make it more effective. thnks & regards

amit.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Try to analyse MA Cartoon General Trading Talk 12 02-08-2006 12:29 AM


All times are GMT. The time now is 09:56 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast