Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Digital Filters


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
 
LinkBack (5) Thread Tools Display Modes
  #81 (permalink)  
Old 10-25-2007, 09:38 AM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 255
Sadly is on a distinguished road
Quote:
Originally Posted by igorad View Post
Hi,
Recently I've found out, that ADX for MT4 is different with original Wilder's DMI. So, I've decided to develop correct DMI for our community.
With this indicator you can plot DMI+, DMI-, ADX and ADXR lines.

Regards,
Igor
Thank you for this Igor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #82 (permalink)  
Old 10-27-2007, 06:36 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
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
One person asked me by PM for the formula of RBCI2 indicator so I am posting it.

Code:
#property indicator_separate_window
#property indicator_buffers 6
#property indicator_color1 Red
#property indicator_color2 Red
#property indicator_color3 Blue
#property indicator_color4 Aqua
#property indicator_color5 Crimson
#property indicator_color6 Gold
//---- input parameters
extern int       CountBars = 500;
extern int       ExtParam2;
extern int       ExtParam3;
extern double reddd;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
double ExtMapBuffer5[];
double ExtMapBuffer6[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
string short_name;
   IndicatorBuffers(6);
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexEmptyValue(0,0.0);
   SetIndexDrawBegin(0,55);
   SetIndexStyle(1,DRAW_LINE,STYLE_DOT,1,Orchid);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexEmptyValue(1,0.0);
   SetIndexDrawBegin(1,55);
   SetIndexStyle(2,DRAW_LINE);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexEmptyValue(2,0.0);
   SetIndexDrawBegin(2,55);
   SetIndexStyle(3,DRAW_LINE);
   SetIndexBuffer(3,ExtMapBuffer4);
   SetIndexEmptyValue(3,0.0);
   SetIndexDrawBegin(3,55);
   SetIndexStyle(4,DRAW_LINE);
   SetIndexBuffer(4,ExtMapBuffer5);
   SetIndexEmptyValue(4,0.0);
   SetIndexDrawBegin(4,55);
   SetIndexStyle(5,DRAW_LINE);
   SetIndexBuffer(5,ExtMapBuffer6);
   SetIndexEmptyValue(5,0.0);
   SetIndexDrawBegin(5,55);
   IndicatorDigits(MarketInfo(Symbol(),MODE_DIGITS));
   IndicatorShortName("RBCI2");

//----

return(0);  
  }
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//---- TODO: add your code here
   
//----
   return(0);
  }

double CrazyChart (int i,int shift) 
//function that counts Sum of 55 bars
{
      double RBCI2;
      RBCI2=
-35.5198140000*Close[i+0+shift]
-29.3302904200*Close[i+1+shift]
-18.4253122700*Close[i+2+shift]
-5.3409716410*Close[i+3+shift]
+7.0224246110*Close[i+4+shift]
+16.1743143600*Close[i+5+shift]
+20.6539163900*Close[i+6+shift]
+20.3238589400*Close[i+7+shift]
+16.2679056100*Close[i+8+shift]
+10.3508317200*Close[i+9+shift]
+4.5956464710*Close[i+10+shift]
+0.5816210219*Close[i+11+shift]
-0.9556878591*Close[i+12+shift]
-0.2188650350*Close[i+13+shift]
+1.8617718350*Close[i+14+shift]
+4.0429772970*Close[i+15+shift]
+5.2336026320*Close[i+16+shift]
+4.8503271170*Close[i+17+shift]
+2.9598818100*Close[i+18+shift]
+0.1813422994*Close[i+19+shift]
-2.5916583950*Close[i+20+shift]
-4.5352277420*Close[i+21+shift]
-5.1799911240*Close[i+22+shift]
-4.5414039780*Close[i+23+shift]
-3.0665332280*Close[i+24+shift]
-1.4306935910*Close[i+25+shift]
-0.2740625440*Close[i+26+shift]
+0.0259294264*Close[i+27+shift]
-0.5361336393*Close[i+28+shift]
-1.6274205570*Close[i+29+shift]
-2.7320093940*Close[i+30+shift]
-3.3584444990*Close[i+31+shift]
-3.2210950120*Close[i+32+shift]
-2.3321664220*Close[i+33+shift]
-0.9758039283*Close[i+34+shift]
+0.4132087314*Close[i+35+shift]
+1.4199522360*Close[i+36+shift]
+1.7965291580*Close[i+37+shift]
+1.5408713520*Close[i+38+shift]
+0.8768248011*Close[i+39+shift]
+0.1561692145*Close[i+40+shift]
-0.2796045774*Close[i+41+shift]
-0.2243863077*Close[i+42+shift]
+0.3279264464*Close[i+43+shift]
+1.1886385970*Close[i+44+shift]
+2.0574048450*Close[i+45+shift]
+2.6265630350*Close[i+46+shift]
+2.6969364910*Close[i+47+shift]
+2.2285276520*Close[i+48+shift]
+1.3534844570*Close[i+49+shift]
+0.3088511323*Close[i+50+shift]
-0.6383119873*Close[i+51+shift]
-1.2763116980*Close[i+52+shift]
-1.5134175380*Close[i+53+shift]
-1.3771978870*Close[i+54+shift]
-1.6154244060*Close[i+55+shift];
return (RBCI2);
  }
 
int start()
  {
   int    limit,counted_bars=IndicatorCounted(),min,i;
    if (CountBars>=Bars) CountBars=Bars;
   SetIndexDrawBegin(0,Bars-CountBars);
   SetIndexDrawBegin(1,Bars-CountBars);
   SetIndexDrawBegin(2,Bars-CountBars);
   SetIndexDrawBegin(3,Bars-CountBars);
   SetIndexDrawBegin(4,Bars-CountBars);
   SetIndexDrawBegin(5,Bars-CountBars);
   
   double RBCI2;
   double Value1;
   int Value2 = 52;
   double Value4,Value5,Value6,Value7,Value8,Value9;
   
   //  reddd = CrazyChart(2,1); //c hf,jnfkj!!!!!!!!!!!!!!!!!
   
  
   
   if (counted_bars<0) return(-1);
//---- last counted bar will be recounted
   if (counted_bars>0) counted_bars--;

   limit=Bars-counted_bars;
   for(i=1;i<=0;i++) ExtMapBuffer1[Bars-i]=0.0; 
   
   for (i=limit;i>=0;i--) {
   // CountBars i+shift+55
      for (int shift=0;shift<=Value2-1;shift++) {
         Value4 = Value4-CrazyChart(i,shift);
      }   
      
      Value1 = -CrazyChart(i,0);
      Value5 = Value4 / Value2;
      Value6 = 0;
      ExtMapBuffer1[i]=-Value5+Value1;// "RBCI2");
      ExtMapBuffer2[i]=-Value5+Value1; //"Dots")
      for (shift=0;shift<=Value2-1;shift++) {
         Value6 = Value6 + (-CrazyChart(i,shift)-Value5)*(-CrazyChart(i,shift)-Value5);
      }
      Value8 = Value6/(Value2-1);
      Value9 = MathSqrt(Value8);
      ExtMapBuffer3[i]= +Value9;//,"LINE");
      ExtMapBuffer4[i]= -1*Value9;//Plot4(-Value9,"LINE");
      ExtMapBuffer5[i]=+2*Value9;//,"LINE");
      ExtMapBuffer6[i]=-2*Value9;//,"LINE");
      Value4=0;
      Value6=0;
}  
//----
   return(0);
  }
//+------------------------------------------------------------------+
Attached Files
File Type: mq4 RBCI2.mq4 (6.4 KB, 110 views)

Last edited by newdigital; 10-27-2007 at 06:39 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #83 (permalink)  
Old 10-28-2007, 01:45 PM
erdenmensch's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 283
erdenmensch is on a distinguished road
Quote:
Originally Posted by newdigital View Post
Thanks, but I cant open the speed indicators. There is an error. Please can you help me?

Last edited by erdenmensch; 10-28-2007 at 03:03 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #84 (permalink)  
Old 10-28-2007, 03:05 PM
erdenmensch's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 283
erdenmensch is on a distinguished road
Thanks, but I cant open the speed indicators. There is an error. Please can you help me?
Attached Files
File Type: mq4 JFatl.mq4 (7.6 KB, 107 views)
File Type: mq4 JFatls_Channel.mq4 (8.6 KB, 103 views)
File Type: mq4 3c_JFatl.mq4 (3.0 KB, 94 views)
File Type: mq4 JFatlSpeed.mq4 (8.5 KB, 122 views)
File Type: mq4 JFatlSpeedR.mq4 (10.4 KB, 118 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #85 (permalink)  
Old 10-28-2007, 03:14 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
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 erdenmensch View Post
Thanks, but I cant open the speed indicators. There is an error. Please can you help me?
You need to install this jurik tool from this thread Jurik to see the indicators.
It was described in the thread about how to do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #86 (permalink)  
Old 10-28-2007, 05:02 PM
erdenmensch's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 283
erdenmensch is on a distinguished road
Quote:
Originally Posted by newdigital View Post
You need to install this jurik tool from this thread Jurik to see the indicators.
It was described in the thread about how to do it.
I cant find this tool. Its for convert MT3 data to MT4?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #87 (permalink)  
Old 10-29-2007, 06:46 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
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 erdenmensch View Post
I cant find this tool. Its for convert MT3 data to MT4?
It is explained in this thread Jurik :
1. Download file from this post http://www.forex-tsd.com/64499-post69.html
2. Unzip it.
3. Place all the files from include folder of this file to /include folder of Metatrader's directory:
JJMASeries.mqh
INDICATOR_COUNTED.mqh
PriceSeries.mqh
3c_BB_Osc.mqh
3c_SG_Osc.mqh
and so on
4. Place indicators from indicators folder and from Pluse folder in /indicators folder in MetaTrader's directory.
5. compile the indicators.

For example, JFatlSpeed indicator is using the following files:
- JJMASeries.mqh and PriceSeries.mqh (MetaTrader\experts\include\);
- JFatl.mq4 and Heiken Ashi#.mq4 (MetaTrader\indicators\).

So, if you don't install thwe whole this toll as I described above so you will not see anything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #88 (permalink)  
Old 10-29-2007, 06:55 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
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
And there are some other indicators from this tool which may be interesting filters as well. For example: JDemarkl and JCCIX. Just install this toll (or set for example).
Attached Images
File Type: gif jurik_tool.gif (23.3 KB, 1174 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #89 (permalink)  
Old 11-23-2007, 08:13 AM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
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
MTF versions of digital filters' indicators from Simba Multi Timeframe Indicators
Attached Images
File Type: jpg df.jpg (98.3 KB, 1050 views)

Last edited by newdigital; 11-23-2007 at 09:01 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #90 (permalink)  
Old 03-22-2008, 02:08 PM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Kirilll is on a distinguished road
Unhappy Error?

deleted na fig

Last edited by Kirilll; 03-22-2008 at 03:46 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
histogram, PriceSeries.mqh

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/digital-filters/57-filters-indicators.html
Posted By For Type Date
WildersDMI_v1 - MQL4 Code Base Post #102 Refback 05-23-2008 11:47 PM
MTF_WildersDMI_v1m - MQL4 代 基地 Post #52 Refback 04-24-2008 12:23 AM
MTF_WildersDMI_v1m - MQL4 Code Base Post #52 Refback 04-21-2008 05:41 PM
MTF_WildersDMI_v1m - MQL4 Code Base Post #52 Refback 04-21-2008 12:58 PM
MTF_WildersDMI_v1m - MQL4 Code Base Post #52 Refback 04-19-2008 04:29 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Candel Sticks Indecator and Filters Oracle Indicators - Metatrader 4 19 04-13-2008 01:55 PM
Filters' Trading System newdigital Manual trading systems 23 01-02-2006 02:26 PM
digital filters newdigital Indicators - Metatrader 3 3 12-07-2005 07:18 AM
Digital filters newdigital Documentation 4 12-02-2005 06:04 PM


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



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