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)




"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
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 »Making an movingaverage of high or low
Author Topic: Making an movingaverage of high or low (4 messages, Page 1 of 1)

danielc1
-Interested User-
Posts: 6
Joined: Mar 29, 2007


Posted: Mar 29, 2007 08:23 AM          Msg. 1 of 4
How do I make a formalu that makes an average of the high prices instead of the close?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Mar 29, 2007 08:30 AM          Msg. 2 of 4
Hello Daniel,

The easiest way to do this is to create your study on the chart, right click on the chart line, left click on your studies properties, and change the element to high, intead of close and then click ok.

Let me know if you need help with this.
Edited by DTN_Tim Walter on Mar 29, 2007 at 09:16 AM

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1752
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Mar 29, 2007 08:33 AM          Msg. 3 of 4
You can use the standard moving average and change the Element to have it calculate on the High instead of the close.

Or, as a formula, it would be MOV(SERIES,PERIOD,VertShift,HorShift,Method,Element)

Series = Symbol (leave the word SERIES in the parameter so it uses the base symbol of the chart)

Period = Lookback period

VertShift = Vertical offset

HorShift = Horizontal Offset

Method = (Standard, Exponential, Weighted, Running) => (0,1, 2, 3).

Element = Field to use (Close, High, Low, Open) => (0,1,2,3).

Thus, a formula such as MOV(SERIES,20,0,0,0,1) would allow you to create a simple MA of the high for 20 bars.

If you build a User Custom Study with this formula, you can then create Parameters and name them yourself. For example, I would put "PERIODS" instead of 20 in the formula. Then, in the dialog for the User Custom Study, I would create a Parameter called PERIODS and use a value of 20 (which will become the default). You can then change this Parameter whenever you apply it to a chart.

Jay Froscheiser
DTN - Trading Markets

danielc1
-Interested User-
Posts: 6
Joined: Mar 29, 2007


Posted: Mar 29, 2007 09:39 AM          Msg. 4 of 4
Thank you for the quick answer. I have found the 'element' feature on the properties of moving averages.
 

 

Time: Thu June 20, 2019 4:39 PM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003