Premium3 468x60 forex
Page 28 of 28 FirstFirst ... 18 26 27 28
Results 271 to 278 of 278
Like Tree68Likes

AllAverages

This is a discussion on AllAverages within the Trading tools forums, part of the Trading Forum category; Originally Posted by Eris Hi Igor, What is "trendBiased" in the price settings? I would like to know what variable ...

          
   
  1. #271
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    1,986
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Quote Originally Posted by Eris View Post
    Hi Igor, What is "trendBiased" in the price settings? I would like to know what variable are used.

    Thank you
    Hi Eris,

    The formula of the Trend Biased price is:

    if(Close > Open) tbprice=(High + Close)/2 else tbprice=(Low + Close)/2

    Regards,
    Igor
    Eris likes this.

  2. #272
    Junior Member
    Join Date
    Aug 2013
    Posts
    13
    Hello Igor,

    Would it be possible to add an option to the AllAveragesConsensus so that it only recalculates once per bar.

    Current version could be CalCEveryTick = True.
    False would calculate the values for the last bar when a new bar starts.

    It would be really appreciated.

    Many thanks

    MantaDiver

  3. #273
    Member
    Join Date
    Jun 2015
    Posts
    65
    Hello Igor,
    How do I fix the following message: "array out of range in AllAverages_..."

    The settings are:

    AllAverages-array.png


    Thank you

  4. #274
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,416
    Blog Entries
    1167
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by Eris View Post
    Hello Igor,
    How do I fix the following message: "array out of range in AllAverages_..."
    ...
    Seems, need more history for this pair on the chart.
    Anyway, I passed this question to Igor (because he is the coder and he should know more).
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || Social networks for the forum
    Trading blogs || My blog

  5. #275
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    1,986
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Quote Originally Posted by Eris View Post
    Hello Igor,
    How do I fix the following message: "array out of range in AllAverages_..."

    The settings are:

    Click image for larger version. 

Name:	array.PNG 
Views:	27 
Size:	9.0 KB 
ID:	33425


    Thank you
    Hi Eris,

    Just change the line #176 in the code:

    was: limit = MathMin(Bars - 1,(cBars + ma_period)*timeframe/Period());

    should be: limit = MathMin(Bars - 2,(cBars + ma_period)*timeframe/Period());


    Rtgards,
    Igor

  6. #276
    Member
    Join Date
    Jun 2015
    Posts
    65
    Quote Originally Posted by igorad View Post
    Hi Eris,

    Just change the line #176 in the code:

    was: limit = MathMin(Bars - 1,(cBars + ma_period)*timeframe/Period());

    should be: limit = MathMin(Bars - 2,(cBars + ma_period)*timeframe/Period());


    Rtgards,
    Igor
    Thank you Igor!

  7. #277
    Junior Member
    Join Date
    Nov 2018
    Posts
    1
    is there anyone who has the source code for the version 8.8 of this indicator ? i found the ex4 file at forexfactory but am looking for the source code.. ill paypal someone $25 bucks if they have it and an example if the iCustom string to use it so i dont have to muddle through the syntax.

  8. #278
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,416
    Blog Entries
    1167
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by Joncolby View Post
    is there anyone who has the source code for the version 8.8 of this indicator ? i found the ex4 file at forexfactory but am looking for the source code.. ill paypal someone $25 bucks if they have it and an example if the iCustom string to use it so i dont have to muddle through the syntax.
    version 8.8?
    as far as I know - the latest version of AllAverages indicator is AllAverages_v4.6 600+ on this post for MT4 and on this post for MT5.

    as to version 8.8 so I think you need to go back to forex-factory forum (because we do not have 8.8 here sorry).
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || Social networks for the forum
    Trading blogs || My blog

Page 28 of 28 FirstFirst ... 18 26 27 28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •