[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] how to change negative price to positive in afl?


  • Date: Thu, 19 Nov 2009 05:24:53 -0800 (PST)
  • From: Rick Osborn <ricko@xxxxxxxxxx>
  • Subject: Re: [amibroker] how to change negative price to positive in afl?

PureBytes Links

Trading Reference Links



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



From: rinku kumar <boyrinku@xxxxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
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



__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___