Signal Marker Dates and Times read from External File

Login or Register

Please login or register in order to view and post in the Forum.

5 posts / 0 new
Last post
davidskalak
Last seen: 2 years 4 months ago
Joined: 02/07/2012 - 00:00
Signal Marker Dates and Times read from External File

I have an automatically produced csv file with dates and times.
For example:

date,time
20171206,1430
20171207,1030
[...]

I want to put signal markers on the bar containing each date and time.
There may be 10s or potentially 100s of signal markers.

I'm creating a script to take this file as input and produce a second file
that contains the IRT code for a signal.

(DATE=20171206 and TIME=1430) or (DATE = 20171207 and TIME = 1030) [or ... ]

I then paste that code into the IRT Signal definition and save it.

This works to put a signal marker at each date and time, but it's a little awkward and feels a little naive.

Can anyone suggest a better way?

0
davidskalak
Last seen: 2 years 4 months ago
Joined: 02/07/2012 - 00:00
The approach I described in my original post doesn't work.

There is a limit of 1249 characters on the length of the RTL code in the Signal definition box.

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Boundaries

Have you taken a look at the Boundaries RTX Indicator...

https://www.linnsoft.com/techind/boundaries-rtx

I think that will give you just what you're looking for.  A csv file will maintain your date/times.  You can adjust these within your chart, or go edit the csv file manually if you wish.

That will reduce your Signal syntax to...

RTX = 1

That short enough :)

davidskalak
Last seen: 2 years 4 months ago
Joined: 02/07/2012 - 00:00
Boundaries worked for me here

Chad, Thank you for the pointer to the Boundaries RTX indicator, which I had not known about.
It's an indicator with lots of potential uses. For me, I can flag the beginning and end of potential trades
for a fast way to eyeball the entries and exits of a trading system.
I couldn't find any information on the format of the associated .csv file, but once I discovered the format:
datetime, UTC or LOCAL, positive integer
I was good to go --- thanks again.

cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Boundaries Location

Great.  And you may have already discovered that the csv files are now being stored in the

/InvestorRT/rtx/lsBoundaries/

instead of...

/Investor/RT/admin/