Forex



Go Back   Forex Trading > Programming > MetaTrader
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

Reply
 
Thread Tools Display Modes
  #21 (permalink)  
Old 08-23-2007, 09:38 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,269
mladen is on a distinguished road
The lates

The latest version of RSIOMA
Attached Files
File Type: mq4 RSIOMA_v2HHLSX__rev.mq4 (6.9 KB, 138 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
  #22 (permalink)  
Old 08-23-2007, 10:03 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 722
Kalenzo is on a distinguished road
Quote:
Originally Posted by fxbs View Post
This means - Kalenzo gives GreenLight on arsioma v3
your version, Mladen!
Sure. Mladen is doing well.
__________________
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
  #23 (permalink)  
Old 08-23-2007, 10:24 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
Quote:
Originally Posted by mladen View Post
The latest version of RSIOMA
Yepp - BarCount, buff. EmptyVal - all here
Thank You, Mladen!

Let me jus put Signal in our pretty buffer and our beloved Rsioma got brand new v3 - Voala!
[i'll post it here & Rsioma thread later today]

Thanks again, Mladen!
P/S. & pretty informative thread (HowTo - opening PandoraBox), don't u think?

Last edited by fxbs; 08-23-2007 at 10:28 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!
Reply With Quote
  #24 (permalink)  
Old 08-23-2007, 10:31 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,269
mladen is on a distinguished road
...

Quote:
Originally Posted by fxbs View Post
Yepp - BarCount, buff. EmptyVal - all here
Thank You, Mladen!

Let me jus put Signal in our pretty buffer and our beloved Rsioma got brand new v3 - Voala!
[i'll post it here & Rsioma thread later today]

Thanks again, Mladen!
P/S. & pretty informative thread (HowTo - opening PandoraBox), don't u think?
O yeah
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 08-26-2007, 07:02 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
not that box, other box
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 09-01-2007, 04:25 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
OK, 11 temp. versions later, final cut:

____________________
extern int RSIOMA = 14;
extern int RSIOMA_MODE = MODE_EMA;
extern int RSIOMA_PRICE = PRICE_CLOSE;
extern int Ma_RSIOMA = 21;
extern int Ma_RSIOMA_MODE = MODE_EMA;

extern int BarsToCount = 500;

//---- buffers
// "fake indexes"
double MABuffer1[];
double RSIBuffer1[];
// indexes
double RSIBuffer[];
double marsioma[];

int correction;
datetime lastBarTime;
string short_name;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
short_name = StringConcatenate("RSIOMA[",RSIOMA,"](",Ma_RSIOMA,")");
IndicatorShortName(short_name);

SetIndexBuffer(0,RSIBuffer);
SetIndexBuffer(1,marsioma);

// additional buffer(s)

correction = RSIOMA+RSIOMA+Ma_RSIOMA;
BarsToCount = MathMin(Bars,MathMax(BarsToCount,300));
ArrayResize( MABuffer1 ,BarsToCount+correction);
ArrayResize( RSIBuffer1,BarsToCount+correction);
ArraySetAsSeries(MABuffer1 ,true);
ArraySetAsSeries(RSIBuffer1,true);
lastBarTime = EMPTY_VALUE;

return(0);
}
//+------------------------------------------------------------------+
int start()
{
static bool init=false;
int counted_bars=IndicatorCounted();
int limit,i=0;

if(counted_bars<0) return(-1);
if(lastBarTime != Time[0]) {
lastBarTime = Time[0];
counted_bars = 0;
}
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
limit=MathMin(limit,BarsToCount+correction);

for(i=limit;i>=0;i--)
MABuffer1[i] = iMA(Symbol(),0,RSIOMA,0,RSIOMA_MODE,RSIOMA_PRICE,i );
for(i=limit;i>=0;i--)
RSIBuffer1[i] = iRSIOnArray(MABuffer1,0,RSIOMA,i);
for(i=limit;i>=0;i--)
{
RSIBuffer[i]= RSIBuffer1[i];
marsioma[i] = iMAOnArray(RSIBuffer1,0,Ma_RSIOMA,0,Ma_RSIOMA_MODE ,i);
}
for (i=0;i<indicator_buffers;i++) SetIndexDrawBegin(i,Bars-BarsToCount);
return(0);
}
//The End +------------------------------------------------------------------+
Attached Files
File Type: mq4 RSIOMA_v3LMA.mq4 (4.1 KB, 111 views)
File Type: mq4 RSIOMA_v3.mq4 (7.8 KB, 109 views)

Last edited by fxbs; 09-01-2007 at 04:30 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!
Reply With Quote
  #27 (permalink)  
Old 03-19-2008, 09:59 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
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
Extra buffers (need more thsan 8)?
Some article Multiple Null Bar Re-Count in Some Indicators - MQL4 Articles
and Igorad's indicator http://www.forex-tsd.com/70061-post23.html
Or read whole thread DECEMA - Xmas gift!

Just for 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
  #28 (permalink)  
Old 03-19-2008, 01:20 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
thank you, ND
good info and links +
- how to add extra buffer (Omelette, Kalenzo) examples
- it's not always necessary add extra buffers - IgorAd's Decema version

Last edited by fxbs; 03-19-2008 at 01:55 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
  #29 (permalink)  
Old 03-19-2008, 01:57 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
hopefully some day we can cheat MT4 and add extra color buffer (not object)!
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 03-19-2008, 03:18 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,269
mladen is on a distinguished road
...

Actually we, meaning the users of MetaTrader, do need extra buffers for drawing
For calculation there is no limitation whatsoever

Just for the fun of it I post an indicator that is calculating multiple mas (meaning ma of an ma of an ma...) to the level you like it and does it by using buffers - 8 buffers for every 7 levels (first picture), so, with default parameters it uses 28 buffers

Drawing is another thing
If we do not want to use objects to draw values, we are limited to just 8 buffers
Thing like the second "indicator" I post are absolutely impossible in MetaTrader if one wants to use just buffers (second picture)
Just for emas on that chart you would need 27 buffers (RSI on the bottom theoretically achieves 100 shades of red and 100 shades of green, making it draw would need thus at least 200 buffers more) and all that is simply not possible in MetaTrader

What we need is, in my opinion, and I stated it a couple of times, a plot routine that would change the logic of using buffers for drawing (it is really not difficult to imagine how one could retrieve past values)
The number of buffers we can circumvent one way or another, but drawing the way we are forced to do it, is becoming a pain in the ass

PS : none of the indicators posted here is ment to be used in trading
They are posted here only as a demonstration of the things I said in the post
Attached Images
File Type: gif buffers 1.gif (11.6 KB, 232 views)
File Type: gif buffers 2.gif (15.7 KB, 237 views)

Last edited by mladen; 07-21-2008 at 06:02 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
Reply

Bookmarks

Tags
RSIOMA, RSIOMA INDICATOR, fxtsd


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
Unauthorized Extra Charges on may credit statement Navid General Discussion 10 05-11-2007 05:12 PM
MT4 with extra weekend bar woteva Metatrader 4 3 04-30-2007 04:13 AM
Help with buffer limits and flatlining indicator lines iboersma Indicators - Metatrader 4 0 03-22-2007 08:27 PM


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



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