How to obtain pip value?

How to create strategies and indicators
Message
Author
User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

How to obtain pip value?

#1 Postby Tantalus » Thu Jan 29, 2009 10:14 am

Mike,

I'm working on a strategy which will set the trade size as a percent risk of current equity. It's easy enough to get the current equity, but I'm not sure how to find the value of a pip. For instance, with the EURUSD, when trading 1 standard lot, the value is $10 per pip of price movement. That's easy, because EURUSD is a dollar based currency pair, so this value never changes.

However, pairs based on other currencies such as USDJPY (Yen based) and EURCHF (Swiss Franc based) will have pip values that vary as the relative values of the underlying currencies vary. Is there a way within FTPro to get this value on a bar-by-bar basis?

I've looked at the descriptions in the Strategies help file for the TCurrencyInfo structure, which would seem the logical place for this information, but the descriptions do not seem to me to be clear of complete. Perhaps you could provide a more complete explanation of how to determine, for example, the value per pip of 1 standard lot of EURGBP?

Thanks again for all your hard work and assistance.
Last edited by Tantalus on Tue Jun 09, 2009 5:11 pm, edited 1 time in total.
Tantalus Research - Developing 21st Century Trading Systems.

User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

#2 Postby Tantalus » Thu Feb 05, 2009 1:54 pm

Mike, have you had a chance to think about this question yet?

Thx
Last edited by Tantalus on Tue Jun 09, 2009 5:11 pm, edited 1 time in total.
Tantalus Research - Developing 21st Century Trading Systems.

User avatar
Terranin
Site Admin
Posts: 833
Joined: Sat Oct 21, 2006 4:39 pm

#3 Postby Terranin » Thu Feb 05, 2009 7:26 pm

Tantalus wrote:Mike, have you had a chance to think about this question yet?

Thx


I missed your previous question. There is no way now to obtain this information. Maybe later I will add this function to API.
Hasta la vista
Mike

FT Support
Posts: 905
Joined: Sat Jul 11, 2009 10:54 am

#4 Postby FT Support » Tue May 10, 2011 1:44 pm

similar question is answered here: http://forextester.com/forum/viewtopic.php?t=1741
Check our other product here:
http://www.forexcopier.com


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 6 guests