Stair step moving average

Stair step moving average

Easy reading of moving average price action without annoying moving average whipsaws due of volatility, this indicator simply draws “stair step” within defined point/pip treshold value (Step).

As an example, this indicator only make use of SMA and could be easily adapt by anyone 🙂

There are different approach to trade this indi : other moving average crossover or simple price breakout of the line, use it as you would, enjoy.

 

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?

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

  1. Petrus • 10/14/2015 #

    Hi Nicolas.I found this indicator very interesting and wanted to code it in form of histogram, where I could easily see the changes of the steps, but unfortunately it does not work correctly.There are missing bars and bars that leftovers. I wanted to download an image, but I get always an HTTP error if I try it.Could you please tell me where is the error on the code?
    The code is:
    //***Stair step Moving Average//parameters :Step = 10// 0.0010 forex 10 pips, adapt to item you are tradingMAperiod = 7
    once ssMA = closeMA = average[MAperiod](close)
    IF(MA > ssMA+Step) THENssMA = MAELSIF (MA < ssMA-Step) THENssMA = MAELSEssMA = ssMAENDIF
    IF ssMA>ssMA[1] THENk=1ELSIF ssMA<ssMA[1] THENk=-1ELSEk=0ENDIF
    RETURN k AS “Signal”, 0 AS “Zero”

avatar
Register or

Likes

avatar
Related users ' posts
KimmyMac Great work !! Thank you
Ciccarelli Franco Indicatore interessante, ma non sono convinto se è meglio del Super trend, che cosa ne dici?
Stenozar Ciao mi restituisce errore line 1; forse è perchè utilizzo la versione 11 ? in questo caso d...
luxrun Grazie Ivàn, è possibile realizzare uno screener con questo indicatore?
Stenozar Ciao Ivan, ti è possibile tradurre l'indicatore che avevo segnalato qui? https://www.prorea...
NEOMKEY Magnífico !!!. Al menos para mí. Gran trabajo con tus aportes Iván. Mira a ver si le incluye...
Iván jajaja gracias :)
Regisnew Hello Ivan, thank you for your good work, is it possible to create a sceener to find actions...
Iván Hi! Yes it's possible. I will add this to my list of tasks to do :)
Regisnew finaly the screener could be something like this for green blocks but it probably could be b...
Iván Allora crei un nuovo post. Lo aspetterò.
Stenozar Ciao Ivan, ho inserito il post con la richiesta di traduzione. Se puoi vedere, grazie!
Iván perfect!
kats Bonsoir, Pensez vous pouvoir répondre à ma question posée ci dessus? Ce serait vraiment tr...
Iván Bonjour L'ensemble de l'indicateur est alimenté à partir de la ligne 9 avec la définition d...
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
kats j ai fait une copie d'ecran mais je ne sais pas comment l'envoyer sur le site
luiskohnen This indicator re-paint?
Iván Hi, Sorry, but what do you mean?
Iván Thanks ;)
kats BONJOUR je lai mis sur du renko , il est complexe car toujours a l'envers??? Peut ĂŞtre ne ...
RTR Great tool again and great job, thank you! So from what I see everytime Z-Score is over 0 m...
Gaspare Ciao Ivan si puo' inserire una strategia su questo indicatore per ottimizzare le variabil...
14starwberryhill Such a wonderful work, thanks Ivan..............
larouedegann TIMEFRAME(15minutes) apparemment ne fonctionne pas
Iván Bonjour Je ne comprends pas bien le problème. L'indicateur fonctionne dans n'importe quelle...
larouedegann OUI je le sais, il fonctionne dans toutes les unités de temps. Mais je souhaite utiliser l'i...
Iván
2 months ago
Iván Si lo descargas e importas en tu PRT verás que se han creado las variables para luego config...
WhyAskOZ Hi, Ivan As always you are doing great coding. The code works on my PRT, however the issu...
Iván You can delete in the last line (return) the configuration for color. Delete coloured(xx,xx,...
Iván
2 months ago
Danger Zones Indicator
Danger Zones Indicator
4
Indicators
Iván Thank you very much!
Claudio Good morning Ivan. I try to use this indicator but I receive the automatic message on line 7...
Iván Hi Claudio The indicator works fine. Maybe you are with PRT11 instead PRT12?
P. Marlowe Quite an impressive work, Iván. Extremely useful and accurate. Congratulations. Keep it up¡
lkiklkik i love it !!! thanks.
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ÂżpodrĂ­as crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
Iván sería así //------------------Inputs------------------------------ linreglength = 11//i...
Doddge Muchísimas gracias Iván, está genial.
superfalcio holaaa, have you run some statistics?

Top