| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | TS--> Daily MAs on 5-Min Chart? I was wondering if you guys knew if it was possible to get daily moving averages on a five minute chart in tradestation. Unfortunately, everything I can find is based off of bars on a chart as opposed to days. Thanks, Matt | ||
| |
|
| | #2 | ||
![]() | Re: TS--> Daily MAs on 5-Min Chart? | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
jeffersondaarcy (08-01-2009) | ||
| | #3 | ||
![]() | Re: TS--> Daily MAs on 5-Min Chart? | ||
| |
|
| | #4 | ||
![]() | Re: TS--> Daily MAs on 5-Min Chart? Quote:
See: JAM - TradeStation EasyLanguage Indicator Utility Free Bakrob | ||
| |
|
| The Following 2 Users Say Thank You to bakrob99 For This Useful Post: | ||
jeffersondaarcy (08-04-2009), Tams (08-04-2009) | ||
| | #5 | ||
![]() | Re: TS--> Daily MAs on 5-Min Chart? simply insert the function into the price value input: ![]() p.s. I have not tested this method, but theoretically it is workable. | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
jeffersondaarcy (08-04-2009) | ||
| | #6 | ||
![]() | Re: TS--> Daily MAs on 5-Min Chart? The CloseD function allows you to reference the daily Close of previous days in an intraday chart (minute or tick-based) or a daily chart. CloseD is a function in a family of functions that allows historical daily, weekly, monthly, and yearly references in intraday charts. Syntax CloseD( PeriodsAgo ) Returns (Double) A numeric value for the current bar. If the PeriodsAgo parameter is out of range (> 50), or there is not enough data, the function will return &endash;1. Parameters PeriodsAgo Numeric The number of days/periods back to reference a previous day’s closing price. (50 days back maximum) (0 = Today’s current Close) Remarks You must have enough intraday data in the chart in order to look back and reference any previous close. For example, if you want to look back at the close of 25 days ago on a 5-minute chart, you must have 25 days of 5-minute bars in the chart. The value for the PeriodsAgo input parameter should always be a whole number greater than or equal to 0, but less than 51. Setting PeriodsAgo to 0 equals today’s current Close. Example Assigns the Close of the previous day on an intraday chart to Value1, then plots Value1: Value1 = CloseD(1); Plot1(Value1, "PrevClose"); See Also related functions HighD, LowD, OpenD, CloseW, CloseM, and CloseY. source: EasyLanguage manual | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
trade-samarai (08-05-2009) | ||
![]() |
| Tags |
| multiple time frame |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Refer Daily Bar Value in an Intraday Chart in EL? | rajatheroyal | Automated Trading | 2 | 07-25-2009 08:43 AM |
| YM daily chart discrepances?. Please, help | jlferca | Brokers and Data Feeds | 6 | 11-03-2007 11:17 AM |
| Daily P&L targets | waveslider | Trading Psychology | 7 | 06-01-2007 01:38 PM |
| Dow mini (YM) Daily Chart Analysis | Soultrader | Market Analysis | 0 | 09-11-2006 05:59 PM |
| Daily Chart 8/17/06 | Soultrader | Technical Analysis | 0 | 08-17-2006 09:12 AM |