Candle Range

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: Candle Range

Postby Apprentice » Wed Sep 28, 2016 3:50 pm

Your request is added to the development list, Under Id Number 3640
If someone is interested to do this task, please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Candle Range

Postby shortbutlucky » Mon Oct 10, 2016 1:15 pm

Hi Apprentice,

This is an awesome indicator. I'm trying to recall the data in one of my strategies, but it always seems to show up as nil. Any guidance?

in Prepare()...
Average_Bar_Change = core.indicators:create("Candle Range", SRC, "Open/Close", "LWMA", Check_Period);

in ExtUpdate()...
Average_Bar_Change:update();
Average_Bar_Change_DATA = Average_Bar_Change.DATA;


-Robby
shortbutlucky
 
Posts: 8
Joined: Thu Jul 07, 2016 11:24 am

Re: Candle Range

Postby Apprentice » Tue Oct 11, 2016 3:11 am

Try this
Average_Bar_Change_DATA = Average_Bar_Change.DATA[period];
or
Average_Bar_Change_DATA = Average_Bar_Change.DATA[ Average_Bar_Change.DATA:size()-1];
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Candle Range

Postby chipsoft » Fri Oct 14, 2016 9:16 am

This is fantastic indicator. Kindly add up the facility to draw % of Average above and below the Average line. e.g. Suppose I want to have +150% and -75% envelop around Average line so this indicator have that option. Also along with this kindly change the color of the bars that satisfy those parameters.
Kindly develop the same indicator for MT4 also.

Regards :) :)
chipsoft
 
Posts: 53
Joined: Thu Apr 28, 2016 5:41 am

Re: Candle Range

Postby Apprentice » Tue Oct 18, 2016 7:12 am

Candle Range Envelop.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Candle Range

Postby chipsoft » Wed Dec 14, 2016 2:25 pm

Hi Apprentice,
Kindly make some amendment in Candle Range Envelop indicator.

1. Kindly provide different selection options for Up% and down %. In the present form if I select 50% then the envelop will become 50% above and below so equal % added and subtracted from the Signal value. Kindly amend formula so if I need x% for and y% for lower then it will calculate as: the
upper envelop line= Mean+ x%
Lower envelop line= Mean-y%
Hope you understand

2. Kindly also change the colour options also. All the bars that closes above upper envelop line has one colour say Blue. All the bars closes below lower envelop line has one color say: Pink and remaining bars has one colour say Grey.

Thanks
:)
chipsoft
 
Posts: 53
Joined: Thu Apr 28, 2016 5:41 am


Re: Candle Range

Postby chipsoft » Sun Jan 01, 2017 7:47 pm

Thanks very much apprentice. Great Job. :D :D
Another request...kindly convert this indicator for MT4 also.

Regards
:)
chipsoft
 
Posts: 53
Joined: Thu Apr 28, 2016 5:41 am

Re: Candle Range

Postby chipsoft » Mon Jan 02, 2017 9:02 am

Hi apprentice, i am requesting for further one more addition in the Candle range envelop indicator. Kindly add N number of periods to calculate the candle range. What this mean is...if I select N=5 this mean I want indicator to calculate previous 5 period range including the current period for calculations of its results. Hope you understand and make this addition to this powerful indicator.

Regards
:)
chipsoft
 
Posts: 53
Joined: Thu Apr 28, 2016 5:41 am

Re: Candle Range

Postby Apprentice » Sat Jan 07, 2017 8:37 am

Your request is added to the development list, Under Id Number 3707
If someone is interested to do this task, please contact me.

Will this be presented as moving average of last N periods.
Or as Candle (High / Low / Open / Close) of last N periods.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 47 guests