Previous year high low close

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

Re: Previous year high low close

Postby zooooo » Mon Jan 22, 2018 5:19 am

Hi Apprentice,

Would it be possible to evolve this indicator in the following ways?

A. Close/High/Low of:
1. Current year
2. All previous years (Today/Historical Function)
3. Previous years up to a user define year

B. Draws rays (not segments) that would begin on each corresponding year (for each year close/high/low) and extend indefinitely to the right.

Many thanks
zooooo
 
Posts: 7
Joined: Mon Jan 22, 2018 5:05 am

Re: Previous year high low close

Postby Apprentice » Tue Jan 23, 2018 7:22 am

Your request is added to the development list under Id Number 4018
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Previous year high low close

Postby Apprentice » Wed Jan 24, 2018 5:34 am

Try this version.
Previous year high low close.lua
(8.57 KiB) Downloaded 522 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Previous year high low close

Postby zooooo » Fri Jan 26, 2018 6:44 am

Hi Apprentice,

A. For this last version of this indicator, is it possible to:
1. Add the Open.
2. Add the possibility to choose to draw High/Low and/or Close and/or Open.

B. It seems there is a bug with the Historical function.
When selecting a time frame inferior to Monthly (which is the highest available), the High and Low of the current year are drawn.

Many thanks
zooooo
 
Posts: 7
Joined: Mon Jan 22, 2018 5:05 am

Re: Previous year high low close

Postby Apprentice » Fri Jan 26, 2018 11:55 am

Your request is added to the development list under Id Number 4028
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Previous year high low close

Postby Apprentice » Mon Jan 29, 2018 8:09 am

Previous year high low close.lua
(10.35 KiB) Downloaded 518 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Previous year high low close

Postby zooooo » Mon Jan 29, 2018 9:28 am

Apprentice wrote:
Previous year high low close.lua

Try this version.


Hi Apprentice,

In this last version, it is not the Year Open (January), but the December Open that is drawn.
Could you make the correction please.

Thank you.
zooooo
 
Posts: 7
Joined: Mon Jan 22, 2018 5:05 am

Re: Previous year high low close

Postby zooooo » Thu Feb 08, 2018 12:48 am

Hi Apprentice,

There is a huge problem with this indicator, it doesn’t show on smaller time frames. One has to go back in the chart windows to make it appear which is impracticable in very small time frames (5 min, 15 min) and even in the daily time frame it is a problem because the indicator doesn’t show automatically all the older yearly levels.

Would it be possible to solve this problem?

Thank you
zooooo
 
Posts: 7
Joined: Mon Jan 22, 2018 5:05 am

Re: Previous year high low close

Postby Apprentice » Thu Feb 08, 2018 6:33 am

Unfortunately, i cannot fix this.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Previous year high low close

Postby zooooo » Mon Feb 19, 2018 6:29 am

Hi Apprentice,

To solve this problem, is it be possible to:
1. Draw rays for specific dates and prices using the yearly high/low/close data in an external file?
2. Export the yearly high/low/close data from a chart to an external file?

Kind regards
zooooo
 
Posts: 7
Joined: Mon Jan 22, 2018 5:05 am

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 52 guests