Sweet Spots – round numbers

v10.3
Sweet Spots – round numbers

The SweetSpots indicator plots automatically lines on round price rates, not only double zeros, it includes any round numbers calculated with 2 different settings in parameters:

  • MainLevels (define major levels, define this setting in points/pips, it will automatically adapt the calculation for the current security/instrument)
  • SubLevels (define sub levels, same setting as MainLevels one)

The ‘NumLinesAboveBelow’ setting will determine how much levels will be plotted on the chart (default is 100 lines above and below the current Close).

 

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?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Bullan • 171 days ago #

    Hi Nicolas, thanks a lot for posting this, very useful. A quick question, I havent much experience with coding but was wondering how I could go about changing the colour of the lines as well as the thickness of the lines? Also, is it possible to put a label on the lines?

    Thanks
    Andrew

    • Bullan • 170 days ago #

      One other quick thing, I notice that the lines flicker on and off when price trades close to either side of the level – is there any way of turning this feature off? Cheers

    • Nicolas • 170 days ago #

      Not possible to change the thickness. You can add text with DRAWTEXT instruction, you’ll find many examples in the library.

  2. financier • 17 days ago #

    Hi, Nicholas I find your sweetspot indicator very handy for identifying key areas in a range of markets, and I would like to incorporate what I think are important levels into my own programmes. Is it possible to reference these lines either in this or a similar programme by attributing variable names to them directly ?
    Thank you very much for your help and time.

    • Nicolas • 17 days ago #

      Sure,you can. Just add different variables in the loop and test them at each iteration if they have a value or not. Dont forget to reset them to zero before the loop.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
TAC Bolsa Wyckoff method, https://4.bp.blogspot.com/-ierFI1dri-I/Wxt_e8hc8nI/AAAAAAAAB1U/68N6YTBN1J0...
paulnux Thank TAC Bolsa, Excellent indicator, very good. But I do not understand when to change AR...
TAC Bolsa There is no indicator. Wyckoff Events http://stockcharts.com/school/doku.php?id=chart_sc...
vlongobardo67 Ciao Fulvio, ho scaricato ed importato il file. m,a se lo faccio girare sul miniDax non ...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
supertiti Podemos añadir este codigo para tener las flechas : /////////////////////////////////////...
DaxRider Thank you Supertiti for your contribution best wishes
Nicolas Please open a specific topic in our ProScreenr forum for that query. Please add all specific...
macbartin peut il être utiliser pour savoir la fin de tendance, ou plutôt en complément de "market mod...
Nicolas Formule de l'indicateur Momentum: Le Momentum se calcule avec une simple soustraction pour ...
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
Thomas007 It's a very powerful tool. Thanks for sharing! The Signal crosses the Trader a few times but...
rb-72 Thank you, area of twist by dilatacion of the price, missing part of the code that is not pu...
Thomas007 after reading your blog now I understand why there is only a part of your code here. I'm try...
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...
Leito Nice aproach, have you ever try to implement it for patterns recognitions, like double top/b...
Wing Not yet but I plan to.
Leo Have a look in this Forum, I got something interesting for you... https://www.prorealcode.co...
Toto le Heros Hi Nicolas, Thanks for this. Looks interresting. Unfortunately the display on my price gra...
Nicolas Use vertical axis alignment only in indicators setting
DonMasser Nicolas ( or anyone) would you know how to program a 'WAIT'. In other words, in auto tradin...
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...

Top