Dukascopy
 
 
Wiki JStore Search Login

Calculate expression tangent
 Post subject: Calculate expression tangent Post rating: 0   New post Posted: Fri 27 Sep, 2013, 10:09 
User avatar

User rating: 3
Joined: Tue 09 Oct, 2012, 11:59
Posts: 20
Location: Finland, Turku
I have posted enough without saying hello, so

Hello and a great thanks for the team that decided to implement the Visual JForex, runn it and support it, also a thank you to members who post questions.

VJF is really cool as it lets me use blocks that are tested to work together and all I have to do is supply the logic.
Before i have been trying to cut and paste code from different "strategies" (experts) together but there has been a compatibility issues between the codes so my logic newer worked once i got to the complicated parts.

My question is about the tangent function on the calculate expression as I am totally lost.
Any help appreciated.

Quote:
Block returns result of calculation on output. The block receives mathematical formula in "Result" field.
"tan(X)" Returns the tangent of expr, where expr is assumed to be in radia.





Image


Attachments:
Screenshot from 2013-09-27 12:07:14.png [47.22 KiB]
Downloaded 320 times
tangent_question.vfs [15.85 KiB]
Downloaded 163 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Calculate expression tangent Post rating: 0   New post Posted: Fri 27 Sep, 2013, 10:23 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

tan(x) function returns tangent of angle in radians:
https://en.wikipedia.org/wiki/Tangent_(t ... c_function)


 
 Post subject: Re: Calculate expression tangent Post rating: 0   New post Posted: Sat 28 Sep, 2013, 09:23 
User avatar

User rating: 3
Joined: Tue 09 Oct, 2012, 11:59
Posts: 20
Location: Finland, Turku
Never mind.
Had a browser/OS issue, works now.


tan(A1-A2)/(B2-B1)


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com