Moving average of the high and low

Moving average of the high and low

This indicator is kind of “Moving average” built over the last highest and lowest prices from over 50 periods. This is a good start for research of a trailing stop indicator idea or a trend trigger..

(indicator from the Kevin Britains archive).


Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

Register or


avatar avatar avatar
Related users ' posts
Fabian Hi Vonasi, I'm a big fan of your work. Could you please take a look at my idea and sug...
MAKSIDE Good job !
dome Grazie Robertogozzi, secondo Te oltre ai setaggi postati, si possono usare altre combinazio...
robertogozzi Yes, you can use any setting that suits you best! As to which one... it depends on the inst...
thebigdeal Ehlers Simple Decycler, bjr nicolas, je trouve cet indicateur assez démentiel, ?.... promett...
jacob78692110 hi, i have past the code and the indicator is not in the graphique. he's down like RSI
Nicolas Apply it on the price in the price settings window
Nicolas Les questions non liées à ce post doivent être posées sur les forums.
jacob78692110 Bonjour, quand je colle le code, l'indicateur n'est pas sur les prix mais il est la où se tr...
Nicolas Il faut l'appliquer sur le prix, en allant dans les paramètres du prix.
Rory Dryden Thank you. Experimenting with it now.
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
DaxRider Nice indicator thank you Nicolas
sai000 can i use this in trading view plotform
Nicolas No, all codes on our website are to be used with ProRealTime:
Maxime Baudin Thank you Vonasi
Vonasi An update to this indicator with some improvements and new features can now be found here: ...
Vinks_o_7 Hi Vonassi Thanks for all the good work. I run PRT 11.1 (12 March 2020) but there's an err...
Vonasi I developed and tested on v11.1 - 1.8.0_202. All the array use in the code is very basic. Di...
Vonasi You can find the minor bug fix and new ITF file here:
JohnScher I've been looking for this for a long time! A very big thank you to you.
Bard Excellent job Vonasi, thanks very much for updating and improving your previous indicator.
Rocketship There seems to be a syntax error in the code.
Nicolas Code compatible only for ProRealTime version 11, it will not work for any prior version due ...
mlouys Bjr, j ai lu effectivement que le système était long only, mais je crois qu on peut aussi l ...
Vinks_o_7 Thanks Doc !
Maxime Baudin Intresting, thank you!
max-trading Bonjour, C'est bizarre, quand j'installe cet indicateur mon graphique des prix se resserr...
Nicolas Dans les paramètres du prix, il faut choisir la mise à l'échelle basée sur le prix uniquement.
Nick FX Junkie Good evening all, Is there any way this indicator can be transferred into a strategy code?
TACBOLSA A new version is missing that solves some programming problems that I requested, As soon ...
Gianluca Realy. Thank you!
Stockastiss Can this code be simply transferred into Backtestingcode so one doesnt need to use call ? (i...