Premium2 468x60 forex
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 21
Like Tree7Likes

AllAbsoluteDifference

This is a discussion on AllAbsoluteDifference within the Trading tools forums, part of the Trading Forum category; Hi all, Please check out one more tool from the AbsoluteStrength Family - AllAbsoluteDifference_v2. This indicator represents the difference between ...

          
   
  1. #1
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,069
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin

    AllAbsoluteDifference

    Hi all,

    Please check out one more tool from the AbsoluteStrength Family - AllAbsoluteDifference_v2. This indicator represents the difference between Bullish and Bearish strengths and looks like an alternative to MACD. But unlike MACD it have overbought/oversold levels as in RSI or Stochastic.

    Code:
    extern int     TimeFrame         =     0;    // TimeFrame in min
    extern int     MathMode          =     0;    // Math method: 0-RSI;1-Stoch;2-DMI;3-MACD 
    extern int     Price             =     0;    // Price = 0...10 (see List of Prices)
    extern int     Length            =    10;    // Period of evaluation
    extern int     PreSmooth         =     1;    // Period of PreSmoothing
    extern int     Smooth            =    10;    // Period of smoothing
    extern int     Signal            =     3;    // Period of Signal Line
    extern int     MA_Method         =     3;    // See list above
    extern int     LevelsMode        =     0;    // Levels Mode: 0-Standard OverBought/OverSold 
                                                 //              1-StdDev Bands
                                                 //              2-High/Low Channel
    extern double  OverboughtLevel   =    90;    // Overbougt Level (ex.70)
    extern double  OversoldLevel     =    10;    // Oversold Level (ex.30)
    extern int     LookBackPeriod    =    30;    // LookBack Period for LevelsMode=1,2 
    extern double  UpperMultiplier   =     1;    // Upper Band Multiplier for LevelsMode=1 
    extern double  LowerMultiplier   =     1;    // Lower Band Multiplier for LevelsMode=1

    AllAbsoluteDifference-alldiff_2.gif


    Regards,
    Igor


    UPDATES:

    2013.04.22 - version v2.1: 1 minor bug fixed.
    Attached Files Attached Files
    Gus4x and secretcode like this.

  2. #2
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    9,755
    Blog Entries
    1461
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    I think - it may be good indicator for exit - it is example with Tenkan Kijun Senkou Span B Trading system here:

    AllAbsoluteDifference-usdchf-h1-alpari-nz-limited-good-exit.png

  3. #3
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,069
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Important: Please download fixed version v2.1.

  4. #4
    Junior Member
    Join Date
    Mar 2013
    Posts
    19
    Hi igorad.

    Could you please add alarms when the "Difference" line cross the zero line (similar to the alarms of "AllAveragesCrossover_v1.1")?

    Thanks in advance.

  5. #5
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,069
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Hi Gus4x,

    Please check out the updated AllAbsoluteDifference_v2.2 with advanced sound alerts.

    Regards,
    Igor
    Attached Files Attached Files
    Dr.Fox likes this.

  6. #6
    Junior Member
    Join Date
    Mar 2013
    Posts
    19
    Many thanks.

  7. #7
    Member
    Join Date
    Oct 2013
    Posts
    40
    Hi, ever when I want to set MathMode to 3-MACD, the AllAbsoluteDifference_v2.1 indicator is disappearing, just a empty window (all other is set to default). Any idea?
    In the code I see nothing related to MACD.

    switch(MathMode)
    {
    case 0 : math_name = "RSI"; break;
    case 1 : math_name = "Stoch"; break;
    case 2 : math_name = "DMI"; break;
    }
    Last edited by Gods_Clown; 11-19-2013 at 06:55 AM.

  8. #8
    Developer igorad's Avatar
    Join Date
    Feb 2013
    Posts
    2,069
    Follow igorad On Twitter Add igorad on Facebook Add igorad on Google+
    Add igorad on Linkedin
    Quote Originally Posted by Gods_Clown View Post
    Hi, ever when I want to set MathMode to 3-MACD, the AllAbsoluteDifference_v2.1 indicator is disappearing, just a empty window (all other is set to default). Any idea?
    In the code I see nothing related to MACD.

    switch(MathMode)
    {
    case 0 : math_name = "RSI"; break;
    case 1 : math_name = "Stoch"; break;
    case 2 : math_name = "DMI"; break;
    }
    Sorry but the MACD mode is absent in this version.

    Regards,
    Igor

  9. #9
    Senior Member levonisyas's Avatar
    Join Date
    Sep 2013
    Location
    Türkiye
    Posts
    121
    Hi Gods_Clown
    Just try this one, perhaps helpful.
    Not like the igorad coding style but another interpretation and results are ok.

    !000-MACDDIFF.ex4
    Last edited by levonisyas; 11-19-2013 at 09:27 PM.

  10. #10
    Member
    Join Date
    Oct 2013
    Posts
    40
    @Igor: I understand. I was just a little confused, because in the settings it looks like MACD would be possible.

    MathMode = 0; // Math method: 0-RSI;1-Stoch;2-DMI;3-MACD

    Will You add it to next version?

    @levonisyas: thx I will try it.

Page 1 of 3 1 2 3 LastLast

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
  •