Vertical 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

Vertical lines from file

Postby Alexander.Gettinger » Wed Mar 21, 2012 8:56 am

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

Strings of input file must have such format:
[Date] [Time] [R] [G] [B] [Style] [Size] [Name], where
Date - date of line with format MM/DD/YYYY,
Time - time of line with format HH:MM,
R, G, B are a components of line color,
Style, Size - style and size of line (style may be SOLID, DOT, DASH or DASHDOT),
Name - name of line.

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

Download:
DrawVerticalLines.lua
(4.84 KiB) Downloaded 792 times


Sample of input file:
VLSample.csv
(83 Bytes) Downloaded 697 times


The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Vertical lines from file

Postby Rachid » Tue Jun 26, 2012 12:54 pm

Hi,
Very nice Job Alexander :)

Is it possible to determine the height of the lines? for example EUR/USD between 1.20000 & 1.30000.

the price levels should be in the file too.

Thank you.
Rachid
 
Posts: 16
Joined: Thu Jan 06, 2011 2:33 pm

Re: Vertical lines from file

Postby Apprentice » Wed Jun 27, 2012 4:34 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27248
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Vertical lines from file

Postby Alexander.Gettinger » Mon Jul 02, 2012 2:45 pm

The indicator with start and end prices of line.

Strings of input file must have such format:
[Date] [Time] [StartPrice] [EndPrice] [R] [G] [B] [Style] [Size] [Name], where
Date - date of line with format MM/DD/YYYY,
Time - time of line with format HH:MM,
StartPrice - start price of line,
EndPrice - end price of line,
R, G, B are a components of line color,
Style, Size - style and size of line (style may be SOLID, DOT, DASH or DASHDOT),
Name - name of line.

Download:
DrawVerticalLines2.lua
(5.14 KiB) Downloaded 681 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Vertical lines from file

Postby Apprentice » Tue Apr 04, 2017 6:13 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27248
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 11 guests