Forex



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
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2008, 08:46 PM
MrM MrM is offline
Member
 
Join Date: Jul 2007
Posts: 81
MrM is on a distinguished road
Oscillators

Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered.

And let's go a little beyound RSI and Stochastic
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
  #2 (permalink)  
Old 09-18-2008, 10:27 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,017
Blog Entries: 235
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
It is good decision to start the thread about it.

Just come connections:

Stochastic Oscillator

http://www.forex-tsd.com/222655-post120.html

RSI indicator

Parabolic SAR indicator

MACD indicator

Laguerre indicator

But it is very good to start the thread about all Oscillators in general.
__________________
My blog on TSD
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
  #3 (permalink)  
Old 09-21-2008, 04:42 PM
MrM MrM is offline
Member
 
Join Date: Jul 2007
Posts: 81
MrM is on a distinguished road
the most basic oscillator

Ok, maybe the most simple oscillator would be the price (close) - the moving average (close) over N periods.

Because if fx rates really do move around their averages, this could be a simple indication of extreme moves: if you made a probability distribution of this oscillator you could also put an exact % of chance of such a move (vis a vis its moving average).

Is this indicator available?
__________________
tensigma.blogspot.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!
Reply With Quote
  #4 (permalink)  
Old 09-21-2008, 04:55 PM
MrM MrM is offline
Member
 
Join Date: Jul 2007
Posts: 81
MrM is on a distinguished road
actually this (price - MA oscillator) would be a real simple kind of detrending

It would be a lot like MAdistance.mq4 , but as an oscillator, and not just as text on the chart.

By editing the line
extern int MA.Method = MODE_EMA; to
extern int MA.Method = MODE_SMA; You get the difference between the price and the SMA.

The required indi is similar to the DPO, but still it's not the same because when you compare the value of the DPO with the difference between the price bars and the MA, you get a different value (for the same settings of MA offcourse)

Last edited by MrM; 09-21-2008 at 06:21 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!
Reply With Quote
  #5 (permalink)  
Old 09-21-2008, 11:19 PM
MrM MrM is offline
Member
 
Join Date: Jul 2007
Posts: 81
MrM is on a distinguished road
Difference between price and moving average Oscillator

Here is the code for what I meant to do.

It plots the difference between the price and a moving average as an oscillator. It looks very similar to an RSI...

//+------------------------------------------------------------------+
//| MApricediff.mq4 |
//| Copyright © 2008, MetaQuotes Software Corp.|
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+

// indicator based MAdistance.mq4 by Tim Hyder aka Hiachiever
// http://www.forex-tsd.com/blogs/newdi...ce-itself.html

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Black

#property indicator_level1 0

extern int MA.Period = 10;
extern int MA.Method = MODE_SMA;
extern int MA.Price = PRICE_CLOSE;
extern int MA_Shift=0;
extern bool UseTickdata = True;
double diff[];

int init()
{
IndicatorBuffers(1);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,diff);
return(0);
}


int start()
{
int MA.Shift = 1;
if(UseTickdata) MA.Shift = 0;

for( int i = Bars - IndicatorCounted() - 1; i >= MA.Shift; i-- )
{
double MA = iMA(Symbol(),Period(),MA.Period, 0, MA.Method, MA.Price, i);
diff[ i ] = (Close[i] - MA)/Point;
}
return(0);
}
__________________
tensigma.blogspot.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!
Reply With Quote
  #6 (permalink)  
Old 09-22-2008, 12:30 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,407
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by MrM View Post
Here is the code for what I meant to do.

It plots the difference between the price and a moving average as an oscillator. It looks very similar to an RSI...

//+------------------------------------------------------------------+
//| MApricediff.mq4 |
//| Copyright © 2008, MetaQuotes Software Corp.|
//| Forex Trading Software: Forex Trading Platform MetaTrader 4 |
//+------------------------------------------------------------------+

// indicator based MAdistance.mq4 by Tim Hyder aka Hiachiever
// http://www.forex-tsd.com/blogs/newdi...ce-itself.html

#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Black

#property indicator_level1 0

extern int MA.Period = 10;
extern int MA.Method = MODE_SMA;
extern int MA.Price = PRICE_CLOSE;
extern int MA_Shift=0;
extern bool UseTickdata = True;
double diff[];

int init()
{
IndicatorBuffers(1);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,diff);
return(0);
}


int start()
{
int MA.Shift = 1;
if(UseTickdata) MA.Shift = 0;

for( int i = Bars - IndicatorCounted() - 1; i >= MA.Shift; i-- )
{
double MA = iMA(Symbol(),Period(),MA.Period, 0, MA.Method, MA.Price, i);
diff[ i ] = (Close[i] - MA)/Point;
}
return(0);
}
This is far away from RSI calculation. This indicator its doing just what you said on previous post.

You said: Ok, maybe the most simple oscillator would be the price (close) - the moving average (close) over N periods.

So, set MACD to Fast 1 on and Slow to what you like. Signal to 1. And you have it.

Btw:

RSI = 100-(100/(1+U/D))
Where:
U — is the average number of positive price changes;
D — is the average number of negative price changes.
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
  #7 (permalink)  
Old 01-05-2009, 12:24 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,017
Blog Entries: 235
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
Multi_Oscillator by cja is on this thread: Multi_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!
Reply With Quote
  #8 (permalink)  
Old 01-05-2009, 12:41 PM
Senior Member
 
Join Date: Jun 2006
Posts: 1,510
prasxz is on a distinguished road
hi

Quote:
Originally Posted by MrM View Post
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered.

And let's go a little beyound RSI and Stochastic
maybe you can try this stoc RSI indicator

===================
Forex Indicators Collection
Attached Files
File Type: mq4 StocRSI 2.mq4 (3.7 KB, 44 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
Reply

Bookmarks

Tags
oscillators

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
Oscillators are accurate 70% 006 General Discussion 10 08-22-2006 03:22 PM


All times are GMT. The time now is 12:15 AM.



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