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

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


  • Date: Thu, 19 Nov 2009 07:37:42 +0530
  • From: rinku kumar <boyrinku@xxxxxxxxxxx>
  • Subject: [amibroker] how to change negative price to positive in afl?

PureBytes Links

Trading Reference Links

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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/