NonLagDot trend indicator

NonLagDot trend indicator

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.

//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

 

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

  1. verdi55 • 95 days ago #

    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 ? 

    • Nicolas • 95 days ago #

      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. 

  2. ML • 95 days ago #

    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! 🙂

  3. gregus • 30 days ago #

    bonjour nicolas

    que doit on modifié pour suprimé le dot et le remplacé par la ma pour obtenir la nonlagma originale ?

    merci

    • Nicolas • 30 days ago #

      Il suffit de modifier l’indicateur en mode ligne plutôt qu’en point dans ses paramètres. 

  4. gregus • 30 days ago #

    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

     

    • Nicolas • 30 days ago #

      Merci d’ajouter cette requête dans le forum approprié. 

  5. gregus • 30 days ago #

    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

    • Nicolas • 30 days ago #

      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. 

  6. gregus • 30 days ago #

    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

    • Nicolas • 30 days ago #

      Ok merci donc d’ouvrir un sujet spécifique pour cette demande donc 🙂 

avatar
Register or

Likes

avatar
Related users ' posts
diegofe_2000 mil gracias NICOLAS que maravilla de indicador,  me cae "como anillo al dedo"   nueva...
ludo6977  metter une HT et un jhon scalper et la c'est le must sur 1mn   
Stenozar Hi Nicolas, does it work with DAX? which indicator you prefer to trade Dax? thanks a lot fo...
leo1962 Ciao Nicolas, nel codice c'è un errore di sintassi, allego screenshot. Non sono pratico di ...
Nicolas Este indicador sólo funcionará para Prorealtime v10.3 y superior.
leo1962 gracias ;)
larouedegann blue = 50 green = 20 red = 10 than you
shephinc Is there an easy way get a value returned from the indicator that says if the blue channel i...
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nicolas Nope, because this one is made for version 10.3 and no variables is needed in RETURN instruc...
Ernesto1 Nicolas, thanks for the code. I can use it in a trading system, as a set-up for entry  and e...
supertiti Hola Nicolas, Can you make us the screener for the Sadukey V2 with the change of color ? t...
Nicolas
6 months ago
ALMA MACD
ALMA MACD
2
Indicators
Abz Hello Nicolas to backtest this with some stock or commodities how woud you reccomend to tes...
Nicolas This is only a classic MACD made with ALMA moving average. So you can trade it just like any...
gianpiero75 sorry....now it's correct error ST = Supertrend[a,b] a=17 // default 10 b=58 correct...
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
Tomax is Background colour only available from 10.3 and not possible with 10.2 ?
Nicolas Yes, colouring background by code is only available in the version 10.3. with the instructio...
ludo7769 Hello , J'ai la version 10.2 et ca ne marche pas, qu'est ce qui coince ?  Merci a vous 
finplus Bonsoir, j'ai de nouveau aujourd'hui lancé la stratégie en réel sur mon compte IG sur la pai...
AleX 0 improvments, I tried a lot of modified version but no one was working. I think that only w...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
GraHal Hi Nicolas I like this and would like to understand it fully so please forgive the (maybe) d...
Nicolas Hi GraHal, the Factor parameter is only a multiplier of the ATR that is added or subtracted ...
GraHal Nicolas, thank you for your useful and informative response. Yes I optimise using ProBackte...
Nicolas
1 year ago
GraHal Hi Nicolas Britains .itf file didn't work for me ... I had to change h to hh at line 13 and...
Nicolas Thank you GraHal for pointing this error, i have corrected the code in the file. The code in...
Nicolas
1 year ago
Nicolas
1 year ago
U Trend Sensor
U Trend Sensor
4
Indicators
Nicolas Hi Stef, thanks again for contributing to my near perfect english :)
Salocin Hi Nicolas, seems to be a pretty cool one as an indicator. can you define "plotsingal". Syst...
Nicolas Download the itf file attached to the post, there's everything needed in it. Just import thi...
Nicolas
1 year ago
iainmclean One question Nicolas - what's your rationale behind a 21 period?
Nicolas There is no hidden truth behind a 21 period for this indicator. This a moving average period...
cosmicsurfer I actually live up the road from Daryl Guppy. On the first day of my training i walked aroun...

Top