Simple indicator: High-Low
  #1 (permalink)  
Old 02-05-2007, 09:40 AM
Hoh Hoh is offline
Freshman
 
Join Date: Jun 2006
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Hoh is on a distinguished road
Question Simple indicator: High-Low

Hi everyone,

I'm looking for a simple indicator which can calculate difference of high and low of price bar i.e. high minus low (in pips.) I think this is very easy for MT4 coder?

I'm also looking for indicator which can let me add "level" (e.g. 80pips) into above-mentioned indicator so that I know which bar has broken my alert level.

Anyone? TIA.

Regards,
Hoh
Reply With Quote
  #2 (permalink)  
Old 02-05-2007, 11:17 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Hey, LoHi.mq4 is what you wanted. Just in case, I attached OHi-OLo.mq4 that plots Open-High and Open-Low.

Enjoys!
Attached Files
File Type: mq4 LoHi.mq4 (1.5 KB, 172 views)
File Type: mq4 OHi-OLo.mq4 (1.6 KB, 146 views)
Sponsored Links Shark EA Ultimate
Actual Profits on Live Account: +755%
Since Jan 2007. View Live Statements.

Last edited by scorpion : 02-05-2007 at 11:24 AM.
Reply With Quote
The following users have thanked scorpion for useful post above:
  #3 (permalink)  
Old 02-05-2007, 11:21 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,930
Thanks: 99
Thanked 365 Times in 149 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

PeriodBars variable should be 1. If you want average of high minus average of low, then PeriodBars = x bars covered in average.
Reply With Quote
Thank you.
  #4 (permalink)  
Old 02-06-2007, 07:09 AM
Hoh Hoh is offline
Freshman
 
Join Date: Jun 2006
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Hoh is on a distinguished road
Thumbs up Thank you.

Quote:
Originally Posted by scorpion View Post
PeriodBars variable should be 1. If you want average of high minus average of low, then PeriodBars = x bars covered in average.
Thanks scorpion. This is what I want.

Regards,
Hoh
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
High/Low Breakout Scalper scorpion Trading Systems 58 05-22-2008 02:43 PM
Finding Range over all bars in a chart for N periods...High to Lowest ??? Digs MetaTrader and ZeroCode 0 01-27-2007 09:44 AM
High/Low Difference Indicator DoxAdon MetaTrader and ZeroCode 0 12-18-2006 11:46 PM
I need this simple script :-) bossxero MetaTrader and ZeroCode 2 11-22-2006 01:03 AM
A very simple cashcow TraderSeven Trading Systems 7 06-18-2005 11:17 AM


All times are GMT. The time now is 03:05 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now