Page 1 of 1

Diagonal lines from file

PostPosted: Fri Oct 20, 2017 10:13 am
by Alexander.Gettinger
Based on request: viewtopic.php?f=27&t=64557

The indicator draws diagonal lines in accordance with the data from the file.

Strings of input file must have such format:
Date1, Time1, Price1, Date2, Time2, Price2, R, G, B, Style, Size, where
Date1, Date2 - date of line points with format MM/DD/YYYY,
Time1, Time2 - time of line points with format HH:MM,
Price1, Price2 - prices of line points,
R, G, B are the components of line color,
Style, Size - style and size of the line (style may be SOLID, DOT, DASH or DASHDOT).

You may not specify color, style and width of lines. In this case, will be used by the default settings.

Download:
DrawDiagonalLines.lua
(3.36 KiB) Downloaded 207 times


Sample of input file:
DLSample.csv
(166 Bytes) Downloaded 194 times

Re: Diagonal lines from file

PostPosted: Tue Aug 07, 2018 4:52 am
by Apprentice
The Indicator was revised and updated.