Page 4 of 10 FirstFirst ... 2 3 4 5 6 ... LastLast
Results 31 to 40 of 99
Like Tree47Likes

Advanced Parabolic SAR

This is a discussion on Advanced Parabolic SAR within the Trading tools forums, part of the Trading Forum category; Originally Posted by msepn77 Hello Igorad, Thanks for the advanced parabolic sar indicator. Can you code it as a simple ...

      
   
  1. #31
    igorad
    Guest
    Quote Originally Posted by msepn77 View Post
    Hello Igorad,

    Thanks for the advanced parabolic sar indicator. Can you code it as a simple histogram? If candles are above advanced parabolic sar indicator, the indicator plotting blue color, if candles are below advanced parabolic sar indicator, the indicator plotting red color.

    Thank you very much.
    Hi msepn77,

    Please check out the AdvancedParabolic Histo indicator which looks as a simple histogram.

    Code:
    extern int     TimeFrame         =     0;   //TimeFrame in min
    extern int     Price             =     0;   //Price Mode (0...6)
    extern int     HiLoMode          =     0;   //0-off,1-on 
    extern double  StartAF           =  0.02;   //Start value of Acceleration Factor
    extern double  Step              =  0.02;   //Acceleration Factor increment 
    extern double  MaxAF             =   0.2;   //Maximum value of Acceleration Factor   
    extern double  Filter            =   0.0;   //Filter in pips
    extern double  MinChange         =   0.0;   //Min Change in pips  
    extern double  IndicatorValue    =     1;   // Indicator Value (ex.1.0)
    
    extern string  alerts            = "--- Alerts & Emails ---";
    extern int     AlertMode         =     0;
    extern int     SoundsNumber      =     5;    //Number of sounds after Signal
    extern int     SoundsPause       =     5;    //Pause in sec between sounds 
    extern string  UpSound           = "alert.wav";
    extern string  DnSound           = "alert2.wav";
    extern int     EmailMode         =     0;    //0-on,1-off   
    extern int     EmailsNumber      =     1;    //0-on,1-off

    Regards,
    Igor
    Attached Files Attached Files
    Dormi and Dreambig like this.

  2. #32
    Junior Member
    Join Date
    Apr 2013
    Posts
    22
    Hello Igor, I think you have attached the original indicator which are dots. (checked it and it shows psar as dots)

    Can you reattach the histogram version please?

  3. #33
    igorad
    Guest
    Quote Originally Posted by msepn77 View Post
    Hello Igor, I think you have attached the original indicator which are dots. (checked it and it shows psar as dots)

    Can you reattach the histogram version please?
    Oops, sorry, the histo version uploaded.

  4. #34
    Junior Member
    Join Date
    Apr 2013
    Posts
    22
    Hello Igor,

    I compared Advanced Parabolic V2 with Advanced Parabolic V2.1 Histo. There seems to be a problem with the coding. With every parameter the same, the indicators sometimes change color on different candles. Can you please check? Thank you.

  5. #35
    igorad
    Guest
    Quote Originally Posted by msepn77 View Post
    Hello Igor,

    I compared Advanced Parabolic V2 with Advanced Parabolic V2.1 Histo. There seems to be a problem with the coding. With every parameter the same, the indicators sometimes change color on different candles. Can you please check? Thank you.
    Hi msepn77,

    Please use the AdvancedParabolic_v2.1 only.

    Regards,
    Igor

  6. #36
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    Just want to share here another Parabolic SAR Colors indicator made by kalenzo many years ago. This old SAR have 2 colors, alert available and multi timeframe.

    Advanced Parabolic SAR-eurusdm5.png
    Attached Files Attached Files
    newdigital likes this.

  7. #37
    igorad
    Guest
    Quote Originally Posted by matfx View Post
    Just want to share here another Parabolic SAR Colors indicator made by kalenzo many years ago. This old SAR have 2 colors, alert available and multi timeframe.
    Hi matfx,

    Just want to inform this Parabolic is based on the built-in MT4 function, which has a bug.

    Regards,
    Igor

  8. #38
    Senior Member matfx's Avatar
    Join Date
    Sep 2013
    Location
    Malaysia
    Posts
    1,178
    Blog Entries
    114
    Follow matfx On Twitter
    Quote Originally Posted by igorad View Post
    Hi matfx,

    Just want to inform this Parabolic is based on the built-in MT4 function, which has a bug.

    Regards,
    Igor
    Thanks Igor. But i'm not a good coder, maybe you can correct it.

  9. #39
    igorad
    Guest
    Quote Originally Posted by matfx View Post
    Thanks Igor. But i'm not a good coder, maybe you can correct it.
    Sorry, but this is impossible to fix the built-in MT4 indicators and functions.

  10. #40
    igorad
    Guest

    Adaptive Parabolic SAR

    Hi,

    Please take a look at the Adaptive Parabolic SAR indicator where the Acceleration Factor increment is adaptive to market conditions and can vary between MinStep and MaxStep values.

    Code:
    extern int     TimeFrame         =     0;   //TimeFrame in min
    extern int     Price             =     0;   //Price Mode (0...6)
    extern int     HiLoMode          =     0;   //0-off,1-on 
    extern double  StartAF           =  0.02;   //Start value of Acceleration Factor
    extern double  MinStep           =  0.00;   //Minimum Acceleration Factor increment 
    extern double  MaxStep           =  0.02;   //Maximum Acceleration Factor increment 
    extern double  MaxAF             =   0.2;   //Maximum value of Acceleration Factor   
    extern int     AdaptiveMode      =     1;   //0-off,1-Kaufman,2-Ehlers
    extern int     AdaptiveSmooth    =     5;   //Adaptive Smoothing Period 
    extern double  Filter            =   0.0;   //Filter in pips
    extern double  MinChange         =   0.0;   //Min Change in pips  
    extern int     SignalMode        =     1;   //SignalMode: 0-only Stops,1-Signals & Stops
    
    extern string  alerts            = "--- Alerts & Emails ---";
    extern int     AlertMode         =     1;
    extern int     SoundsNumber      =     5;    //Number of sounds after Signal
    extern int     SoundsPause       =     5;    //Pause in sec between sounds 
    extern string  UpSound           = "alert.wav";
    extern string  DnSound           = "alert2.wav";
    extern int     EmailMode         =     0;    //0-on,1-off   
    extern int     EmailsNumber      =     1;    //0-on,1-off
    Attachment 3102

    On the picture you can see 2 versions: adaptive(Blue-Red) and non-adaptive(Green-Pink).


    Regards,
    Igor
    matfx, newdigital, Fmfx and 9 others like this.

Page 4 of 10 FirstFirst ... 2 3 4 5 6 ... 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
  •