Current location | Thread information | |
![]() ![]() ![]() ![]() ![]() ![]() |
Last Activity 12/17/2020 7:15 AM 14 replies, 1560 viewings |
|
|
Printer friendly version |
^ Top | |||
hughes![]() Regular ![]() ![]() Posts: 74 Joined: 11/20/2008 Location: Belforte Monferrato , Italy ![]() |
hi if possible setting charts on Monthly time frame ?? thanks | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Yes. Use Edit > Data Periods to reset your collection of loaded bars to include monthly bars. | ||
^ Top | |||
hughes![]() Regular ![]() ![]() Posts: 74 Joined: 11/20/2008 Location: Belforte Monferrato , Italy ![]() |
Originally written by 210921 on 12/30/2010 12:06 PM Yes. Use Edit > Data Periods to reset your collection of loaded bars to include monthly bars. thanks Jim i try please another question for create scan with month time frame my method is same The Ivy Portfolio Buy when the price is above sma 10 or 12 period if possible with OT?? thanks and happy new year p.s.sorry my englis is very bad | ||
^ Top | |||
hughes![]() Regular ![]() ![]() Posts: 74 Joined: 11/20/2008 Location: Belforte Monferrato , Italy ![]() |
Originally written by 210921 on 12/30/2010 12:06 PM Yes. Use Edit > Data Periods to reset your collection of loaded bars to include monthly bars. Sorry Jim but i try on Edit > data periods buts only on description Daily and bars loaded i change on 8000 | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Here are some snapshots about what you need to do to activate Monthly bars. I did this on OT2010 ... I assume it is possible on OT2009. I recommend that you upgrade to OT2011, or to OT2010 at least. [Edited by Jim Dean on 12/30/2010 11:03 AM] ![]() | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
If you want to do a MONTHLY BAR scan for price > 10-monthly-bar simple moving average, you will need to use an approximate formula for it in OmniScan, since OmniScan only supports Daily bars at this time. Since each month has approximately 21 trading days, here is what you could use for a ten-month SMA test in OmniScan: C > ( C + C[21] + C[42] + C[63] + C[84] + C[105] + C[126] + C[147] + C[168] + C[189] ) / 10 If you do not own OmniScan, but you do have OT Pro, you can create an indicator with that formula and use it to sort the Focus List - but it does take more time to execute. Or, if OT2009 supports Monthly bars, the formula would be: C > SMA(10) with the chart set to monthly. I don't know anything about the Ivy Portfolio except that it has several ETF's in it. If you want to somehow look at those ETF's as a group, you might be able to combine them into a custom symbol, using Group Trader, but you will not be able to model special "weighting" of them that the Ivy Portfolio might call for. Again, I know nothing about the Ivy Portfolio - I'm just guessing. If all you want to do is to check several ETF's from not too long a list, to see if their price is above the monthly SMA(10), then open a chart, plot a Moving Average - Simple on it, set the periods to 10, and change the chart to monthly bars. If there are only a few ETF's that you need to check, you could do it manually without OmniScan. I hope this helps. [Edited by Jim Dean on 12/30/2010 11:15 AM] | ||
^ Top | |||
hughes![]() Regular ![]() ![]() Posts: 74 Joined: 11/20/2008 Location: Belforte Monferrato , Italy ![]() |
Originally written by 210921 on 12/30/2010 5:13 PM If you want to do a MONTHLY BAR scan for price > 10-monthly-bar simple moving average, you will need to use an approximate formula for it in OmniScan, since OmniScan only supports Daily bars at this time. Since each month has approximately 21 trading days, here is what you could use for a ten-month SMA test in OmniScan: C > ( C + C[21] + C[42] + C[63] + C[84] + C[105] + C[126] + C[147] + C[168] + C[189] ) / 10 If you do not own OmniScan, but you do have OT Pro, you can create an indicator with that formula and use it to sort the Focus List - but it does take more time to execute. Or, if OT2009 supports Monthly bars, the formula would be: C > SMA(10) with the chart set to monthly. I don't know anything about the Ivy Portfolio except that it has several ETF's in it. If you want to somehow look at those ETF's as a group, you might be able to combine them into a custom symbol, using Group Trader, but you will not be able to model special "weighting" of them that the Ivy Portfolio might call for. Again, I know nothing about the Ivy Portfolio - I'm just guessing. If all you want to do is to check several ETF's from not too long a list, to see if their price is above the monthly SMA(10), then open a chart, plot a Moving Average - Simple on it, set the periods to 10, and change the chart to monthly bars. If there are only a few ETF's that you need to check, you could do it manually without OmniScan. I hope this helps. Many Thanks Jim and happy new year i think upgrade OT | ||
^ Top | |||
Song![]() Member Posts: 5 Joined: 12/5/2006 ![]() |
Hi, Jim after read your post, I realize that omniscan script language can only support daily price data. But I am very intested in your idea to write indicator with ot pro. I would like to use wkly stochastics K and D to generate a scan list. Do you have any suggestion? thanks Song | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Forumula for unsmoothed stochastic is simple: (C - LowestLow) / (HighestHigh-LowestLow) * 100 This is easy to convert to weekly equivalent, as long as you don't try to smooth it. All you have to do is check the extremes using daily-equivalents of weekly timeframes. If you want, say, a 9-week window for your stoch calc, then multiply 9 * 5 days/wk = 45 days So, the scan formula for a 9-week stoch, using Daily data, without smoothing would be: (C - LLV(45)) / (HHV(45)-LLV(45)) * 100 Now, if you want to do a 3-week Simple Moving average smoothing: (Cur Wk + Prior Wk + 2ndPrv Wk) / 3 Then you need the weekly stoch values for the two earlier weeks. They are: Prior Wk = (C[5] - LLV(45)[5]) / (HHV(45)[5]-LLV(45)[5]) * 100 2ndPrv Wk = (C[10] - LLV(45)[10]) / (HHV(45)[10]-LLV(45)[10]) * 100 Combining those into a single formula, the 3-week-smoothed 9-week Stoch is: ( (C - LLV(45)) / (HHV(45)-LLV(45)) * 100 + (C[5] - LLV(45)[5]) / (HHV(45)[5]-LLV(45)[5]) * 100 + (C[10] - LLV(45)[10]) / (HHV(45)[10]-LLV(45)[10]) * 100 ) / 3 This is fairly accurate ... it uses the "dynamic week" approach, not calendar weeks. And it does not take holidays into account - it pretends that every week is exactly five trading days. | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
By the way ... OmniSCRIPT supports whatever data is loaded ... it is not limited to daily data. But OmniSCAN is currently limited to daily data. | ||
^ Top | |||
Song![]() Member Posts: 5 Joined: 12/5/2006 ![]() |
Hi, Dear Jim Thank you very much for your reply. very helpful. I am wondering whether a condition for stoc(5,2,3)>stoc(5,2,3)[1] can be translate to wkly as STO_D(25,10,15) > STO_D(25,10,15)[5] instead of your suggestion? Some side note, is it possible to write a OT plug in based on money zone module? thanks again Song | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
The math is NOT the same. You need to do it the way I described. For Stoch(5,2) weekly > prior week, ( (C - LLV(25)) / (HHV(25)-LLV(25)) * 100 + (C[5] - LLV(25)[5]) / (HHV(25)[5]-LLV(25)[5]) * 100 ) / 2 > ( (C[5] - LLV(25)[5]) / (HHV(25)[5]-LLV(25)[5]) * 100 + (C[10] - LLV(25)[10]) / (HHV(25)[10]-LLV(25)[10]) * 100 ) / 2 Note that these are not "D" lines, but are "smoothed K" lines. That is, the third parameter is not used - it's like a weekly stoc_d(5,2,1). Modeling the third parameter manually can be done with a MUCH longer formula. [Edited by Jim Dean on 1/1/2011 6:35 PM] | ||
^ Top | |||
Song![]() Member Posts: 5 Joined: 12/5/2006 ![]() |
Hi, Jim thanks again. Do you have any wkly indicator from OT lang so that I can modify for wkly stoc? Song | ||
^ Top | |||
Jim Dean![]() Sage ![]() ![]() Posts: 3022 Joined: 9/21/2006 Location: L'ville, GA ![]() |
Not needed. Use standard indicator and set chart timeframe to weekly. | ||
^ Top | |||
Barry Cohen![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6338 Joined: 1/19/2004 ![]() |
The Monthly timeframe is only available in OT2010/VT7 & after. |
|
|
Legend | Action | Notification | |||
Administrator
Forum Moderator |
Registered User
Unregistered User |
![]() |
Toggle e-mail notification |