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
ggolfet Hi Actarus, what's the name of the histogram indicator below Apple's chart?
Actaru5 Flag ShowState in setting and show histogram
NicolaSilvagni hi, thank you for creating this indicator. i can't figure out how to get the three graphs b...
larouedegann It doesn't work
ggolfet it seems it's not working on prorealtime 11. I changed MACDSignal to MACDSign in order to av...
juanj Please note that the indicator is meant for PRT 10.3
khashayar Hi Can you please upload the TMA channel code? Thank you
oyinloyea Is it possible to have the open and close price in Box format for the different sessions. Th...
Luciole I aslo got this error message with EU version : "A positive integer parameter is expected wi...
Suzu Yuk So Does anyone knows how to fix the error "“A positive integer parameter is expected with HI...
Thomas I haven't solved it yet. I suspect it has to do with the data cache. The problem has never o...
Thomas
5 years ago
luxrun sorry, add prt code add doesn't work
robertogozzi Don't worry about PRT code, I can't make it work either! Great for pointing that out, it's ...
Khaled @Luxrun, good morning, you mentionned "y = exponentialaverage (x)", isn't the period of the ...
luxrun One question, Roberto: the two AvgT are variable, could you explain to me what they regulate...
robertogozzi AvgT stands for Average Type, it's a parameter for the AVERAGE keyword (https://www.prorealc...
oliverkeim Hi, also here not working. Only white lines.
killerplatuze Dont work anymore with the current version?
KryptoKat tolle Arbeit, professionell
Bard Hi @Vonasi, this is an excellent tool! I noticed you times by 180 and was wondering why? W...
Bard I have no idea what is wrong with the posting on this website. I have problems editing posts...
Bard And now my first post displays okay? It literally had copies of my orig post all added toget...
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
Screw27 Hi man, I installed the indicator and i don't know why but my graph it is so big
HelixKing sounds interesting I'll take a look
Zigo
5 years ago
denmar Neat. Thanks.
Zigo Line 39 TS has to be KS Line 41 TS has to be KS
Nicolas Ask on an Excel website?!
JJMR HOLA NICOLAS, TENGO LA ULTIMA VERSION ACTUALIZADA DEL INDICADOR TTM SQUEEZE PRO EN LA VERSIO...
imokdesign @nicolas ,if in want to "call" this indicator, which values i have to write down?

Top