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 Mon May 13, 2024 7:59 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Can I use
PostPosted: Thu Aug 12, 2010 4:09 pm 
Offline

Joined: Thu Aug 12, 2010 3:59 pm
Posts: 4
Dear Admin

Is it possible for me to get the value of an indicator always + ve. When I say that I mean even if the indicator gives a negative value how can I make it +ve. Is it otherwise possible to use the If condition in creating an indicator.


regards
mahvij


Top
 Profile  
 
 Post subject: Re: Can I use
PostPosted: Thu Aug 12, 2010 9:09 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
You need to create a new indicator equal to the absolute value of your indicator.
Use the technical indicator builder, use MathAbs (http://docs.mql4.com/math/MathAbs) in the indicator calculation


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
cron
Powered by Molanis © 2009