Search the web
Sign In
New User? Sign Up
amibroker · AmiBroker User's List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Plotting24 Hour Session and day session in 2 separate charts   Message List  
Reply | Forward Message #132235 of 143808 |
Re: Plotting24 Hour Session and day session in 2 separate charts

Fools rush in where angels fair to tread .. so I have tried to make a
start (often the hardest part).

I am inclined to think there is no nice solution i.e. if you want
indicators to reference previous days rather than just visual
separation.

For visuals only you can:

- plot session markers to cue you in
- plot the intra session bars only (use conditional iif) but this
leaves a blank in the 24 hour chart and will not allow indicators
that ref previous days to work properly.

For indicator suitable compression:

- this only works with the View >> Intraday Session commands (in
tandem with Database >> Intraday Settings. In this mode indicators
auto reference the 'compressed' intraday bars as if they are a
continuous array (presumably they are).

Unfortunately the View >> Session commands are Global for the running
instance of AB (my terminology!)so if you open another window it will
change from 24hr to session view in tandem with all other open
windows.

- You could run a second instance of AB

- the only possible chance is to plot compressed data in a separate
pane (at first glance I don't find it satisfactory,because I use bar
style, but perhaps with some perseverance ... there are some other
TimeFrame functions that might help).

Create a new blank chart.
Insert code below.
View windows horizontally.
Run the original window in intraday 24 hour (view your futures)
Run window two with TFC and view ETF's

DC = TimeFrameCompress( Close, in5Minute );

Plot(DC,"DailyCompression",1,1);


--- In amibroker@yahoogroups.com, "sidhartha70" <sidhartha70@...>
wrote:
>
> TJ or anyone else.... can you comment on this...??
>
> TIA
>
> --- In amibroker@yahoogroups.com, "onelkm" <LKMCD1@> wrote:
> >
> > I trade futures using 24 hour data and ETF's using just the day
session
> > data. I find that for ETFs the data for pre and post market is
mostly
> > noise and I don't want to include it in my trading systems. I use
IQ
> > feed and for ETFs I get data from 7:00 am to 8:00 pm.
> >
> > So, how would I simultaneously plot 24 hour data for futures in
one
> > chart and in another chart just plot the day session (9:30 to
4:00)
> > without the pre and post market data for ETF's?
> > Thanks in advance
> > Larry
> >
>





Fri Nov 21, 2008 11:53 am

brian_z111
Offline Offline
Send Email Send Email

Forward
Message #132235 of 143808 |
Expand Messages Author Sort by Date

I trade futures using 24 hour data and ETF's using just the day session data. I find that for ETFs the data for pre and post market is mostly noise and I don't...
onelkm
Offline Send Email
Nov 20, 2008
1:32 pm

I'm very interested to know if this is possible too......
sidhartha70
Offline Send Email
Nov 20, 2008
2:12 pm

TJ or anyone else.... can you comment on this...?? TIA...
sidhartha70
Offline Send Email
Nov 21, 2008
9:33 am

Fools rush in where angels fair to tread .. so I have tried to make a start (often the hardest part). I am inclined to think there is no nice solution i.e. if...
brian_z111
Offline Send Email
Nov 21, 2008
11:53 am

... I think you can forget that one .. silly me .. what on earth was I thinking... Timeframe functions are also under Global session view. brian_z ... a ... ...
brian_z111
Offline Send Email
Nov 21, 2008
12:11 pm

At the moment filtering is global setting, however there are no technical obstacles to make it controllable on per-chart basis, feel free to submit suggestion...
Tomasz Janeczko
amibroker
Offline Send Email
Nov 21, 2008
5:56 pm

Thanks TJ. Suggestion added. ... 2 separate charts ... session ... mostly ... directly to...
sidhartha70
Offline Send Email
Nov 21, 2008
6:21 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help