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
//Nicolas @
//Sharing ProRealTime knowledge
//Converted from MT4 version

// --- parameters
Price         = customclose
//Length        = 10
//Filter        = 0
//Deviation     = 0
// ---

cCycle= 4
if barindex>Length then
 Coeff= 3*pi
 Len=Length*cCycle + Phase


 for i =0 to Len-1 do
  if (t<=0.5) then
  alfa=g * beta
  pprice = price[i]//average[1](price)[i]
  if(t < 1) then
  elsif (t < Len-1)then

 if (Weight > 0)  then
 if (Filter>0) then
  if(Abs(MABuffer-MABuffer[1]) < Filter*Pointsize) then

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 • 26 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 • 26 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 • 25 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! 🙂

Register or
Related users ' posts
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...
4 months ago
gianpiero75 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 Hi Wanjpt, I tried once only on AUD / USD in november 2016 during one day. No position has b...
finplus The backtest of the code works perfectly with 1 hour timeframe.
CN Anyone got a correct code for the setup?Used Minihax code with mixed results... Anyone that ...
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...
11 months ago
11 months 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...
11 months ago
1 year ago
U Trend Sensor
U Trend Sensor
Stef Hi @Nicolas. I see in a lot of your posts you use "derivated." I think you mean to say "deri...
Nicolas Hi Stef, thanks again for contributing to my near perfect english :)
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...
1 year ago