This version of the Guppy multiple moving average indicator is dynamic. Thanks to the different parameters that I have integrated, you can choose the first and the last period of moving averages that you want to draw on the graph.
The variable “periodstep” allows to choose the step between each period of moving average. For example, using a “minperiod” of 20 and a “maxperiod” of 100, with a step of 5, you will have (100-20) / 5 = 16 moving averages displayed.
The transparency of moving averages is adjustable with the variable “alpha”.
The colors of the MA are divided into 3: the shortest, the median periods and the longest periods, in order to better visualize the behavior of the market.
//PRC_PRC_Fishnet MA with step | indicator
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
minperiod = 20
maxperiod = 200
stepperiod = 5
MAtype = 0
alpha = 50
//--- end of settings
segment = (maxperiod-minperiod)/3
for i = minperiod to maxperiod do
avg = average[i,MAtype](customclose)
i = i+stepperiod
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 :
PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials
io faccio spread trading e volevo sapere come impostare un profitto da chiudere in automatico in proreal time
Per favore non fare domande generali, non correlate al post. Usa invece il forum.
Incredible, that is the clearest depiction of the trend I’ve ever seen Nicolas. (I just changed the “.” for “-” and used purple, yellow and blue and shortest length as 3 and longest as 60).