Page 2 of 3

Re: Candle Range

PostPosted: Wed Sep 28, 2016 3:50 pm
by Apprentice
Your request is added to the development list, Under Id Number 3640
If someone is interested to do this task, please contact me.

Re: Candle Range

PostPosted: Mon Oct 10, 2016 1:15 pm
by shortbutlucky
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

Re: Candle Range

PostPosted: Tue Oct 11, 2016 3:11 am
by Apprentice
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];

Re: Candle Range

PostPosted: Fri Oct 14, 2016 9:16 am
by chipsoft
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 :) :)

Re: Candle Range

PostPosted: Tue Oct 18, 2016 7:12 am
by Apprentice
Candle Range Envelop.lua added.

Re: Candle Range

PostPosted: Wed Dec 14, 2016 2:25 pm
by chipsoft
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
:)

Re: Candle Range

PostPosted: Fri Dec 16, 2016 5:16 am
by Apprentice
Try it now.

Re: Candle Range

PostPosted: Sun Jan 01, 2017 7:47 pm
by chipsoft
Thanks very much apprentice. Great Job. :D :D
Another request...kindly convert this indicator for MT4 also.

Regards
:)

Re: Candle Range

PostPosted: Mon Jan 02, 2017 9:02 am
by chipsoft
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
:)

Re: Candle Range

PostPosted: Sat Jan 07, 2017 8:37 am
by Apprentice
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.