Time of a candle

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

Time of a candle

Postby Apprentice » Fri Jan 06, 2012 5:34 am

Time of a candle.png

This simple indicator, draw three vertical lines at specified times.
Time of a candle.lua
(4.77 KiB) Downloaded 1258 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby Apprentice » Sat Jan 14, 2012 6:51 am

Candle LookBack Period.png

This simple indicator, draw three vertical lines at specified period Back or Onward from the current period.
Candle LookBack Period.lua
(4.71 KiB) Downloaded 783 times


If you want to draw line in the future, use a negative period.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby Apprentice » Thu Feb 09, 2012 4:18 pm

Slope.png

I have added a few requested features.
Now you can draw, Slope line, from one vertical line medina, to another
Time of a candle.lua
(7.76 KiB) Downloaded 775 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby nazaar » Fri Mar 09, 2012 11:48 am

Hi apprentice, how are you?

I have seen a few tools here which draw lines based on a selected hour, like the 2 tools above.

Is it possible to draw lines by day of the week and by day of the week plus a selected hour? For example, draw a vertical line for Sunday 17:00 or Monday 09:00?

thanks in advance.
nazaar
FXCodeBase: Initiate
 
Posts: 178
Joined: Fri May 27, 2011 2:21 pm
Location: Ontario, Canada

Re: Time of a candle

Postby Apprentice » Sun Mar 11, 2012 4:55 am

Better, and I took a couple of days of sick leave.
Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby nazaar » Mon Mar 12, 2012 11:47 am

Hi Apprentice, good to hear you're doing better.

to be able to draw the vertical line by day of the week, would you need to start over or can it be created by changing a few lines on the current coding? If yes, which line?

thanks.
nazaar
FXCodeBase: Initiate
 
Posts: 178
Joined: Fri May 27, 2011 2:21 pm
Location: Ontario, Canada

Re: Time of a candle

Postby Apprentice » Tue Mar 13, 2012 3:05 am

Change is not complicated.
But I have to add a few new things.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby Apprentice » Tue Mar 13, 2012 3:59 am

Time of a candle.png

Week of Day option added.
Time of a candle.lua
(8.49 KiB) Downloaded 745 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Time of a candle

Postby nazaar » Tue Mar 13, 2012 7:50 pm

thanks very much apprenctice. it looks and works very well.

could you add Sunday? I like to draw weekly vertical lines on the 4 hour chart starting with the open of the market on Sunday.

thanks very much!
nazaar
FXCodeBase: Initiate
 
Posts: 178
Joined: Fri May 27, 2011 2:21 pm
Location: Ontario, Canada

Re: Time of a candle

Postby Apprentice » Wed Mar 14, 2012 2:49 am

Sunday Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Majestic-12 [Bot], Yahoo [Bot] and 11 guests