OmniTrader Professional Forum OmniTrader Professional 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.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Jim Dean

Sage
2000100010010010010025
Posts: 3433

Joined: 3/13/2006
Location: L'ville, GA

User Profile
 
Subject : RE: How do you plot an indicator from a different
Posted : 10/16/2006 7:32 PM
Post #3310 - In reply to #3308

Actually, you could write code in OmniLanguage for this indicator, yourself. For example, if you wanted to simulate weekly bars on a daily chart (without slavishly sticking to Mon-Fri = a week), you could just write code that plots the highest high of the prior five days, holding it fixed for the next five days, then changing its value to a new HH on the fifth day following. Also, do the same for the lows.

It would sort of look like a "channel". I can't envision a good way to plot the open and close ... could do the same thing, but it would not be the extremes of a five day period, rather it would be the Open of the first day of the five, and the Close of the last day of the five.

You'd get four "stairstep" lines on the chart.. could be different colors or styles, I suppose.

If you think this would be helpful, if I get some time I'll take a stab at writing the core logic out for you ... but I'll leave it to you to add the plot colors, etc.

Give it a try yourself, first, eh?

Jim Dean
Deleting message 3310 : RE: How do you plot an indicator from a different


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