did you check the users manual for the function abs()?

 Best Regards
Rick




________________________________
From: rinku kumar <[email protected]>
To: [email protected]
Sent: Wed, November 18, 2009 9:07:42 PM
Subject: [amibroker] how to change negative price to positive in afl?

  
Hello everybody
tell me how can i change value to positive in afl if it comes in negative?
example
difference=( close-open) ;

if close is 100 and open is 90 then difference would be 10 and if open 
is 100 and close is 90
then difference would be -10
in result i just want difference between open and close so in both cases 
it should be 10
please tell me how can i do it?
thank you


__._,_..___
Reply to sender | Reply to group Messages in this topic (1) 
Recent Activity:        * New Members 39   
Visit Your Group Start a New Topic 
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


MARKETPLACE
Mom Power: Discover the community of moms doing more for their families, for 
the world and for each other 
 
Switch to: Text-Only, Daily Digest • Unsubscribe • Terms of Use
. 

 

Reply via email to