Go Back   Forex-TSD > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #131 (permalink)  
Old 09-28-2007, 09:29 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,869
Blog Entries: 321
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by etrade View Post
When I try to use a negative value for EndEMAShift, the history of the chart is OK, but the last few bars not working.

Can anyone let me know what is the problem ?
I am not sure exactly but I think thast negative value of EndEMAShift will not work. Because EndEMAShift is just a shift. Number of bar.

Look at here:
Code:
fEndMA=iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_MEDIAN,i+EndEMAShift);
      fStartMA=iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_MEDIAN,i+StartEMAShift);
fAngle = mFactor * (fEndMA - fStartMA);
i+StartEMAShift and i+EndEMAShift are number of bars on the chart. For example: bar #0, bar #1 and so on.
And all bars on the chart is counted starting from zero (0):
- bar #0 is current bar which you see on the chart. It is open bar in most of the cases.
- bar #1 is previous bar.

Bar # -1 is future bar which does not exist yet. So the bar number can not have negative value.

Of course sometimes some coders are coding for future bars especially but it is very special cases. For example well-known case with Future-is-not-set indicator based on DayImpulse indicator is such a case.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #132 (permalink)  
Old 09-28-2007, 10:16 AM
etrade's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 271
etrade is on a distinguished road
Quote:
Originally Posted by newdigital View Post
I am not sure exactly but I think thast negative value of EndEMAShift will not work. Because EndEMAShift is just a shift. Number of bar.

Look at here:
Code:
fEndMA=iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_MEDIAN,i+EndEMAShift);
      fStartMA=iMA(NULL,0,EMAPeriod,0,MODE_EMA,PRICE_MEDIAN,i+StartEMAShift);
fAngle = mFactor * (fEndMA - fStartMA);
i+StartEMAShift and i+EndEMAShift are number of bars on the chart. For example: bar #0, bar #1 and so on.
And all bars on the chart is counted starting from zero (0):
- bar #0 is current bar which you see on the chart. It is open bar in most of the cases.
- bar #1 is previous bar.

Bar # -1 is future bar which does not exist yet. So the bar number can not have negative value.

Of course sometimes some coders are coding for future bars especially but it is very special cases. For example well-known case with Future-is-not-set indicator based on DayImpulse indicator is such a case.
many thanks for helpful information
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #133 (permalink)  
Old 10-10-2007, 07:59 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,869
Blog Entries: 321
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Squize_MA_mtf insicator is here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #134 (permalink)  
Old 10-11-2007, 08:52 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,869
Blog Entries: 321
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
MA_in_Color_wAppliedPrice indicator by MrPip is here SYNERGY Trading Method
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #135 (permalink)  
Old 10-13-2007, 07:55 PM
Senior Member
 
Join Date: May 2006
Posts: 255
banzai is on a distinguished road
FX5 Sniper's MA



Sometime you post a chart and we don't know which MA is which. So I modified the indicator to show what color belongs to which MA. Attached is a template so you can use it to modify. It's easier to see how it was set up. You can display the info in any 4 corner: upper left, upper right, lower left, lower right. In this set up, I display the info in the upper right corner.
Attached Files
File Type: mq4 FX Sniper's MA.mq4 (3.7 KB, 246 views)
File Type: tpl FX5 Sniper Wannabe Rainbow.tpl (50.1 KB, 238 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #136 (permalink)  
Old 10-13-2007, 08:11 PM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 228
Blaiserboy is on a distinguished road
Excellent job, Banzai..!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #137 (permalink)  
Old 10-14-2007, 06:53 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,869
Blog Entries: 321
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Squize_MA_M_mtf indicator -added envelopes on squize areas Multi Timeframe Indicators
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #138 (permalink)  
Old 10-22-2007, 07:15 AM
Junior Member
 
Join Date: Aug 2007
Posts: 22
mememe is on a distinguished road
Quote:
Originally Posted by fxbs View Post
SnakeBorders SnakeForce

do you hava a SnakeBorders with alert???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #139 (permalink)  
Old 10-22-2007, 09:12 PM
Member
 
Join Date: Feb 2006
Posts: 63
icm63 is on a distinguished road
Hourly MA shown in 5 min charts

I am sure someone may have already done this.

An indicator to show the hourly moving averages like 20 period hourly MA within a 5 min chart. Any indicator like this on this forum ?? Please share, thx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #140 (permalink)  
Old 10-22-2007, 09:31 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,117
omelette is on a distinguished road
Why do you need an indicator? - just multiply the period you want by 12...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
Adaptive Moving Average, afirma, allaverages, AllAverages_v2.2.mq4, black dog, bykov Trend, ema cross indicator, FerruFx, forex, FX Sniper's MA Final, guppy multiple moving average, hull moving average, jma nolagma ma, ma distance, MetaTrader 4, metatrader 4 indicator, metatrader indicator, moving average, moving average angle, moving average channel, moving average mq4, moving average.mq4, moving averages, MTF Moving Average, snake, snake in borders, snakeforce, TRIX.mq4, ZeroLagEMA, zz_mtf_xo_nested_params


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
XP Moving Average! codersguru Ema Cross 428 03-06-2010 11:50 PM
EA Moving Average rodrigokaus Expert Advisors - Metatrader 4 11 02-17-2010 01:23 PM
Moving Average RSI xcooper Metatrader 4 27 09-12-2009 09:05 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 02:05 PM
moving average danu Expert Advisors - Metatrader 4 1 05-31-2006 04:23 AM


All times are GMT. The time now is 02:26 AM.



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