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
  #21 (permalink)  
Old 06-24-2007, 03:50 PM
NY168's Avatar
Member
 
Join Date: Apr 2007
Location: New York
Posts: 85
NY168 is on a distinguished road
Post Indicator?

Quote:
Originally Posted by fxbs View Post
interesting idea, Kalenzo, do it beckwards...hell not standard
i see soon we gonna add all bells and wissels,- hook it to zlgma, lsma, jma, satl, etc; igorad's nonlag ma has switching options
4 now, some mods 2 make it more user-friendly, tell me what you think:

------------------------------------------------
#property indicator_separate_window
#property indicator_minimum -10
#property indicator_maximum 103
#property indicator_buffers 5
#property indicator_color1 Blue //RSIBuffer
#property indicator_color2 Red //bdn
#property indicator_color3 Green //bup
#property indicator_color4 Magenta //sdn
#property indicator_color5 DodgerBlue //sup
#property indicator_width1 2
//#property indicator_width2 1
#property indicator_width4 2
#property indicator_width5 2
#property indicator_levelcolor Goldenrod
#property indicator_level1 80
#property indicator_level2 50
#property indicator_level3 20

//---- input parameters
extern int RSIOMA = 14;

extern color RSIBufferColor = Blue;
extern color BdnColor= Red;
extern color BupColor = Green;
extern color SdnColor = Magenta;
extern color SupColor = DodgerBlue;

extern string note1 = "RSIOMA Levels";
extern int BuyTrigger = 80;
extern int SellTrigger = 20;
extern int MainTrendLong = 50;
extern int MainTrendShort = 50;
//extern color LevelColor = Yellow;


//---- buffers
double RSIBuffer[];
double PosBuffer[];
double NegBuffer[];

double bdn[],bup[];
double sdn[],sup[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
string short_name;
//---- 2 additional buffers are used for counting.


IndicatorBuffers(7);

SetIndexBuffer(0,RSIBuffer);
SetIndexBuffer(1,bdn);
SetIndexBuffer(2,bup);
SetIndexBuffer(3,sdn);
SetIndexBuffer(4,sup);

SetIndexStyle(0,DRAW_LINE, RSIBufferColor);
SetIndexStyle(1,DRAW_HISTOGRAM,BdnColor);
SetIndexStyle(2,DRAW_HISTOGRAM,BupColor);
SetIndexStyle(3,DRAW_HISTOGRAM,SdnColor);
SetIndexStyle(4,DRAW_HISTOGRAM,SupColor);

SetIndexLabel(0,"RSIOMA");
SetIndexLabel(1,"Bdn");
SetIndexLabel(2,"Bup");
SetIndexLabel(3,"Sdn");
SetIndexLabel(4,"Sup");

SetIndexBuffer(5,PosBuffer);
SetIndexBuffer(6,NegBuffer);

short_name="RSIOMA("+RSIOMA+")";
IndicatorShortName(short_name);

SetIndexDrawBegin(0,RSIOMA);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Relative Strength Index |
//+------------------------------------------------------------------+
int start()
{
SetLevelValue(0, BuyTrigger);
SetLevelValue(1, SellTrigger);
SetLevelValue(2, MainTrendLong);
SetLevelValue(3, MainTrendShort);
// SetLevelStyle(STYLE_DOT, 1,LevelColor );
// SetLevelStyle(STYLE_DOT, 1,Yellow );



int i,counted_bars=IndicatorCounted();
double rel,negative,positive;

--//--
fxbs,

Can you post the indicator here? I tried to copy your code and it doesn't seem work, which I had a few errors when I complied them.

Thanks!

NY168
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
  #22 (permalink)  
Old 06-24-2007, 05:41 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
oh,man, that's not the indicator, just pieces of code 4 Kalenzo to consider...
sorry, buddy
wait till weekend over, he'll post his new version (now's 2 late, he's probably drunk already)

Last edited by fxbs; 06-24-2007 at 05:54 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
  #23 (permalink)  
Old 06-25-2007, 12:24 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
dyn rsi & Rsioma in prevous day Fib range breackout.
(Forex Factory - View Single Post - Spud's MTF FIB Breakout System)
P.S. Kalenzo, who could ever imagine this (yours) reverse idea would possibly work...
Attached Images
File Type: gif stoch prevd fib breack.gif (22.6 KB, 3061 views)
File Type: gif stoch prevd fib breack3.gif (43.1 KB, 2974 views)
File Type: gif stoch prevd fib breack1.gif (38.1 KB, 2961 views)

Last edited by fxbs; 06-25-2007 at 12:52 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
  #24 (permalink)  
Old 06-25-2007, 01:26 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
Daily macd zero line break strat , Rsioma , stochRsi
Attached Images
File Type: gif macd zero line break strat.gif (26.9 KB, 2967 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
  #25 (permalink)  
Old 06-26-2007, 09:31 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Hello Traders!
I made some modifications to RSIOMA.
Here are the additional parameters:

With those two you can choose the base of calculations of rsioma

int RSIOMA_MODE = MODE_EMA;
int RSIOMA_PRICE = PRICE_CLOSE;

Those two let you decide of the moving average period and type that you wish to use as a moving average of RSIOMA.

int Ma_RSIOMA = 21,
Ma_RSIOMA_MODE = MODE_EMA;


The rest params lets you decide about the colors of the leves which are plot on the chart, and decides of colors of histogram.

extern color BuyTriggerColor = DodgerBlue;
extern color SellTriggerColor = Magenta;
extern color MainTrendLongColor = Red;
extern color MainTrendShortColor = Green;
Attached Images
File Type: gif rsioma_v2.gif (29.1 KB, 3020 views)
Attached Files
File Type: mq4 RSIOMA_v2.mq4 (5.7 KB, 1429 views)
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
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
  #26 (permalink)  
Old 06-26-2007, 02:21 PM
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 Kalenzo View Post
Hello Traders!
I made some modifications to RSIOMA.
Here are the additional parameters:

With those two you can choose the base of calculations of rsioma

int RSIOMA_MODE = MODE_EMA;
int RSIOMA_PRICE = PRICE_CLOSE;

Those two let you decide of the moving average period and type that you wish to use as a moving average of RSIOMA.

int Ma_RSIOMA = 21,
Ma_RSIOMA_MODE = MODE_EMA;


The rest params lets you decide about the colors of the leves which are plot on the chart, and decides of colors of histogram.

extern color BuyTriggerColor = DodgerBlue;
extern color SellTriggerColor = Magenta;
extern color MainTrendLongColor = Red;
extern color MainTrendShortColor = Green;
Bravo!!!
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
  #27 (permalink)  
Old 06-26-2007, 02:59 PM
NY168's Avatar
Member
 
Join Date: Apr 2007
Location: New York
Posts: 85
NY168 is on a distinguished road
Thumbs up

Very nice! Excellent
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
  #28 (permalink)  
Old 06-26-2007, 03:33 PM
fxnewbie's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 495
fxnewbie is on a distinguished road
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
  #29 (permalink)  
Old 06-26-2007, 11:00 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
dem genius
now what to do with it ?
(kidding) lets see how it wil perform
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
  #30 (permalink)  
Old 06-27-2007, 09:55 PM
Junior Member
 
Join Date: Oct 2005
Posts: 18
Bruce is on a distinguished road
EA using the RSIOMA indicator

HI,

You have to love this RSIOMA... It is very nice visual.

Has any one made an EA using the RSIOMA?

It would be nice if someone could do that.

I would like to test such an EA using the RSIOMA, but I don't have the programming skills to incorporate it into an EA.. Hope someone can do that and post it here.

Thanks.

Successful trading,

Bruce
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
forex, histogram, iRSIOnArray, kalenzo, moving average of rsi, onchart, rsi moving average, rsi of moving average, RSIOMA, Rsioma alert, rsioma ea, RSIOMA INDICATOR, rsioma mq4, RSIOMA V3, rsioma v4, RSIOMA_v3, RSIOMA_v4, search

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 425 10-24-2009 04:07 PM
Moving Average RSI xcooper Metatrader 4 27 09-12-2009 10:05 PM
How to calculate Moving Average of a Moving Average babarmughal Expert Advisors - Metatrader 4 4 05-31-2009 03:05 PM
EA Moving Average rodrigokaus Expert Advisors - Metatrader 4 10 02-11-2009 08:45 AM
moving average danu Expert Advisors - Metatrader 4 1 05-31-2006 05:23 AM


All times are GMT. The time now is 01:16 AM.



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