Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs 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

 
 
Thread Tools
 
Old 12-09-2006, 12:57 AM
Junior Member
 
Join Date: Mar 2006
Posts: 11
bunder is on a distinguished road
Quote:
Originally Posted by dazrul
Hii Ahmad,

I use standard deviation as a filter during sideways. Standard deviation measures how many unit the price is away from a moving average. For GBPUSD 1 hour, i won't trade if the deviation is less than 18 unit using LWMA 18 (Median price). Most newbies or even I could say exprienced traders do not use this indicator as its least benefit. However, if you trade using MAs cross, it would help you in exit and entry.

Hopefully it would help you too...
Hello Dazrul,

Can you explain the 18 unit of the standard deviation of LWMA-18?

Thanks
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!
 
Old 12-12-2006, 07:18 PM
Junior Member
 
Join Date: Dec 2006
Location: Oviedo, FL
Posts: 2
DoxAdon is on a distinguished road
Smile Is There a Hi vs Low Over Time Indicator?

Hi everyone! I'm new here (and relatively new to Forex tading).

I was wondering if there is an indicator that plots a line representing the DIFFERENCE between the highest close and the lowest close over a user-defined period of time. It's a kind of a volatility thing, but different from what I've seen. What I'd like to be able to do is look at this indicator and know whether the price is (for example) even covering the spread at a particular point in time. So if the spread was 3 pips, and the indicator told me that over the last 14 periods (or whatever number of period I set it to) the highest close and the lowest close have ony been 2.5 pips apart, there's little point in trying to enter beacuse the avarage change over this period of time hasn't been enough to even cover the spread, let alon some higher profit point.

Am I making myself clear on this? If not, I can try again. But is there is such an indicator and if so, what/where is it? And if not, could any of you programming types make one? :-)

Thanks much!!

Scott <><

_______________________________________

Scott Sutherland
484 Yorkshire Dr.
Oviedo, FL 32765
ScottPSutherland@gmail.com
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!
 
Old 05-11-2009, 12:27 PM
Junior Member
 
Join Date: Sep 2008
Posts: 3
mzeki is on a distinguished road
Standard Deviation of an Indicator

I want to create an indicator that I'm using in Metastock, can someone please help me?

1) find standard deviation of the indicator (whichever indicator I drag this into) and use the last standard deviation value

2) draw 2 lines above zero and two lines below zero such that:
first line above zero (green) is 1 standard deviation
second line above zero (red) is 2 standard deviations
first line below zero (green) is -1 standard deviation
second line below zero (red) is -2 standard deviations

thanks..
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!
 
Old 05-16-2009, 05:01 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,267
mladen is on a distinguished road
...

Was looking for some calculations and when I did not find those for metatrader...
Now, this is made as an indicator but it is rather a tool for calculating certain values for arrays than an indicator
I could not think of a better name for it than deviations (based on the majority of work it does)

______________________

Parameters are simple except maybe for the mode parameter
Mode parameter values :
0 - A simple moving average (nothing else )
1 - variance (Variance - Wikipedia, the free encyclopedia)
2 - average (absolute) deviation (http://en.wikipedia.org/wiki/Absolute_deviation)
3 - standard deviation (Standard deviation - Wikipedia, the free encyclopedia)
4 - skewness (Skewness - Wikipedia, the free encyclopedia)
5 - kurtosis (Kurtosis - Wikipedia, the free encyclopedia)
______________________

As I told, as I could not think of a better name for this and also I did not find a better thread to post it to.
Attached Images
File Type: gif devs.gif (25.1 KB, 483 views)
Attached Files
File Type: mq4 Deviations.mq4 (5.0 KB, 115 views)

Last edited by mladen; 05-16-2009 at 05:29 PM.
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!
 
Old 05-16-2009, 07:19 PM
Junior Member
 
Join Date: Sep 2008
Posts: 3
mzeki is on a distinguished road
standard deviation of an indicator

As I tried to explain above, I need the last standard deviation value of the indicator used. This value is a number that takes all history of the indicator into consideration. The reason I say last standard deviation value is that, you will have a standard deviation value for each data point that used the data up to this point, however what I need is using the whole history.

After finding the standard deviation, the rest is simpler.
Just multiply it by +1,+2,-1 and -2 and draw it (preferably with +1/-1 in green, +2/-2 in red).

Please see the attached chart.

The reason for using this: I'm using indicators that does not have definite values (eg. unlike RSI 0-100 with 30-70 lines or stochastic 0-100 with 20-80 lines). Using the standard deviation lines, we can find the historical extreme values of these indicators and be warned when they are overextended.

I don't have any experience with MT4 language, please help me with this relatively easy script. If there is no formula for standard deviation inside the MT4 editor, I can provide the formula for it as well.

Thanks..
Attached Images
File Type: jpg st dev lines.jpg (100.8 KB, 399 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!
 
Old 05-16-2009, 07:48 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,267
mladen is on a distinguished road
In the deviations indicator above your post you have a line (line 134) that goes like this :
PHP Code:
      prices[i] = iMA(NULL,0,1,0,MODE_SMA,price,i); 
replace the iMA(...) part (which is, in deviations indicator used only to extract prices faster) with whatever indicator you want to calculate standard deviation for and set mode to 3 (for example :
PHP Code:
      prices[i] = iRSI(NULL,0,RsiPeriod,RsiPrice,i);
      
buffer[i] = iCalc(prices,StdDevPeriod,3,i); 
would calculate standard deviation of rsi for RsiPeriod, RsiPrice and StdDevPeriod (which you have to provide))

________________________

You can also use the iStdDevOnArray() function provided that you fill some array similarly like from the example above...

Quote:
Originally Posted by mzeki View Post
As I tried to explain above, I need the last standard deviation value of the indicator used. This value is a number that takes all history of the indicator into consideration. The reason I say last standard deviation value is that, you will have a standard deviation value for each data point that used the data up to this point, however what I need is using the whole history.

After finding the standard deviation, the rest is simpler.
Just multiply it by +1,+2,-1 and -2 and draw it (preferably with +1/-1 in green, +2/-2 in red).

Please see the attached chart.

The reason for using this: I'm using indicators that does not have definite values (eg. unlike RSI 0-100 with 30-70 lines or stochastic 0-100 with 20-80 lines). Using the standard deviation lines, we can find the historical extreme values of these indicators and be warned when they are overextended.

I don't have any experience with MT4 language, please help me with this relatively easy script. If there is no formula for standard deviation inside the MT4 editor, I can provide the formula for it as well.

Thanks..
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!
 
Old 05-16-2009, 10:44 PM
biddick's Avatar
Senior Member
 
Join Date: Mar 2009
Posts: 127
biddick is on a distinguished road
Quote:
Originally Posted by mladen View Post
Was looking for some calculations and when I did not find those for metatrader...
Now, this is made as an indicator but it is rather a tool for calculating certain values for arrays than an indicator
I could not think of a better name for it than deviations (based on the majority of work it does)

______________________

Parameters are simple except maybe for the mode parameter
Mode parameter values :
0 - A simple moving average (nothing else )
1 - variance (Variance - Wikipedia, the free encyclopedia)
2 - average (absolute) deviation (http://en.wikipedia.org/wiki/Absolute_deviation)
3 - standard deviation (Standard deviation - Wikipedia, the free encyclopedia)
4 - skewness (Skewness - Wikipedia, the free encyclopedia)
5 - kurtosis (Kurtosis - Wikipedia, the free encyclopedia)
______________________

As I told, as I could not think of a better name for this and also I did not find a better thread to post it to.
Superb, thank you.
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!
 
Old 05-17-2009, 02:35 AM
Senior Member
 
Join Date: Dec 2005
Posts: 505
mrtools is on a distinguished road
Quote:
Originally Posted by mladen
Was looking for some calculations and when I did not find those for metatrader...
Now, this is made as an indicator but it is rather a tool for calculating certain values for arrays than an indicator
I could not think of a better name for it than deviations (based on the majority of work it does)

______________________

Parameters are simple except maybe for the mode parameter
Mode parameter values :
0 - A simple moving average (nothing else )
1 - variance (Variance - Wikipedia, the free encyclopedia)
2 - average (absolute) deviation (Absolute deviation - Wikipedia, the free encyclopedia)
3 - standard deviation (Standard deviation - Wikipedia, the free encyclopedia)
4 - skewness (Skewness - Wikipedia, the free encyclopedia)
5 - kurtosis (Kurtosis - Wikipedia, the free encyclopedia)

______________________

As I told, as I could not think of a better name for this and also I did not find a better thread to post it to.
Thank you Mladen,here's a picture of AllMa ZeroLag using kurtosis, verry,verry interesting!!!!!
Attached Images
File Type: gif all ma zerolag kurtosis.gif (32.4 KB, 343 views)

Last edited by mrtools; 05-17-2009 at 04:33 AM.
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!
 
Old 05-17-2009, 07:11 AM
Junior Member
 
Join Date: Sep 2008
Posts: 3
mzeki is on a distinguished road
Standard Deviation of an Indicator

Thanks mladen,

I tried what you said (really tried hard) but again failed
Can you please post here the full code with changes.

Instead of mentioning any indicator (like RSI) inside the code, isn't it possible to use it for any indicator that the new indicator is attached to, just like Moving Average of Oscillator..
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!
 
Old 05-17-2009, 08:22 AM
Senior Member
 
Join Date: Dec 2005
Posts: 505
mrtools is on a distinguished road
Deviations

Here's RSI Deviation and ATR Deviation
Attached Images
File Type: gif aatr rsigif.gif (31.7 KB, 311 views)
Attached Files
File Type: mq4 RSIDeviations.mq4 (5.1 KB, 63 views)
File Type: mq4 ATRIDeviations.mq4 (5.1 KB, 59 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!
 

Bookmarks

Tags
deviation indicator, standard deviation
Thread Tools

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
Trend Deviation (TRD) raff1410 Indicators - Metatrader 4 53 09-06-2009 05:25 PM


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



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