Search the web
Sign In
New User? Sign Up
LinnSoft · Investor/RT: The Trader's Toolbox
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

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
Messages 16035 - 16064 of 16064   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#16035 From: "William E. Linn" <wlinn@...>
Date: Sun Nov 22, 2009 9:55 pm
Subject: RE: Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages
ls_bill
Offline Offline
Send Email Send Email
 
Yes, that was a typo, I meant 9:35 and 9:40, 5 minutes after the open at 9:30 is the time stamp of the 1st bar and so on...


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of Dan Tillemans
Sent: Sunday, November 22, 2009 10:17 AM
To: LinnSoft@yahoogroups.com
Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

Wow!  Did not know about this token.  Just ran some tests with it and it does the trick. I will assume that you really intended to say 9:35:00 and 9:40:00 to designate the 1st and 2nd 5 minute bars instead of 9:05:00 and 9:10:00
 
"Thus if the scan runs on 5 minute bars and the session opens at 9:30 use 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on".
Thanks for the education.
 
Dan Tillemans 

Sent: Sunday, November 22, 2009 8:29 AM
Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

Use the DV token to extact a specific price (OHLC) for a specific date and time. The date many be specificed as "Current Data". Time is set hh:mm:ss. Thus if the scan runs on 5 minute bars and the session opens at 9:30 use 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on.

Regards,

Bill

> Let's say I want to be able to capture the Open, High, Low, or Last of a
> specific bar using real-time data at any point during the trading day,
> want to be able to capture it for a large number of symbols (thus,
> ruling out visual inspection of charts), and want to display the result
> in a QuotePage containing those symbols. Thus, I might want to find the
> High of the third 1minute bar of the Session or the Open of the fifth 3
> minute bar of the session.
>
> Can this be done in IRT and, if so, how?
>
> Many thanks in advance for any assistance that anyone can offer here...
>
> Regards,
>
> Cliff
>
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4623 (20091119) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4623 (20091119) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


#16036 From: "Cliff Brandt" <cwb1014@...>
Date: Sun Nov 22, 2009 11:47 pm
Subject: RE: Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages
cwb1014
Offline Offline
Send Email Send Email
 

Bill,

 

Thanks for the valuable information here. Can bars be referenced by their position also, or only be their time?  This would make a difference if the first bar of the regular session is not the one ending at 9:35, as would be the case if the stock opens after 9:35 (it may even be the case if the stock opens after 9:30, but I’m not sure how IRT would handle this in the case of a 5 minute bar: does it terminate the first 5 minute bar at 9:35 so long as the open occurs at some point before 9:35 or does it draw the first bar literally as 5 minute bar, such that if the stock opens at 9:32, the first 5 minute bar ends at 9:37?).  In these cases, all bars subsequent to the actual opening bar would be shifted forward to times one would not ordinarily expect for them.

 

Thanks again,

 

Cliff

 

cwb1014@...

 

 

 


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of William E. Linn
Sent: Sunday, November 22, 2009 4:56 PM
To: LinnSoft@yahoogroups.com
Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

 

Yes, that was a typo, I meant 9:35 and 9:40, 5 minutes after the open at 9:30 is the time stamp of the 1st bar and so on...

 


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of Dan Tillemans
Sent: Sunday, November 22, 2009 10:17 AM
To: LinnSoft@yahoogroups.com
Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

Wow!  Did not know about this token.  Just ran some tests with it and it does the trick. I will assume that you really intended to say 9:35:00 and 9:40:00 to designate the 1st and 2nd 5 minute bars instead of 9:05:00 and 9:10:00

 

"Thus if the scan runs on 5 minute bars and the session opens at 9:30 use 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on".

Thanks for the education.

 

Dan Tillemans 

 

Sent: Sunday, November 22, 2009 8:29 AM

Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

 

Use the DV token to extact a specific price (OHLC) for a specific date and time. The date many be specificed as "Current Data". Time is set hh:mm:ss. Thus if the scan runs on 5 minute bars and the session opens at 9:30 use 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on.

Regards,

Bill

> Let's say I want to be able to capture the Open, High, Low, or Last of a
> specific bar using real-time data at any point during the trading day,
> want to be able to capture it for a large number of symbols (thus,
> ruling out visual inspection of charts), and want to display the result
> in a QuotePage containing those symbols. Thus, I might want to find the
> High of the third 1minute bar of the Session or the Open of the fifth 3
> minute bar of the session.
>
> Can this be done in IRT and, if so, how?
>
> Many thanks in advance for any assistance that anyone can offer here...
>
> Regards,
>
> Cliff
>
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4623 (20091119) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4623 (20091119) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


#16037 From: "cwb1014" <cwb1014@...>
Date: Mon Nov 23, 2009 12:58 am
Subject: Possible Bug + Workaround w/ New Buttons Set to Add/Remove Preset Indicator...
cwb1014
Offline Offline
Send Email Send Email
 
After much time-consuming trial and error, I just discovered what may be
a bug in setting up new Buttons designed to Add/Remove Preset
Indicators.  When I attempted to set up a new Button with the Purpose:
set to Add/Remove Preset Indicator, I could not get the Button to add or
remove the Indicator, which happened to be a Reference Line, although I
had no problem getting the Reference Line in question added to a chart
when I loaded its Preset via the Add Indicator dialogue box and clicked
Add or Add+Close.  An ancillary bug here may be that each time I
attempted to to edit the Button to see if tinkering with it would get it
to work (always leaving the Purpose: set to Add/Remove Preset Indicator
before clicking OK) ,whenever I did click OK on the Update Button
dialogue box, I ended up with the Reference Line tool activated and its
icon hovering over my chart, with IRT apparently thinking I wanted to
manually add a Reference Line to my chart.  It may be useful to know
that I had similar issues with the Reference Line tool popping up
unexpectedly when making unrelated adjustments to my Reference Line
Presets and then clicking Add or Add+Close.

Anyway, I finally added the the Indicator Preset in question to a new
Preset Group that I created, such that Indicator Preset was the only
member of the Group.  I then edited the Button's Purpose: to Add/Remove
Preset Group and the button worked like a charm, always adding and
removing the appropriate reference line with no problems.

Hopefully, this workaround will help other users trying to accomplish
similar objectives and save them some valuable  time in the process.  I
gather that right now the good folks at I/RT are real busy putting the
finishing touches on 10.0 for users interested in certain types of
direct order placement, but when that process has concluded, I'm hoping
the issues described here will be examined and that whatever adjustments
may need to be made here will be.

Regards,

Cliff

#16038 From: wlinn@...
Date: Mon Nov 23, 2009 2:31 am
Subject: RE: Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages
ls_bill
Offline Offline
Send Email Send Email
 
DV is time based, not position based. Investor/RT timestamps bars with the ending time of the bar. When periodicity is 5 minutes, then all trades that occur from 9:30 to 9:35 go into the 9:35 bar, all trades after that up to 9:40 go into the 9:40 ending bar, etc.

Regards,

Bill

> Bill,
>
>
>
> Thanks for the valuable information here. Can bars be referenced by their
> position also, or only be their time? This would make a difference if the
> first bar of the regular session is not the one ending at 9:35, as would
> be
> the case if the stock opens after 9:35 (it may even be the case if the
> stock
> opens after 9:30, but I’m not sure how IRT would handle this in the case
> of
> a 5 minute bar: does it terminate the first 5 minute bar at 9:35 so long
> as
> the open occurs at some point before 9:35 or does it draw the first bar
> literally as 5 minute bar, such that if the stock opens at 9:32, the first
> 5
> minute bar ends at 9:37?). In these cases, all bars subsequent to the
> actual opening bar would be shifted forward to times one would not
> ordinarily expect for them.
>
>
>
> Thanks again,
>
>
>
> Cliff
>
>
>
> cwb1014@...
>
>
>
>
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of William E. Linn
> Sent: Sunday, November 22, 2009 4:56 PM
> To: LinnSoft@yahoogroups.com
> Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Yes, that was a typo, I meant 9:35 and 9:40, 5 minutes after the open at
> 9:30 is the time stamp of the 1st bar and so on...
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of Dan Tillemans
> Sent: Sunday, November 22, 2009 10:17 AM
> To: LinnSoft@yahoogroups.com
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
> Wow! Did not know about this token. Just ran some tests with it and it
> does the trick. I will assume that you really intended to say 9:35:00 and
> 9:40:00 to designate the 1st and 2nd 5 minute bars instead of 9:05:00 and
> 9:10:00
>
>
>
> "Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on".
>
> Thanks for the education.
>
>
>
> Dan Tillemans
>
>
>
>
From: wlinn@linnsoft. <mailto:wlinn@...> com
>
> Sent: Sunday, November 22, 2009 8:29 AM
>
> To: LinnSoft@yahoogroup <mailto:LinnSoft@yahoogroups.com> s.com
>
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Use the DV token to extact a specific price (OHLC) for a specific date and
> time. The date many be specificed as "Current Data". Time is set hh:mm:ss.
> Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on.
>
> Regards,
>
> Bill
>
>> Let's say I want to be able to capture the Open, High, Low, or Last of a
>> specific bar using real-time data at any point during the trading day,
>> want to be able to capture it for a large number of symbols (thus,
>> ruling out visual inspection of charts), and want to display the result
>> in a QuotePage containing those symbols. Thus, I might want to find the
>> High of the third 1minute bar of the Session or the Open of the fifth 3
>> minute bar of the session.
>>
>> Can this be done in IRT and, if so, how?
>>
>> Many thanks in advance for any assistance that anyone can offer here...
>>
>> Regards,
>>
>> Cliff
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
>
>

#16039 From: "Cliff Brandt" <cwb1014@...>
Date: Mon Nov 23, 2009 3:44 am
Subject: RE: Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages
cwb1014
Offline Offline
Send Email Send Email
 

Right, I know DV is time based, but what I’m wondering is whether there’s a way to capture the values (O,H,L,C) of a given bar based on its position as opposed to its (ending) time.  I’m guessing there’s not, but I just wanted to be sure.  Thanks again for you help with this…

 


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of wlinn@...
Sent: Sunday, November 22, 2009 9:32 PM
To: LinnSoft@yahoogroups.com
Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

 

DV is time based, not position based. Investor/RT timestamps bars with the ending time of the bar. When periodicity is 5 minutes, then all trades that occur from 9:30 to 9:35 go into the 9:35 bar, all trades after that up to 9:40 go into the 9:40 ending bar, etc.

Regards,

Bill

> Bill,
>
>
>
> Thanks for the valuable information here. Can bars be referenced by their
> position also, or only be their time? This would make a difference if the
> first bar of the regular session is not the one ending at 9:35, as would
> be
> the case if the stock opens after 9:35 (it may even be the case if the
> stock
> opens after 9:30, but I’m not sure how IRT would handle this in the case
> of
> a 5 minute bar: does it terminate the first 5 minute bar at 9:35 so long
> as
> the open occurs at some point before 9:35 or does it draw the first bar
> literally as 5 minute bar, such that if the stock opens at 9:32, the first
> 5
> minute bar ends at 9:37?). In these cases, all bars subsequent to the
> actual opening bar would be shifted forward to times one would not
> ordinarily expect for them.
>
>
>
> Thanks again,
>
>
>
> Cliff
>
>
>
> cwb1014@gmail.com
>
>
>
>
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of William E. Linn
> Sent: Sunday, November 22, 2009 4:56 PM
> To: LinnSoft@yahoogroups.com
> Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Yes, that was a typo, I meant 9:35 and 9:40, 5 minutes after the open at
> 9:30 is the time stamp of the 1st bar and so on...
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of Dan Tillemans
> Sent: Sunday, November 22, 2009 10:17 AM
> To: LinnSoft@yahoogroups.com
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
> Wow! Did not know about this token. Just ran some tests with it and it
> does the trick. I will assume that you really intended to say 9:35:00 and
> 9:40:00 to designate the 1st and 2nd 5 minute bars instead of 9:05:00 and
> 9:10:00
>
>
>
> "Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on".
>
> Thanks for the education.
>
>
>
> Dan Tillemans
>
>
>
>
From: wlinn@linnsoft. <mailto:wlinn@linnsoft.com> com
>
> Sent: Sunday, November 22, 2009 8:29 AM
>
> To: LinnSoft@yahoogroup <mailto:LinnSoft@yahoogroups.com> s.com
>
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Use the DV token to extact a specific price (OHLC) for a specific date and
> time. The date many be specificed as "Current Data". Time is set hh:mm:ss.
> Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on.
>
> Regards,
>
> Bill
>
>> Let's say I want to be able to capture the Open, High, Low, or Last of a
>> specific bar using real-time data at any point during the trading day,
>> want to be able to capture it for a large number of symbols (thus,
>> ruling out visual inspection of charts), and want to display the result
>> in a QuotePage containing those symbols. Thus, I might want to find the
>> High of the third 1minute bar of the Session or the Open of the fifth 3
>> minute bar of the session.
>>
>> Can this be done in IRT and, if so, how?
>>
>> Many thanks in advance for any assistance that anyone can offer here...
>>
>> Regards,
>>
>> Cliff
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
>
>


#16040 From: "cwb1014" <cwb1014@...>
Date: Mon Nov 23, 2009 7:57 am
Subject: Cascade Causes All Items to Disappear - Why?
cwb1014
Offline Offline
Send Email Send Email
 
I just had 9 items open (1 QP, 1 chart, 2 scans, 1 schedule, 2 database
wizards, 1 custom indicator, 1 message log); some were minimized, some
were not.  When I clicked Cascade on the Window menu, all the items
disappeared.  Does anyone know why this happened and how to avoid it
moving forward?  Also, does anyone know how to get them back to their
original positions without having to Restore All, which leaves none
minimized, and then manually minimizing the ones that were minimized.

Thanks in advance for any help that anyone may be able to offer here...

Regards,

Cliff

#16041 From: "wray2k" <wray2k@...>
Date: Mon Nov 23, 2009 12:35 pm
Subject: saving data
wray2k
Offline Offline
Send Email Send Email
 
is there a way to move custom indicator data back and forth between laptop and
home desk pc?  i use the IB adv/dec custom indicator and since i cant download
historical data would like to save it to my laptop when i am on the road.

thanks in advance
ray

#16042 From: "Chad Payne" <cpayne@...>
Date: Mon Nov 23, 2009 12:56 pm
Subject: RE: saving data
cpayne2133
Online Now Online Now
Send Email Send Email
 
I believe you are referring to exporting and importing data on a custom instrument, correct?  You would do that just as you would data on any other symbol.  Please watch this video for further instructions on this process:  http://www.screencast.com/t/h5E9Nw5GHJ

Chad


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of wray2k
Sent: Monday, November 23, 2009 7:35 AM
To: LinnSoft@yahoogroups.com
Subject: [LinnSoft] saving data

 

is there a way to move custom indicator data back and forth between laptop and home desk pc? i use the IB adv/dec custom indicator and since i cant download historical data would like to save it to my laptop when i am on the road.

thanks in advance
ray


#16043 From: Art Fabel <artfabel@...>
Date: Mon Nov 23, 2009 1:22 pm
Subject: Re: Cascade Causes All Items to Disappear - Why?
artfabel1
Offline Offline
Send Email Send Email
 
Save  a layout when you have all your windows (QP, charts) arranged the way you like them . Then when things get scrambled open the layout and check the box that says something like "close all open windows0 Voila you are back to where you wanted to be. I'll leave it to someone else to cover the mechnics of setting up and saving a layout.
art Fabel

On Mon, Nov 23, 2009 at 2:57 AM, cwb1014 <cwb1014@...> wrote:
 

I just had 9 items open (1 QP, 1 chart, 2 scans, 1 schedule, 2 database
wizards, 1 custom indicator, 1 message log); some were minimized, some
were not. When I clicked Cascade on the Window menu, all the items
disappeared. Does anyone know why this happened and how to avoid it
moving forward? Also, does anyone know how to get them back to their
original positions without having to Restore All, which leaves none
minimized, and then manually minimizing the ones that were minimized.

Thanks in advance for any help that anyone may be able to offer here...

Regards,

Cliff



#16044 From: Steven Kessler <stevenkessler1@...>
Date: Mon Nov 23, 2009 2:49 pm
Subject: time in a custom indicator formula ?
stevenkessler1@...
Send Email Send Email
 
Can time be used in a custom indicator formula to turn it off for
certain periods?

example     (TIME > 1030) (formula)

Is there a better way to control when a custom indicator draws on the
chart and when it doesn't?

TIA,
Steven

#16045 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 3:14 pm
Subject: Re: time in a custom indicator formula ?
dantillemans
Offline Offline
Send Email Send Email
 
Steven,
 
This is exactly what I do with some indicators, and it works.  Example:
 
(TIME>0940)*(MPD);
 
The other way I use to control CIs to turn them off is to use a V# that can be turned on and off by a button or a schedule.  Example:
 
IF (V#1=1) THEN (MPD+0);
 
The beauty of this approach is that you can have a lot of different indicators already sitting inside charts in the correct pane order, and can turn them on or off when you want.  IRT passes right over the entire formula if V#1 is not 1, so it takes no juice at all.
 
There is a weirdness is the program that requires the use of some simple formula in this IF-THEN statement.  Example: MPD or MACD would not work after THEN, but MPD+0, or MACD*1 or anything simple like this will work. 
 
Hope this is helpful.
 
Dan Tillemans

Sent: Monday, November 23, 2009 9:49 AM
Subject: [LinnSoft] time in a custom indicator formula ?

 

Can time be used in a custom indicator formula to turn it off for
certain periods?

example (TIME > 1030) (formula)

Is there a better way to control when a custom indicator draws on the
chart and when it doesn't?

TIA,
Steven



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16046 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 3:25 pm
Subject: Fw: time in a custom indicator formula ?
dantillemans
Offline Offline
Send Email Send Email
 
Some "on-off" switching formulas for the signals inside or the signal actions behind the buttons (and these buttons can also be run in a schedule):
 
SET(V#1,(V#1!=0)?0:1);
If V#1 is not equal to 0 then set it to 0, otherwise set it to 1.
 
SET(V#1,(V#1=2)?0:(V#1+1));
 
If V#1 is equal to 2, then set it to 0, otherwise set it to V#1 plus 1.  This will cycle through 0,1,2.  If you make 2 a larger number you can cycle through as many numbers as you like.
 
Dan Tillemans

Sent: Monday, November 23, 2009 10:14 AM
Subject: Re: [LinnSoft] time in a custom indicator formula ?

 

Steven,
 
This is exactly what I do with some indicators, and it works.  Example:
 
(TIME>0940)*(MPD);
 
The other way I use to control CIs to turn them off is to use a V# that can be turned on and off by a button or a schedule.  Example:
 
IF (V#1=1) THEN (MPD+0);
 
The beauty of this approach is that you can have a lot of different indicators already sitting inside charts in the correct pane order, and can turn them on or off when you want.  IRT passes right over the entire formula if V#1 is not 1, so it takes no juice at all.
 
There is a weirdness is the program that requires the use of some simple formula in this IF-THEN statement.  Example: MPD or MACD would not work after THEN, but MPD+0, or MACD*1 or anything simple like this will work. 
 
Hope this is helpful.
 
Dan Tillemans

Sent: Monday, November 23, 2009 9:49 AM
Subject: [LinnSoft] time in a custom indicator formula ?

 

Can time be used in a custom indicator formula to turn it off for
certain periods?

example (TIME > 1030) (formula)

Is there a better way to control when a custom indicator draws on the
chart and when it doesn't?

TIA,
Steven



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16047 From: Steven Kessler <stevenkessler1@...>
Date: Mon Nov 23, 2009 3:28 pm
Subject: Re: time in a custom indicator formula ?
stevenkessler1@...
Send Email Send Email
 
Brilliant!
Thanks for the tips, Dan.
Steven

Dan Tillemans wrote:
 

Steven,
 
This is exactly what I do with some indicators, and it works.  Example:
 
(TIME>0940)*(MPD);
 
The other way I use to control CIs to turn them off is to use a V# that can be turned on and off by a button or a schedule.  Example:
 
IF (V#1=1) THEN (MPD+0);
 
The beauty of this approach is that you can have a lot of different indicators already sitting inside charts in the correct pane order, and can turn them on or off when you want.  IRT passes right over the entire formula if V#1 is not 1, so it takes no juice at all.
 
There is a weirdness is the program that requires the use of some simple formula in this IF-THEN statement.  Example: MPD or MACD would not work after THEN, but MPD+0, or MACD*1 or anything simple like this will work. 
 
Hope this is helpful.
 
Dan Tillemans

Sent: Monday, November 23, 2009 9:49 AM
Subject: [LinnSoft] time in a custom indicator formula ?

 

Can time be used in a custom indicator formula to turn it off for
certain periods?

example (TIME > 1030) (formula)

Is there a better way to control when a custom indicator draws on the
chart and when it doesn't?

TIA,
Steven



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16048 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 3:40 pm
Subject: Re: time in a custom indicator formula ?
dantillemans
Offline Offline
Send Email Send Email
 
Glad to be of help.  It  is great to hear that you will benefit by harnessing some of the really awesome stuff that IRT is capable of doing... by adding a few more tricks like this. 
 
I sent a few formulas for "on-off" switches right after that first post, but that 2nd post never hit the list yet.  Not sure if it got lost in a time-warp (this happens to my posts sometimes and I do not understand why), so will just paste it hear again.
 
Some "on-off" switching formulas for the signals inside or the signal actions behind the buttons (and these buttons can also be run in a schedule):
 
SET(V#1,(V#1!=0)?0:1);
 
If V#1 is not equal to 0 then set it to 0, otherwise set it to 1.
 
SET(V#1,(V#1=2)?0:(V#1+1));
 
If V#1 is equal to 2, then set it to 0, otherwise set it to V#1 plus 1.  This will cycle through 0,1,2.  If you make 2 a larger number you can cycle through as many numbers as you like.
 
Dan Tillemans
 

Sent: Monday, November 23, 2009 10:28 AM
Subject: Re: [LinnSoft] time in a custom indicator formula ?

 

Brilliant!
Thanks for the tips, Dan.
Steven

Dan Tillemans wrote:

 

Steven,
 
This is exactly what I do with some indicators, and it works.  Example:
 
(TIME>0940)*(MPD);
 
The other way I use to control CIs to turn them off is to use a V# that can be turned on and off by a button or a schedule.  Example:
 
IF (V#1=1) THEN (MPD+0);
 
The beauty of this approach is that you can have a lot of different indicators already sitting inside charts in the correct pane order, and can turn them on or off when you want.  IRT passes right over the entire formula if V#1 is not 1, so it takes no juice at all.
 
There is a weirdness is the program that requires the use of some simple formula in this IF-THEN statement.  Example: MPD or MACD would not work after THEN, but MPD+0, or MACD*1 or anything simple like this will work. 
 
Hope this is helpful.
 
Dan Tillemans

Sent: Monday, November 23, 2009 9:49 AM
Subject: [LinnSoft] time in a custom indicator formula ?

 

Can time be used in a custom indicator formula to turn it off for
certain periods?

example (TIME > 1030) (formula)

Is there a better way to control when a custom indicator draws on the
chart and when it doesn't?

TIA,
Steven



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16049 From: "cjderosa" <chuckderosa@...>
Date: Mon Nov 23, 2009 8:36 pm
Subject: programming EOD
cjderosa
Offline Offline
Send Email Send Email
 
Is there as way to program the following?

I'm working with 30min bars.  I haven an EOD rule with a signal action attached.
The signal action is triggered at the beginning of the bar (15:30:01)...30 mins
from the actual end of the trading day (16:00:00).

How can i penetrate the 30 minute bar and make the signal action trip only a
minute or two before the actual close of trading? (15:58:00)

Thanks
Charles

#16050 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 9:59 pm
Subject: Re: programming EOD
dantillemans
Offline Offline
Send Email Send Email
 
Charles,
 
I do not see an attachment. Not sure we need to see it, though, since it is either going to return true or false.
 
The way to penetrate a 30 minute bar is to use MPD:  Multiple-Periodicity-Data.  This could be used to slice the bar into smaller pieces (set MPD to 1 minute periodicity, or 15 second, or tick, or whatever) and run it on a 30 minute chart.  You can run a CI inside of the MPD.  However, this does not sound like what you need, as you already know the signal went off.  Not sure what would be helpful in looking at the extra wiggles inside of the last 30 minute bar in this situation:  The signal either went off at the open of the bar or not.
 
Given that you know the signal went off at 15:30:01, I assume that you already know you want to take action 2 minutes prior to the close (and may or may not want to look at other conditions at 15:58:00).  You might just need to use a time qualification with your signal on a 30 minute chart, without looking inside the last bar at all.  Example:
 
(your signal)AND (TIME=15:58:00)
 
This will only trigger at 15:58:00 if your signal is still true.  But maybe your signal was true at 15:30:01 and is no longer true?
 
If your signal might be true at 15:30:01 and become false by 15:58:00, and that is still a trade that you want, then you can use a V# to save the information from 15:30:01... and carry that fixed information forward to 15:58:00.  Example:
 
IF(TIME<15:30:01) OR (TIME>16:00:00) THEN SET (V#1,0);
IF (your signal )AND (TIME=15:30:01) THEN SET (V#1,1);
(V#1=1)AND (TIME>=15:58:01)AND TIME<16:00:00)
 
IRT is going to return true only if the last line is true. And this signal could only be true for a maximum of 2 minutes.  You could keep it true longer if you adjust the 16:00:00 reset time in the first and last lines of line of the formula.  Make sure you look at the recalc rate on the signal marker.  If it is one second that would be fine.  Anything longer than one second would be a problem.
 
Will one of these approaches get you there?
 
Dan Tillemans

From: cjderosa
Sent: Monday, November 23, 2009 3:36 PM
Subject: [LinnSoft] programming EOD

 

Is there as way to program the following?

I'm working with 30min bars. I haven an EOD rule with a signal action attached.
The signal action is triggered at the beginning of the bar (15:30:01)...30 mins from the actual end of the trading day (16:00:00).

How can i penetrate the 30 minute bar and make the signal action trip only a minute or two before the actual close of trading? (15:58:00)

Thanks
Charles



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16051 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 10:12 pm
Subject: Re: programming EOD
dantillemans
Offline Offline
Send Email Send Email
 
Actually, one second is very narrow window for a signal to return true... in case IRT does not recalc at exactly that second.  Might want to give it  2 to 4 seconds:
 
IF (your signal )AND (TIME>=15:30:01) AND  (TIME<=15:30:05)THEN SET (V#1,1);

Sent: Monday, November 23, 2009 4:59 PM
Subject: Re: [LinnSoft] programming EOD

 

Charles,
 
I do not see an attachment. Not sure we need to see it, though, since it is either going to return true or false.
 
The way to penetrate a 30 minute bar is to use MPD:  Multiple-Periodicity-Data.  This could be used to slice the bar into smaller pieces (set MPD to 1 minute periodicity, or 15 second, or tick, or whatever) and run it on a 30 minute chart.  You can run a CI inside of the MPD.  However, this does not sound like what you need, as you already know the signal went off.  Not sure what would be helpful in looking at the extra wiggles inside of the last 30 minute bar in this situation:  The signal either went off at the open of the bar or not.
 
Given that you know the signal went off at 15:30:01, I assume that you already know you want to take action 2 minutes prior to the close (and may or may not want to look at other conditions at 15:58:00).  You might just need to use a time qualification with your signal on a 30 minute chart, without looking inside the last bar at all.  Example:
 
(your signal)AND (TIME=15:58:00)
 
This will only trigger at 15:58:00 if your signal is still true.  But maybe your signal was true at 15:30:01 and is no longer true?
 
If your signal might be true at 15:30:01 and become false by 15:58:00, and that is still a trade that you want, then you can use a V# to save the information from 15:30:01... and carry that fixed information forward to 15:58:00.  Example:
 
IF(TIME<15:30:01) OR (TIME>16:00:00) THEN SET (V#1,0);
IF (your signal )AND (TIME=15:30:01) THEN SET (V#1,1);
(V#1=1)AND (TIME>=15:58:01)AND TIME<16:00:00)
 
IRT is going to return true only if the last line is true. And this signal could only be true for a maximum of 2 minutes.  You could keep it true longer if you adjust the 16:00:00 reset time in the first and last lines of line of the formula.  Make sure you look at the recalc rate on the signal marker.  If it is one second that would be fine.  Anything longer than one second would be a problem.
 
Will one of these approaches get you there?
 
Dan Tillemans

From: cjderosa
Sent: Monday, November 23, 2009 3:36 PM
Subject: [LinnSoft] programming EOD

 

Is there as way to program the following?

I'm working with 30min bars. I haven an EOD rule with a signal action attached.
The signal action is triggered at the beginning of the bar (15:30:01)...30 mins from the actual end of the trading day (16:00:00).

How can i penetrate the 30 minute bar and make the signal action trip only a minute or two before the actual close of trading? (15:58:00)

Thanks
Charles



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16052 From: "Dan Tillemans" <dtillem1@...>
Date: Mon Nov 23, 2009 10:20 pm
Subject: Re: programming EOD
dantillemans
Offline Offline
Send Email Send Email
 
Not sure why I thought you had to reset the signal to false at the close at 16:00.  Not need to include that part, as it will reset at midnight anyway... or any time in the morning when you open the chart.  I assume you will want to see which instruments returned true for a given day.  Here is my revised suggested formula:
 
IF(TIME<15:30:01) THEN SET (V#1,0);
IF (your signal )AND (TIME>=15:30:01) AND  (TIME<=15:30:05)THEN SET (V#1,1);
(V#1=1)AND (TIME>=15:58:01)

Sent: Monday, November 23, 2009 5:12 PM
Subject: Re: [LinnSoft] programming EOD

 

Actually, one second is very narrow window for a signal to return true... in case IRT does not recalc at exactly that second.  Might want to give it  2 to 4 seconds:
 
IF (your signal )AND (TIME>=15:30:01) AND  (TIME<=15:30:05)THEN SET (V#1,1);

Sent: Monday, November 23, 2009 4:59 PM
Subject: Re: [LinnSoft] programming EOD

 

Charles,
 
I do not see an attachment. Not sure we need to see it, though, since it is either going to return true or false.
 
The way to penetrate a 30 minute bar is to use MPD:  Multiple-Periodicity-Data.  This could be used to slice the bar into smaller pieces (set MPD to 1 minute periodicity, or 15 second, or tick, or whatever) and run it on a 30 minute chart.  You can run a CI inside of the MPD.  However, this does not sound like what you need, as you already know the signal went off.  Not sure what would be helpful in looking at the extra wiggles inside of the last 30 minute bar in this situation:  The signal either went off at the open of the bar or not.
 
Given that you know the signal went off at 15:30:01, I assume that you already know you want to take action 2 minutes prior to the close (and may or may not want to look at other conditions at 15:58:00).  You might just need to use a time qualification with your signal on a 30 minute chart, without looking inside the last bar at all.  Example:
 
(your signal)AND (TIME=15:58:00)
 
This will only trigger at 15:58:00 if your signal is still true.  But maybe your signal was true at 15:30:01 and is no longer true?
 
If your signal might be true at 15:30:01 and become false by 15:58:00, and that is still a trade that you want, then you can use a V# to save the information from 15:30:01... and carry that fixed information forward to 15:58:00.  Example:
 
IF(TIME<15:30:01) OR (TIME>16:00:00) THEN SET (V#1,0);
IF (your signal )AND (TIME=15:30:01) THEN SET (V#1,1);
(V#1=1)AND (TIME>=15:58:01)AND TIME<16:00:00)
 
IRT is going to return true only if the last line is true. And this signal could only be true for a maximum of 2 minutes.  You could keep it true longer if you adjust the 16:00:00 reset time in the first and last lines of line of the formula.  Make sure you look at the recalc rate on the signal marker.  If it is one second that would be fine.  Anything longer than one second would be a problem.
 
Will one of these approaches get you there?
 
Dan Tillemans

From: cjderosa
Sent: Monday, November 23, 2009 3:36 PM
Subject: [LinnSoft] programming EOD

 

Is there as way to program the following?

I'm working with 30min bars. I haven an EOD rule with a signal action attached.
The signal action is triggered at the beginning of the bar (15:30:01)...30 mins from the actual end of the trading day (16:00:00).

How can i penetrate the 30 minute bar and make the signal action trip only a minute or two before the actual close of trading? (15:58:00)

Thanks
Charles



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4628 (20091122) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16053 From: "cjderosa" <chuckderosa@...>
Date: Tue Nov 24, 2009 7:40 am
Subject: Re: programming EOD
cjderosa
Offline Offline
Send Email Send Email
 
Awesome Dan.  This is great stuff and will really help.
Thanks so much!
Charles

#16054 From: "Dan Tillemans" <dtillem1@...>
Date: Tue Nov 24, 2009 1:33 pm
Subject: Re: Re: programming EOD
dantillemans
Offline Offline
Send Email Send Email
 
Glad to hear that this is going to work, and thanks for letting me know.  I agree, IRT is able to do some really great stuff with these V#s and time tokens.
 
May your longs go up and your shorts go down,
 
Dan

From: cjderosa
Sent: Tuesday, November 24, 2009 2:40 AM
Subject: [LinnSoft] Re: programming EOD

 


Awesome Dan. This is great stuff and will really help.
Thanks so much!
Charles



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4631 (20091123) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4631 (20091123) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#16055 From: Joe Zychik <joe.zychik@...>
Date: Tue Nov 24, 2009 2:57 pm
Subject: DATE:yyyymmdd
joe.zychik
Offline Offline
Send Email Send Email
 
Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306)-(CL:DATE:20090305). I could not get that to work either.

Thank you.


#16056 From: "William E. Linn" <wlinn@...>
Date: Tue Nov 24, 2009 4:54 pm
Subject: RE: DATE:yyyymmdd
ls_bill
Offline Offline
Send Email Send Email
 
 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306)-(CL:DATE:20090305). I could not get that to work either.

Thank you.


#16057 From: Joe Zychik <joe.zychik@...>
Date: Tue Nov 24, 2009 5:18 pm
Subject: Re: DATE:yyyymmdd
joe.zychik
Offline Offline
Send Email Send Email
 
I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@...>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.



#16058 From: "William E. Linn" <wlinn@...>
Date: Tue Nov 24, 2009 6:04 pm
Subject: RE: DATE:yyyymmdd
ls_bill
Offline Offline
Send Email Send Email
 
I  don't know what you mean by "DV:03/06/2009". This is not RTL syntax. Using RTL you use the raw token name, e.g. DV and when you save the formula, Investor/RT will ask you to provide a setup for the DV token. The setup is kept apart from the formula itself.
 
 
and enter a search for "RTL 101", an excellent tutorial done recently by Chad Payne. This will give you a good introduction to the RTL language. It sounds to me like you have experience with other language appropaches where the functions in the language have the parameters embedded right in the syntax. RTL takes a different approach. You write the formula using token name only and the parameters for those tokens are setup apart from the formula itself. This greatly improved the brevity and readability of the RTL expressions. For example, if you write this custom instrument:
 
(CL/DV)*100
 
and save it, Investor/RT will ask you via dialog to provide a setup for the DV token. So you give the setup 1/2/2009 and "Open". When you add this custom instrument to a chart, the indicator will show an oscillator above and below 100 indicating the ratio of each bar's price to the price at the open of 2009 trading.
 
Regards,
 
Bill

I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@linnsoft.com>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.



#16059 From: Joe Zychik <joe.zychik@...>
Date: Tue Nov 24, 2009 6:23 pm
Subject: Re: DATE:yyyymmdd
joe.zychik
Offline Offline
Send Email Send Email
 
Got it. Thanks. More dumb questions will follow. :-)


From: William E. Linn <wlinn@...>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 10:04:16 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

I  don't know what you mean by "DV:03/06/2009" . This is not RTL syntax. Using RTL you use the raw token name, e.g. DV and when you save the formula, Investor/RT will ask you to provide a setup for the DV token. The setup is kept apart from the formula itself.
 
 
and enter a search for "RTL 101", an excellent tutorial done recently by Chad Payne. This will give you a good introduction to the RTL language. It sounds to me like you have experience with other language appropaches where the functions in the language have the parameters embedded right in the syntax. RTL takes a different approach. You write the formula using token name only and the parameters for those tokens are setup apart from the formula itself. This greatly improved the brevity and readability of the RTL expressions. For example, if you write this custom instrument:
 
(CL/DV)*100
 
and save it, Investor/RT will ask you via dialog to provide a setup for the DV token. So you give the setup 1/2/2009 and "Open". When you add this custom instrument to a chart, the indicator will show an oscillator above and below 100 indicating the ratio of each bar's price to the price at the open of 2009 trading.
 
Regards,
 
Bill

I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.




#16060 From: Joe Zychik <joe.zychik@...>
Date: Tue Nov 24, 2009 6:50 pm
Subject: Re: DATE:yyyymmdd
joe.zychik
Offline Offline
Send Email Send Email
 
I entered the data into the token as you explained. I chose Mar 6, 2009, Close. Every time I insert the indicator into the custom column it comes up with the close of the last day. So I tried dv/2 with DV set for same date. It did the same thing. What's now?

Thank you.


From: William E. Linn <wlinn@...>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 10:04:16 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

I  don't know what you mean by "DV:03/06/2009" . This is not RTL syntax. Using RTL you use the raw token name, e.g. DV and when you save the formula, Investor/RT will ask you to provide a setup for the DV token. The setup is kept apart from the formula itself.
 
 
and enter a search for "RTL 101", an excellent tutorial done recently by Chad Payne. This will give you a good introduction to the RTL language. It sounds to me like you have experience with other language appropaches where the functions in the language have the parameters embedded right in the syntax. RTL takes a different approach. You write the formula using token name only and the parameters for those tokens are setup apart from the formula itself. This greatly improved the brevity and readability of the RTL expressions. For example, if you write this custom instrument:
 
(CL/DV)*100
 
and save it, Investor/RT will ask you via dialog to provide a setup for the DV token. So you give the setup 1/2/2009 and "Open". When you add this custom instrument to a chart, the indicator will show an oscillator above and below 100 indicating the ratio of each bar's price to the price at the open of 2009 trading.
 
Regards,
 
Bill

I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.




#16061 From: "cwb1014" <cwb1014@...>
Date: Wed Nov 25, 2009 3:25 am
Subject: RE: Setting Open Using Scans
cwb1014
Offline Offline
Send Email Send Email
 

Dan,

 

I'm using SET(V#1,OP) with 390 minute data, as you can see here: http://www.charthub.com/images/2009/11/24/SET_V1_TrOP.png.  I'm pretty sure that it's the only method that will yield the desired result regardless of when during the regular stock trading session (0930 – 1600) it is run.  Btw, I'm sending this via the Yahoo group to let everyone know what our collaboration on this point has yielded and to invite anyone who may have a better solution to let us know what it is.

 

Thanks again for all your help with this…


Best regards,

Cliff

 


From: Dan Tillemans [mailto:dtillem1@...]
Sent: Tuesday, November 24, 2009 12:05 PM
To: Cliff Brandt
Subject: Re: Setting Open Using Scans

 

Cliff,

 

What method did you find worked the best to extract the open price using sub-daily data? 

 

Dan


#16062 From: "Cliff Brandt" <cwb1014@...>
Date: Wed Nov 25, 2009 3:28 am
Subject: Linnsoft Yahoo Group Communication / RE: Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages
cwb1014
Offline Offline
Send Email Send Email
 

Bill,

 

I’m not sure you actually saw my message immediately below because I sent it to LinnSoft@yahoogroups.com instead of to you directly.  If you didn’t see it and could let me know the answer, that would be great.

 

Also, when a member of the Yahoo Group sends an email via a private account to LinnSoft@yahoogroups.com, is everyone in the Group who’s subscribed to receive group messages meant to receive the email or does that only happen when you send the email via the group itself?


Thank you,


Cliff

 

=========================

 

 

Right, I know DV is time based, but what I’m wondering is whether there’s a way to capture the values (O,H,L,C) of a given bar based on its position as opposed to its (ending) time.  I’m guessing there’s not, but I just wanted to be sure.  Thanks again for you help with this…

 


From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf Of wlinn@...
Sent: Sunday, November 22, 2009 9:32 PM
To: LinnSoft@yahoogroups.com
Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and Displaying Them in QuotePages

 

 

DV is time based, not position based. Investor/RT timestamps bars with the ending time of the bar. When periodicity is 5 minutes, then all trades that occur from 9:30 to 9:35 go into the 9:35 bar, all trades after that up to 9:40 go into the 9:40 ending bar, etc.

Regards,

Bill

> Bill,
>
>
>
> Thanks for the valuable information here. Can bars be referenced by their
> position also, or only be their time? This would make a difference if the
> first bar of the regular session is not the one ending at 9:35, as would
> be
> the case if the stock opens after 9:35 (it may even be the case if the
> stock
> opens after 9:30, but I’m not sure how IRT would handle this in the case
> of
> a 5 minute bar: does it terminate the first 5 minute bar at 9:35 so long
> as
> the open occurs at some point before 9:35 or does it draw the first bar
> literally as 5 minute bar, such that if the stock opens at 9:32, the first
> 5
> minute bar ends at 9:37?). In these cases, all bars subsequent to the
> actual opening bar would be shifted forward to times one would not
> ordinarily expect for them.
>
>
>
> Thanks again,
>
>
>
> Cliff
>
>
>
> cwb1014@gmail.com
>
>
>
>
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of William E. Linn
> Sent: Sunday, November 22, 2009 4:56 PM
> To: LinnSoft@yahoogroups.com
> Subject: RE: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Yes, that was a typo, I meant 9:35 and 9:40, 5 minutes after the open at
> 9:30 is the time stamp of the 1st bar and so on...
>
>
>
> _____
>
>
From: LinnSoft@yahoogroups.com [mailto:LinnSoft@yahoogroups.com] On Behalf
> Of Dan Tillemans
> Sent: Sunday, November 22, 2009 10:17 AM
> To: LinnSoft@yahoogroups.com
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
> Wow! Did not know about this token. Just ran some tests with it and it
> does the trick. I will assume that you really intended to say 9:35:00 and
> 9:40:00 to designate the 1st and 2nd 5 minute bars instead of 9:05:00 and
> 9:10:00
>
>
>
> "Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on".
>
> Thanks for the education.
>
>
>
> Dan Tillemans
>
>
>
>
From: wlinn@linnsoft. <mailto:wlinn@linnsoft.com> com
>
> Sent: Sunday, November 22, 2009 8:29 AM
>
> To: LinnSoft@yahoogroup <mailto:LinnSoft@yahoogroups.com> s.com
>
> Subject: Re: [LinnSoft] Capturing the Value of Specific Intraday Bars and
> Displaying Them in QuotePages
>
>
>
>
>
> Use the DV token to extact a specific price (OHLC) for a specific date and
> time. The date many be specificed as "Current Data". Time is set hh:mm:ss.
> Thus if the scan runs on 5 minute bars and the session opens at 9:30 use
> 9:05:00 as the time for 1st bar, 9:10:00 for 2nd bar and so on.
>
> Regards,
>
> Bill
>
>> Let's say I want to be able to capture the Open, High, Low, or Last of a
>> specific bar using real-time data at any point during the trading day,
>> want to be able to capture it for a large number of symbols (thus,
>> ruling out visual inspection of charts), and want to display the result
>> in a QuotePage containing those symbols. Thus, I might want to find the
>> High of the third 1minute bar of the Session or the Open of the fifth 3
>> minute bar of the session.
>>
>> Can this be done in IRT and, if so, how?
>>
>> Many thanks in advance for any assistance that anyone can offer here...
>>
>> Regards,
>>
>> Cliff
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 4623 (20091119) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset. <http://www.eset.com> com
>
>
>
>


#16063 From: Joe Zychik <joe.zychik@...>
Date: Wed Nov 25, 2009 4:57 pm
Subject: Re: DATE:yyyymmdd
joe.zychik
Offline Offline
Send Email Send Email
 
I guess I'm not going to get an answer to my simple question?




From: Joe Zychik <joe.zychik@...>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 10:50:08 AM
Subject: Re: [LinnSoft] DATE:yyyymmdd

 

I entered the data into the token as you explained. I chose Mar 6, 2009, Close. Every time I insert the indicator into the custom column it comes up with the close of the last day. So I tried dv/2 with DV set for same date. It did the same thing. What's now?

Thank you.


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 10:04:16 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

I  don't know what you mean by "DV:03/06/2009" . This is not RTL syntax. Using RTL you use the raw token name, e.g. DV and when you save the formula, Investor/RT will ask you to provide a setup for the DV token. The setup is kept apart from the formula itself.
 
 
and enter a search for "RTL 101", an excellent tutorial done recently by Chad Payne. This will give you a good introduction to the RTL language. It sounds to me like you have experience with other language appropaches where the functions in the language have the parameters embedded right in the syntax. RTL takes a different approach. You write the formula using token name only and the parameters for those tokens are setup apart from the formula itself. This greatly improved the brevity and readability of the RTL expressions. For example, if you write this custom instrument:
 
(CL/DV)*100
 
and save it, Investor/RT will ask you via dialog to provide a setup for the DV token. So you give the setup 1/2/2009 and "Open". When you add this custom instrument to a chart, the indicator will show an oscillator above and below 100 indicating the ratio of each bar's price to the price at the open of 2009 trading.
 
Regards,
 
Bill

I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.





#16064 From: "William E. Linn" <wlinn@...>
Date: Wed Nov 25, 2009 6:55 pm
Subject: RE: DATE:yyyymmdd
ls_bill
Offline Offline
Send Email Send Email
 
I guess I'm not going to get an answer to my simple question?

Sorry for the delay responding. Custom columns by definition, always report the value of a custom indicator at the current bar. Please do this: open the quotepage that contains this custom column, click the + button in the upper right corner and choose Export Quotepage. Email support with the file produced by this and we will check your setup here and let you know what's up.
 
Regards,
 
Bill

 

From: Joe Zychik <joe.zychik@yahoo.com>
To: LinnSoft@yahoogroups.com
Sent: Tue, November 24, 2009 10:50:08 AM
Subject: Re: [LinnSoft] DATE:yyyymmdd

 

I entered the data into the token as you explained. I chose Mar 6, 2009, Close. Every time I insert the indicator into the custom column it comes up with the close of the last day. So I tried dv/2 with DV set for same date. It did the same thing. What's now?

Thank you.


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 10:04:16 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

I  don't know what you mean by "DV:03/06/2009" . This is not RTL syntax. Using RTL you use the raw token name, e.g. DV and when you save the formula, Investor/RT will ask you to provide a setup for the DV token. The setup is kept apart from the formula itself.
 
 
and enter a search for "RTL 101", an excellent tutorial done recently by Chad Payne. This will give you a good introduction to the RTL language. It sounds to me like you have experience with other language appropaches where the functions in the language have the parameters embedded right in the syntax. RTL takes a different approach. You write the formula using token name only and the parameters for those tokens are setup apart from the formula itself. This greatly improved the brevity and readability of the RTL expressions. For example, if you write this custom instrument:
 
(CL/DV)*100
 
and save it, Investor/RT will ask you via dialog to provide a setup for the DV token. So you give the setup 1/2/2009 and "Open". When you add this custom instrument to a chart, the indicator will show an oscillator above and below 100 indicating the ratio of each bar's price to the price at the open of 2009 trading.
 
Regards,
 
Bill

I can't find the associated setup. The examples in the explanation don't explain how to set up the dv function. I tried DV:03/06/2009 and tried to input it into a custom column. All I got were zeros. Then I tried DV:03/06/2009 (CL) and got a syntax error. How do I find the syntax for your functions/tokens?


From: William E. Linn <wlinn@linnsoft. com>
To: LinnSoft@yahoogroup s.com
Sent: Tue, November 24, 2009 8:54:56 AM
Subject: RE: [LinnSoft] DATE:yyyymmdd

 

 If you want the closing price at some particular date using RTL, then use the DV token with its associated setup to specify "close" as the price you want and the date of that closing price.
 
The DATE function when used inside a custom indicator  gives you a number in the format yymmdd.x 
 
Notice that the number has a 2 digit year. Today's date would be 091124.00 or 91,124.00. Four digit years made these number too large to deal with given the seven digits of precision we have for this value internally. 
 
So if you have a custom indicator like this:
 
DATE = 91015;
 
This indicator would return 0 (FALSE) for every bar except the daily bar on Oct 15, 2009.
 
Regards,
 
Bill  

Hi,
I am trying to use the DATE: yyyymmdd function. I tried to add it to a custom column on a quote page. It would only give me 0.00

I created a custom indicator: DATE: 20090306. The function check was valid, but it would not work when I tried to use it on a custom column. I would also like to subtract one date from another, (CL:DATE:20090306) -(CL:DATE: 20090305) . I could not get that to work either.

Thank you.





Messages 16035 - 16064 of 16064   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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