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
  #91 (permalink)  
Old 03-22-2008, 02:41 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,518
Blog Entries: 12
Linuxser has disabled reputation
Quote:
Originally Posted by Kirilll View Post
In attached file "filters" I have found out in a file FATL.mq4 a code identical RFTL.mq4. It is a mistake or provocation?

FATL is Fast Adaptive Trend Line indicator;
RFTL is Reference Fast Trend Line indicator;
It could look like and the code could be similar but they´re different, values are different.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #92 (permalink)  
Old 04-01-2008, 11:14 PM
Senior Member
 
Join Date: Oct 2007
Posts: 198
Dave137 is on a distinguished road
Exclamation Williams % Retracement Indicator

Does anyone have the code for this indicator or how to reference it in an EA since it seems to be a stock indicator in the platform???

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #93 (permalink)  
Old 04-02-2008, 12:15 AM
nittany1's Avatar
Senior Member
 
Join Date: Dec 2006
Location: Sarasota, FL
Posts: 184
nittany1 is on a distinguished road
For Williams % Range it's iWPR(string symbol, int timeframe, int period, int shift). To get the help on this from MetaEditor type "iWPR" in your expert and then press F1 which will pull up the Toolbox with the syntax, parameters to pass to the function and an example piece of code.
__________________
You can find me on irc.ircforex.com most of the time... on #forex
Myspace Facebook My Indicators: Trade Assistant Trend Friend ToR CCI Helper
Holder of US Patent 6,774,788
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #94 (permalink)  
Old 04-02-2008, 03:57 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,518
Blog Entries: 12
Linuxser has disabled reputation
Williams R% explanation post #14

%R = (HIGH(i-n)-CLOSE)/(HIGH(i-n)-LOW(i-n))*100

Code:
//+------------------------------------------------------------------+
//|                                      Williams’ Percent Range.mq4 |
//|                      Copyright © 2005, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2005, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net/"
//----
#property indicator_separate_window
#property indicator_minimum -100
#property indicator_maximum 0
#property indicator_buffers 1
#property indicator_color1 DodgerBlue
#property indicator_level1 -20
#property indicator_level2 -80
//---- input parameters
extern int ExtWPRPeriod = 14;
//---- buffers
double ExtWPRBuffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
   string sShortName;
//---- indicator buffer mapping
   SetIndexBuffer(0, ExtWPRBuffer);
//---- indicator line
   SetIndexStyle(0, DRAW_LINE);
//---- name for DataWindow and indicator subwindow label
   sShortName="%R(" + ExtWPRPeriod + ")";
   IndicatorShortName(sShortName);
   SetIndexLabel(0, sShortName);
//---- first values aren't drawn
   SetIndexDrawBegin(0, ExtWPRPeriod);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Williams’ Percent Range                                          |
//+------------------------------------------------------------------+
int start()
  {
   int i, nLimit, nCountedBars;  
//---- insufficient data
   if(Bars <= ExtWPRPeriod) 
       return(0);
//---- bars count that does not changed after last indicator launch.
   nCountedBars = IndicatorCounted();
//----Williams’ Percent Range calculation
   i = Bars - ExtWPRPeriod - 1;
   if(nCountedBars > ExtWPRPeriod) 
       i = Bars - nCountedBars - 1;  
   while(i >= 0)
     {
       double dMaxHigh = High[Highest(NULL, 0, MODE_HIGH, ExtWPRPeriod, i)];
       double dMinLow = Low[Lowest(NULL, 0, MODE_LOW, ExtWPRPeriod, i)];      
       if(!CompareDouble((dMaxHigh - dMinLow), 0.0))
           ExtWPRBuffer[i] = -100*(dMaxHigh - Close[i]) / (dMaxHigh - dMinLow);
       i--;
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Функция сранения двух вещественных чисел.                        |
//+------------------------------------------------------------------+
bool CompareDouble(double Number1, double Number2)
  {
    bool Compare = NormalizeDouble(Number1 - Number2, 8) == 0;
    return(Compare);
  } 
//+------------------------------------------------------------------+
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #95 (permalink)  
Old 04-02-2008, 04:35 AM
Senior Member
 
Join Date: Oct 2007
Posts: 198
Dave137 is on a distinguished road
Thumbs up

Thanks for everybody's help on both help questions - The reference and also the complete code of the Williams % Retracement. Now I can proceed ahead with my EA. Thumbs up and much blessings for all your combined help!

Peace and Friendship!

Dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #96 (permalink)  
Old 04-06-2008, 05:46 AM
unifinbroker's Avatar
Junior Member
 
Join Date: Feb 2008
Location: Ukraine
Posts: 1
unifinbroker is on a distinguished road
Question Digital indicators

Anybody's expeirance of using DigitalFilters in real trade?
__________________
My strategy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #97 (permalink)  
Old 04-18-2008, 11:30 PM
Member
 
Join Date: Feb 2007
Posts: 69
BigBoppa is on a distinguished road
Dynamic Momentum Index (T. Chande)

Hi,

i´m looking for the "Dynamic Momentum Index" from Trushar Chande for MT4.
Google didn´t help me, can you?
(it is not the standard DMI.mq4 which is the "Directional Movement Index")
(and it is not there: Indicator Requests for EA. )

Thank You,

bbop

Last edited by BigBoppa; 04-18-2008 at 11:38 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #98 (permalink)  
Old 04-19-2008, 05:07 AM
Administrator
 
Join Date: Sep 2005
Posts: 15,988
Blog Entries: 70
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
Check post #52 of this thread for Wilder's DMI.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #99 (permalink)  
Old 04-19-2008, 05:15 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 2,518
Blog Entries: 12
Linuxser has disabled reputation
Quote:
Originally Posted by BigBoppa View Post
Hi,

i´m looking for the "Dynamic Momentum Index" from Trushar Chande for MT4.
Google didn´t help me, can you?
(it is not the standard DMI.mq4 which is the "Directional Movement Index")
(and it is not there: Indicator Requests for EA. )

Thank You,

bbop
It´s already coded. Hope soon will be ready.
Attached Images
File Type: gif hourly3601.gif (18.7 KB, 551 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #100 (permalink)  
Old 04-19-2008, 10:58 AM
Member
 
Join Date: Feb 2007
Posts: 69
BigBoppa is on a distinguished road
ND: Thank you, but this is not the "Dynamic Momentum Index", it looks like "Directional Movement Index"

Linuxer: Yes, the last one looks pretty good! Do you share it? I hope it will be ready soon, too!

Regards,

bbop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
histogram

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 On
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 11:38 AM.



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