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?
There is a limit of 1249 characters on the length of the RTL code in the Signal definition box.
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 :)
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.
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/