Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Product Support »ProphetX Support »functions using more than one stack (or series)
Author Topic: functions using more than one stack (or series) (4 messages, Page 1 of 1)

GUS_PAMPAS
-Interested User-
Posts: 2
Joined: May 20, 2009


Posted: May 20, 2009 08:18 PM          Msg. 1 of 4
What's the nomenclature to be used if one wants to define a generic custom function based on any two stocks?

For example, something like:

(Close(SERIES1)-MOV(SERIES1,20))/(Close(SERIES2)-MOV(SERIES2,20))

That one would not work. How do I make ProphetX recognize that the numerator of the hypothetical expression shown above should involve the price of the first security being graphed in the chart, and that the denominator should involve the second one?

Thanks in advance folks.

Best,

Gus

DTN_Marcel
-Interested User-
Posts: 9
Joined: Aug 18, 2008

Server QA Engineer


Posted: May 22, 2009 01:13 PM          Msg. 2 of 4
I am checking to see if there is a way to do what you are looking for.

GUS_PAMPAS
-Interested User-
Posts: 2
Joined: May 20, 2009


Posted: May 24, 2009 12:20 PM          Msg. 3 of 4
Thanks, Marcel. I'm at this program and thought there might have been something obviously simple I was missing. I settled for constructing the functions with the explicit instrument names for now.

I also noticed that the functions do not take simple math jargon items line "LOG", "SQRT", etc.

Is there a way (without relying on a logarithmic Y axis scale) to construct a function like:

LOG(AVG(SPY)) or the likes?

Best,

Gus

DTN_Marcel
-Interested User-
Posts: 9
Joined: Aug 18, 2008

Server QA Engineer


Posted: Jul 21, 2009 04:43 PM          Msg. 4 of 4
Quote: What's the nomenclature to be used if one wants to define a generic custom function based on any two stocks?

For example, something like:

(Close(SERIES1)-MOV(SERIES1,20))/(Close(SERIES2)-MOV(SERIES2,20))

That one would not work. How do I make ProphetX recognize that the numerator of the hypothetical expression shown above should involve the price of the first security being graphed in the chart, and that the denominator should involve the second one?

Thanks in advance folks.

Best,

Gus
--- Original message by GUS_PAMPAS on May 20, 2009 08:18 PM
Unfortunately there isn't a way to put two different series into a custom formula, however you can plug in a single series and a variable symbol in the equation.

(CLOSE(VARONE)-MOV(VARONE,20))/(CLOSE(SERIES)-MOV(SERIES,20))

Parameters
Name Type Value

VARONE Text IBM
 

 

Time: Mon December 6, 2021 5:56 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003