Results 31 to 40 of 60
Like Tree28Likes

PriceChannel_Stop

This is a discussion on PriceChannel_Stop within the Trading tools forums, part of the Trading Forum category; Hi All, Please take a look at the latest version of PriceChannel_Stop indicator, the first version of which was developed ...

      
   

Threaded View

Guest PriceChannel_Stop 05-13-2013, 03:02 PM
newdigital This version of... 05-14-2013, 09:20 AM
Guest Important: MT5 version added... 05-14-2013, 01:33 PM
newdigital Just for the history - this... 08-06-2013, 02:53 PM
newdigital I think - we can use... 01-10-2014, 08:03 AM
Guest Hi, Please check out the... 01-14-2014, 09:47 AM
mosiskv Hi Igor Thanks for the... 01-14-2014, 03:47 PM
newdigital PriceChannel_Stop_v9ea... 02-28-2014, 09:04 AM
Guest Hi, Please check out the... 04-11-2014, 09:34 AM
agungp Hi Igor, Thanks for this... 05-17-2014, 01:53 PM
Guest Hi agungp, Please check... 05-21-2015, 09:38 AM
thor68 Can you update this with... 01-18-2018, 09:54 AM
miorazmai Good indicator 03-22-2017, 10:34 AM
Victorious Hi, Could you please... 09-29-2015, 01:58 AM
newdigital Programming logic or trading... 09-29-2015, 06:17 AM
Victorious Thank you for the above... 09-29-2015, 06:43 AM
Guest Hi Victor, The... 09-29-2015, 09:21 AM
newdigital I think Igorad will reply.... 09-29-2015, 07:12 AM
Victorious @ Newdigital and Igorad, ... 09-29-2015, 01:48 PM
Guest Hi Victor, There are 2... 09-29-2015, 04:18 PM
Victorious Thank you very much for your... 09-29-2015, 05:53 PM
Guest Hi, Please check out the... 10-28-2016, 08:29 AM
optionhk Hi Igor and ND, Is this... 11-24-2016, 12:11 PM
newdigital Yes, look at the first post... 11-24-2016, 01:12 PM
Highfield This is what I see using... 08-11-2017, 11:33 AM
newdigital But there are few other... 08-11-2017, 12:20 PM
newdigital Yes, it may be 9.2 or 9.3... 08-11-2017, 12:17 PM
Highfield Ah yes! I see what it is... 08-11-2017, 10:10 PM
Highfield This is a fine bit of coding!... 08-15-2017, 03:56 PM
newdigital It was some old EA based on... 08-16-2017, 05:25 AM
Highfield If you do find it I would... 08-16-2017, 09:02 AM
Highfield PriceChannel_Stopv9.3... 09-13-2017, 03:46 PM
newdigital I reported to Igorad so hope... 09-13-2017, 07:36 PM
Guest Hi Highfield, It's strange... 09-14-2017, 06:30 AM
Highfield FXOpen ECN is my broker. I... 09-14-2017, 10:38 AM
newdigital Those questions are for... 01-21-2018, 11:51 AM
Guest Hi Jag, Thanks a lot for... 05-30-2018, 06:28 AM
jagadish123 Great Thanks Igor, this is... 05-30-2018, 11:28 AM
rogeriob28 Igor, The... 08-01-2019, 12:23 AM
newdigital I fixed it and re-uploaded to... 08-01-2019, 04:27 AM
euro_rapp Is it possible to program a... 02-02-2020, 04:07 PM
Guest Hi euro_rapp, The Donchian... 02-03-2020, 11:43 AM
CrashhGuru Dear Igor, I would like to... 09-11-2020, 03:16 PM
mql5 PriceChannel_Signal_v2 EA 04-18-2022, 11:21 AM
mql5 How to create a custom... 06-07-2023, 02:23 PM
  1. #1
    igorad
    Guest

    PriceChannel_Stop

    Hi All,

    Please take a look at the latest version of PriceChannel_Stop indicator, the first version of which was developed for MT3 in 2005.
    In this version I added the new important parameter - Ratchet:
    • < 0 - stops follow by the channel strictly
    • = 0 - stops move in one direction(similar to old versions)
    • > 0 - stops follow by the channel with period of which will gradually decrease with each new HH/LL for uptrend or downtrend respectively.

    This parameter can be a fractional value, for example, if it's equal 0.25 then the period will decrease every 4 HH bar for uptrend.

    Code:
    extern int     TimeFrame            =     0;    //TimeFrame in min
    extern int     UpBandPrice          =     2;    //Upper Band Price(ex.2 for High)     
    extern int     LoBandPrice          =     3;    //Lower Band Price(ex.3 for Low) 
    extern int     ChannelPeriod        =     9;    //Channel Period (eg.9)
    extern double  Risk                 =     0;    //Channel Narrowing Factor(0...0.5)   
    extern double  Ratchet              =   0.0;    //Ratchet(-1-off,>= 0-on) 
    extern double  MoneyRisk            =  1.00;    //Offset Factor(eg.1.2)
    
    extern int     SignalMode           =     1;    //SignalMode: 0-off,1-on 
    extern int     LineMode             =     1;    //Line mode : 0-off,1-on  
    extern int     DotMode              =     1;    //Dot mode  : 0-off,1-on  
    extern int     BarsMode             =     1;    //Bars mode : 0-off,1-on  
    
    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, nwdean, Highfield and 2 others like this.


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
  •