molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 17, 2024 9:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Narrowest range Bar
PostPosted: Sat May 07, 2011 7:08 pm 
Offline

Joined: Thu May 05, 2011 11:47 pm
Posts: 3
I tried to make NR4 indicator using advanced formula.
High[i]-Low[i]
advanced = Lowest, 4
But no arrow appears in the chart. What's wrong?


Attachments:
NR4.moi [1.46 KiB]
Downloaded 595 times
Top
 Profile  
 
 Post subject: Re: Narrowest range Bar
PostPosted: Sun May 08, 2011 10:31 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
There are some comments in the user guide about the indicator range.
Mt4 adjust the chart size automatically to show the price in the best way possible. So mt4 first objective is to show the price bars.
You are plotting High-Low which is a small number i.e. 0.0001, compared with the price (i.e 1.4321) so you won't see it in the screen since mt4 primary objective is to show the prices in a good scale.
The solution is to change the indicator to be in a separated chart.


Top
 Profile  
 
 Post subject: Re: Narrowest range Bar
PostPosted: Mon May 09, 2011 12:21 am 
Offline

Joined: Thu May 05, 2011 11:47 pm
Posts: 3
Understood.
Thanks for your help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by Molanis © 2009