Page 4 of 6

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Mon Nov 09, 2015 5:48 am
by dandee
Apprentice wrote:Your request is added to the development list.

Thanks :P

Re: Automatic Levels Indicator (Fibonacci, Gann)

PostPosted: Tue Dec 08, 2015 11:59 am
by dandee
Is there a way toturn this into a strategy where it would open a position on retracing to a level example open buy/sell when price retrace to 0.618?


Nikolay.Gekht wrote:I'm afraid that complex settings of the indicators will dramatically reduce the easiness of usage. However, anyone can create their own version of the indicator.

It is very easy to change the indicator to support these levels as you wish. Below is a part of the indicator which is responsible for the levels. I also added a lot of comment which explain how you can change them. Just find this code in the indicator and make any changes.

Code: Select all
function CalcLevels()
    levels = {};
    index = {};
    if M == "F" then
        --- here is all possible levels for the fibonacci.
        --- The number inside the square bracket is a number of the line,
        --- the value after = is the level.
        --- You can change the value of the level to any level you wish.
        levels[1] = -0.236;
        levels[2] = 0;
        levels[3] = 0.236;
        levels[4] = 0.382;
        levels[5] = 0.5;
        levels[6] = 0.618;
        levels[7] = 0.764;
        levels[8] = 1;
        levels[9] = 1.272;
        --- here is lists of levels for 3, 5, 7 and 9 lines. You can select any other levels if you wish
        index["3"] = {4, 5, 6};
        index["5"] = {2, 4, 5, 6, 8};
        index["7"] = {2, 3, 4, 5, 6, 7, 8};
        index["9"] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
    else
        --- here is all possible levels for the gann. You can change them exactly like the fibonacci levels
        levels[1] = 0;
        levels[2] = 0.125;
        levels[3] = 0.25;
        levels[4] = 0.375;
        levels[5] = 0.5;
        levels[6] = 0.625;
        levels[7] = 0.75;
        levels[8] = 0.875;
        levels[9] = 1;
        index["3"] = {3, 5, 7};
        index["5"] = {1, 3, 5, 7, 9};
        index["7"] = {1, 3, 4, 5, 6, 7, 9};
        index["9"] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
    end
end

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Thu Dec 10, 2015 6:18 am
by Apprentice
Sure.

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Fri Dec 11, 2015 11:21 am
by dandee
Apprentice wrote:Sure.

Hi there, can you cancel my request to turn this into a strategy, I've just found the highly adaptable pivot strategy which should do what I want it to do (hopefully) :P

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Sat Aug 06, 2016 10:03 am
by Cactus
May you add a version of this where it gives output streams for the levels? For use with strategies. So that each periods has "0.382","0.618" etc levels with a price next to it after clicking the chart.

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Mon Aug 08, 2016 3:06 am
by Apprentice
Your request is added to the development list, Under Id Number 3587
If someone is interested to do this or any task other from list please contact me.

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Fri Dec 23, 2016 2:20 pm
by Paul W
very handy

if you get the chance

could you include a transparency feature - would like to push indicator into the background on the technicals chart I use

thanks

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Fri Apr 28, 2017 9:07 pm
by Cactus
Cactus wrote:May you add a version of this where it gives output streams for the levels? For use with strategies. So that each periods has "0.382","0.618" etc levels with a price next to it after clicking the chart.

Bump

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Thu May 18, 2017 9:29 am
by Cactus
Ok forget the output streams. Can you make a "period" parameter similar to what is in "ZigZag with output" indicator, which would shift the fibonacci retracement x periods back? So that we can see historical levels too?

Re: [Upd Oct, 08] Automatic Levels Indicator (Fibonacci, Gan

PostPosted: Sat May 20, 2017 8:31 am
by Apprentice
AUTOLEV3.lua added
As it is all versions have last candle as reference.