TradingView
bitjanitor
4 de Ago. de 2023 19:24

Mancini Levels 

E-mini S&P 500 FuturesCME

Descripción

Another level parsing indicator.

Add your list of support and resistance levels as inputs in a comma-delimited list, including ranges e.g. <price>-<price>, with an optional (major) to signify a major level.

Format is <level> <(major)>"," <level> <(major)>,<...n> for both support and resistance, with optional "major" designation after each numeric level, comma-separated

Notas de prensa

Ranges now shaded differently for major ranges vs. not

Notas de prensa

tweak range colors:
green: major support
olive: minor support
maroon: minor resistance
red: major resistance

Notas de prensa

Tuned Colors and transparencies:
Major Resistance: Crimson (80)
Minor Resistance: Red (90)
Minor Support: Olive (90)
Major Support Green (80)

Notas de prensa

Update to fix "Error on bar 0: In 'array.get()' function. Index 0 is out of bounds, array size is 0" error. This happened when you provide input that doesn't have any ranges. I never saw it because I always enter input with ranges...made a quick fix to check that there are ranges before trying to draw them.

Notas de prensa

Added an input for Line Width, increase to 2 or 3 to thicken up the levels if you prefer wider lines.

Notas de prensa

*** Bugfix version

A huge THANK YOU to everyone who pointed out the issues with the previous versions, it really helped me in troubleshooting these issues

- Default maximum of lines for a script is 50. Bumped this up to 500 which is the most for a script. This explains why on days with extra supports (e.g. FOMC, CPI days, or days with over 50 S/Rs listed) some of the lines did not appear. I was not aware of this default which dropped lines.
- Only drawing lines on lastbar instead of over and over again with each bar.
- Account for uppercase 'Major' written sometimes too instead of the expected 'major'

Notas de prensa

All colors are configurable as inputs now. No other changes.

Notas de prensa

Label Correction for Color Inputs

Notas de prensa

This version fixes the 'darkening' of lines and ranges over time. The issue was happening because new lines were being added without old ones being pulled. This version adds lines and ranges and pulls the extra from the arrays bar over bar so that the right amount of lines/ranges are on the chart with each new bar, so there isn't a seeming change in transparency (which was just lines/ranges clobbering others).

Notas de prensa

Updates:
1. Can change line styles for major/minor. Default style for minor changed to dotted.
2. Added price labels. These can be disabled in settings but are enabled by default. Label offset (from last bar right) can be configured as well, defaults to 30. Range labels are only on bottom of range line for resistance, top of range line for support as sometimes ranges are pretty tight.

Notas de prensa

(just update chart)
Comentarios
bitjanitor
@j3srv , @Badgeno , @mentalEggs84057 , @mmandella , @BigGochuEnergy , @Bammer , @shrodin

New version fixes a pretty big issue that skipped levels.
BigGochuEnergy
@bitjanitor, Incredible, thanks for the help!
j3srv
@bitjanitor, Nice! Thanks bitjanitor!
gregory48983
@bitjanitor, oh wow...thanks for the update...it's the most useful tool!!! I really appreciate you making it.
j3srv
Anyone having trouble with this indicator? I copy/paste the levels and it doesn't show anything. I start deleting levels one at a time and they show up. Just Now I added a level but the line shows up at a different level like the future rollover is affecting it.
j3srv
@j3srv, I copied/pasted Adams levels and some of the resistances aren't showing.
j3srv
@j3srv, 4703 missing but 4710-15 (major) shows. Then nothing until 4768-70 (major), then nothing else.
j3srv
I remove 4883 from the resistance list and n4860, 4873 and 4883 show up on the chart.
j3srv
@j3srv, Removing 4703 from resistance adds 4678 to supports. This is strange. It
s like the indicator is not updating the new contract levels.
bitjanitor
@j3srv, agree something is wrong with its parsing of the input for 12/13 (FOMC). I am not sure why and don't have time to figure it out tonight, would suggest manually entering resistance lines. I can follow up when I have time to look at what it is with that input. I don't think it has anything to do with contract roll.
Más