Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course
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
  #1 (permalink)  
Old 03-15-2007, 04:56 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Question Need help to clarify my comparison statement

PHP Code:
iLow(NULL,0,Lowest(NULL,0,MODE_LOW,0,1)) < iLow(NULL,0,Lowest(NULL,0,MODE_LOW,1,1)) 

I am trying to compare the lowest of the current bar lowest to the lowest of the bar that is 1 bar back. I am confused as to what goes after the MODE_LOW in the statement - Could you clarify please?? From somebodies example in the past they had after the MODE_LOW a 1,1. What does each of these numbers refer to? - Confused??

Thanks in advance!!

Dave
<><<<

Last edited by iscuba11; 03-15-2007 at 05:03 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
  #2 (permalink)  
Old 03-15-2007, 05:08 PM
Senior Member
 
Join Date: Mar 2006
Posts: 793
Maji is on a distinguished road
Try this and see if it is what you are looking for:
PHP Code:
iLow(NULL,0,Lowest(NULL,0,MODE_LOW,1,1))  < 
 
iLow(NULL,0,Lowest(NULL,0,MODE_LOW,1,0))  <-- this is the current bar 
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 03-15-2007, 05:21 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Smile

Thanks my forum friend for the quick response!

Dave
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 03-15-2007, 06:31 PM
ralph.ronnquist's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 297
ralph.ronnquist is on a distinguished road
Quote:
Originally Posted by iscuba11
[php]From somebodies example in the past they had after the MODE_LOW a 1,1. What does each of these numbers refer to? - Confused??
The second last argument tells the "period" of bars within which to find the bar of the lowest value (as selected by the third argument), and the last argument tells the bar index of the latest bar in that period.

Thus, "iLowest(...,MODE_LOW,1,1)" points at which bar within a period of 1 bar, ending at bar 1, has the lowest price (of that period).
And "iLowest(...,MODE_LOW,1,0)" points at which bar within a period of 1 bar, ending at bar 0, has the lowest price (of that period).

Obviously, using iLowest for a period of 1 bar is a bit of a waste. That is, "iLow(NULL,0,Lowest(NULL,0,MODE_LOW,1,1))" is exactly the same as "iLow(NULL,0,1)" except that it uses some few more cycles.

Also, as you know, "iLow(NULL,0,0)" is the *currently* lowest of the bar currently being developed, and this might change as the bar develops.
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


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
Please Clarify this for Me lizmerrill General Discussion 1 02-06-2007 07:03 PM
How to export and print a statement on MT4? Dance With Lions Metatrader 4 2 01-20-2007 12:46 AM
clarify my doubt knvsantosh Metatrader 4 5 03-07-2006 07:47 PM
Here is my TSD statement noegrahaz Post and compare Trades 8 10-06-2005 02:13 PM


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



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