Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-16-2006, 12:06 PM
Junior Member
 
Join Date: Nov 2006
Posts: 9
migman is on a distinguished road
Calling all gurus and mt4 experts

This must be simple for programmers, but is hard for me...

I am looking for a Ema cross indicator, but one ema for example ema6 must have shift -1. All i find is the regular cross of ema's but without shift option.
Can someone help me please?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-16-2006, 01:41 PM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Quote:
Originally Posted by migman
This must be simple for programmers, but is hard for me...

I am looking for a Ema cross indicator, but one ema for example ema6 must have shift -1. All i find is the regular cross of ema's but without shift option.
Can someone help me please?
In the below example line of code, the 0 value represents the ma_shift.
double Ema1 = iMA(NULL,0,Ema_1, 0,MODE_EMA, PRICE_CLOSE, EmaShift);

If you doubleclick your .mq4 file, you can change this value in your source to your liking and finaly hit the compile button.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-16-2006, 01:47 PM
Junior Member
 
Join Date: Nov 2006
Posts: 9
migman is on a distinguished road
Quote:
Originally Posted by HerbertH
In the below example line of code, the 0 value represents the ma_shift.
double Ema1 = iMA(NULL,0,Ema_1, 0,MODE_EMA, PRICE_CLOSE, EmaShift);

If you doubleclick your .mq4 file, you can change this value in your source to your liking and finaly hit the compile button.

Dam i am such a nerd with mt4... can you change this for me please? Only when you have some free time. Thanks a lot Herbert. Here attached is the indicator.
Really Appreciate that!
Attached Files
File Type: mq4 EmaCrosswithAlerts.mq4 (4.3 KB, 20 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-16-2006, 02:37 PM
HerbertH's Avatar
Member
 
Join Date: May 2006
Posts: 88
HerbertH is on a distinguished road
Indicator EMA shift made adjustable

Quote:
Originally Posted by migman
Dam i am such a nerd with mt4... can you change this for me please? Only when you have some free time. Thanks a lot Herbert. Here attached is the indicator.
Really Appreciate that!
No problem MigMan, here you go.
The shift can now be changed within the indicators settings (default=0)

Regards
Attached Files
File Type: mq4 EmaCrosswithAlerts.mq4 (4.4 KB, 35 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-16-2006, 04:31 PM
Junior Member
 
Join Date: Nov 2006
Posts: 9
migman is on a distinguished road
Quote:
Originally Posted by HerbertH
No problem MigMan, here you go.
The shift can now be changed within the indicators settings (default=0)

Regards

Herbert you are very kind. That you so much! All the best and take care
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling a Script from an EA witchazel Metatrader 4 7 09-21-2008 09:25 PM
HMA - Calling All Programmers!! secxces Indicators - Metatrader 4 58 01-26-2008 09:19 PM
Coding gurus, this question is for you... cubesteak Metatrader 4 6 08-20-2006 08:39 AM
MT4 gurus: How do I access an indicator of a different time frame? ycomp Metatrader 4 5 02-17-2006 02:49 PM


All times are GMT. The time now is 07:03 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.