Diagonal lines from file

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Diagonal lines from file

Postby Alexander.Gettinger » Fri Oct 20, 2017 10:13 am

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 638 times


Sample of input file:
DLSample.csv
(166 Bytes) Downloaded 594 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Diagonal lines from file

Postby Apprentice » Tue Aug 07, 2018 4:52 am

The Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Majestic-12 [Bot] and 44 guests