Nonlagdot is an indicator, which gives an interpretation of market trends. Notation of trends is conducted in accordance with dominant market forces.
If the bulls (buyers) are dominant, it will be marked with green dots on a chart. In the case of dominance of the bears (sellers) on the schedule this will be indicated by red dots. Please remind of changing the way the returned values are set on chart (set them to points, not lines) and change the color accordingly to the trend direction.
(description found on internet). Converted from Metatrader4 version by request on forums.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
//PRC_NonLagDot | indicator //23.12.2016 //Nicolas @ www.prorealcode.com //Sharing ProRealTime knowledge //Converted from MT4 version // --- parameters Price = customclose //Length = 10 //Filter = 0 //Deviation = 0 // --- cCycle= 4 if barindex>Length then pi=3.1415926535 Coeff= 3*pi Phase=Length-1 Len=Length*cCycle + Phase Weight=0 Sum=0 t=0 for i =0 to Len-1 do g=1.0/(Coeff*t+1) if (t<=0.5) then g=1 endif beta=Cos(pi*t) alfa=g * beta pprice = price[i]//average[1](price)[i] Sum=Sum+(alfa*pprice) Weight=Weight+alfa if(t < 1) then t=t+(1.0/(Phase-1)) elsif (t < Len-1)then t=t+((2*cCycle-1)/(cCycle*Length-1)) endif next if (Weight > 0) then MABuffer=(1.0+Deviation/100)*Sum/Weight endif if (Filter>0) then if(Abs(MABuffer-MABuffer[1]) < Filter*Pointsize) then MABuffer=MABuffer[1] endif endif endif return MABuffer |
Share this
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
Looks almost like a conventional moving average (just take lines instead of dots) . The built-in zero-lag MA reacts much faster (at the same period number = Length). What’s the difference ? And why is the calculation so complex (calculation for a full DAX 15 min chart – 9 years- takes about 17 minutes) , although the result is conventional ? Is it possible to make money with this indicator ?
Just another indicator in the Library asked by a member of the community. You are right about the fact that this one is not better than any other moving average, it has some interesting parameters though, about filtering.
You know I now have many friends in the trading world and some of them make a living with indis you’ll never find yourself useful, found on Internet there and there on many different websites or forums.. So I believe this indicator I took time to convert for prorealtime would be of interest of someone, somewhere and could help him/her make a way to a successful way of using it to make money.
Thanks a lot Nicolas! I found it on the Internet and I was curious to evaluate it… Thanks again for all your fast replies to everybody on this blog! I really appreciate your work! Merry Christmas! 🙂
bonjour nicolas
que doit on modifié pour suprimé le dot et le remplacé par la ma pour obtenir la nonlagma originale ?
merci
Il suffit de modifier l’indicateur en mode ligne plutôt qu’en point dans ses paramètres.
merci nicolas
quel imbécile je suis j aurai du l installé avant de posté ma bêtise et te faire perdre ton temps.
par contre la tu peu m éclairé si je veux l adapté à un gann hilo ou un autre indicateur ?
y a t il ne video qui explique la procedure ?
merci nicolas
Merci d’ajouter cette requête dans le forum approprié.
rebonjour nicolas
je ne comprend pas ta demande, je dois crée un post pour demandé que l on crée la video ou pour qu on m explique comment on adapte ?
merci
Je vais faire l’indicateur et expliquer comment en même temps dans un sujet de forum. Plus simple et accessible pour le reste de la communauté, et pour référence future. Merci.
merci nicolas toute ma gratitude est pour toi sa sera bien pratique car je pense ne pas etre le seul a vouloir réalisé ce genre d opération.
bon dimanche
merci
Ok merci donc d’ouvrir un sujet spécifique pour cette demande donc 🙂