OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


  Current location        Thread information  
OmniTrader Archives
OmniTrader 2009 Technical Support
month time frame
Last Activity 10/29/2014 8:57 PM
14 replies, 778 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back reply
Printer friendly version

^ Top
hughes

Regular
2525
Posts: 74

Joined: 11/20/2008
Location: Belforte Monferrato , Italy

User Profile
 
Subject : month time frame
Posted : 12/30/2010 5:35 AM
Post #22605

hi if possible setting charts
on Monthly time frame ??
thanks

^ Top
Jim Dean

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 6:06 AM
Post #22607 - In reply to #22605

Yes.

Use Edit > Data Periods to reset your collection of loaded bars to include monthly bars.

^ Top
hughes

Regular
2525
Posts: 74

Joined: 11/20/2008
Location: Belforte Monferrato , Italy

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 6:24 AM
Post #22608 - In reply to #22607

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
2525
Posts: 74

Joined: 11/20/2008
Location: Belforte Monferrato , Italy

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 10:52 AM
Post #22612 - In reply to #22607

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

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 11:01 AM
Post #22614 - In reply to #22608

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]

Attached file : Monthly Bars.png (44KB - 275 downloads)

^ Top
Jim Dean

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 11:13 AM
Post #22615 - In reply to #22614

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
2525
Posts: 74

Joined: 11/20/2008
Location: Belforte Monferrato , Italy

User Profile
 
Subject : RE: month time frame
Posted : 12/30/2010 11:29 AM
Post #22617 - In reply to #22615

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

User Profile
 
Subject : RE: month time frame
Posted : 12/31/2010 1:59 PM
Post #22629 - In reply to #22605

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

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 8:51 AM
Post #22640 - In reply to #22629

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

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 8:52 AM
Post #22641 - In reply to #22640

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

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 6:18 PM
Post #22644 - In reply to #22605

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

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 6:33 PM
Post #22645 - In reply to #22644

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

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 6:54 PM
Post #22646 - In reply to #22605

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

Idol
200050010010010025
Posts: 2825

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: month time frame
Posted : 1/1/2011 6:56 PM
Post #22647 - In reply to #22646

Not needed. Use standard indicator and set chart timeframe to weekly.
^ Top
Barry Cohen

Sage
5000100100100252525
Posts: 5394

Joined: 1/19/2004

User Profile
 
Subject : RE: month time frame
Posted : 1/3/2011 2:47 PM
Post #22656 - In reply to #22605

The Monthly timeframe is only available in OT2010/VT7 & after.
Jump to page : 1
Now viewing page 1 [25 messages per page]
back reply

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.