TradingView
c013ain
1 de Set de 2023 09:17

Candle Tick Size 

E-mini S&P 500 Futures (Sep 2023)CME

Descrição

Hello everyone!

I dont think it exists, I couldnt find it any way I searched, maybe it is part of a bigger indicator. This is a really basic code, all it does, it shows the tick/pip size of the candles forming. You can adjust on how many candles should it show. Also because the code counts the point size of the candles from high to low, you can adjust that how many ticks are in one point, like for ES and NQ 4 ticks to a point, which is the basic setting. It helps me with entrys when I calculate the contract size so my risk/reward stays pretty much the same depending on the candle size for my entrys.

Notas de Lançamento

Made some changes so the position and color of labels/fonts can be changed.
Comentários
SamboH
Hey, thanks for this script. Is there a by any chance a way to change it to show the points instead of the ticks. Like 1.75 Points for 7 Ticks ? Thanks again!
chessless
Hello c013ain, your Indicator is what I was waiting for. Much appreciated and well done!
To make it perfect for my trading Strategie, where I use 15 Second intervall and a one time framing brake, it would be amazing if you could add a calculation which would show in addition, or only, the number of shares I can buy based on my risk. Just a simple formular: Risk in dollar / ticks = number of shares (rounded). And to make it perfect, an option where I can multiply the tick size by any given number. The idea behind is to be able to adapt the Stop Loss. As an example, a candle is 10 ticks long but my SL should be 15 ticks. So in the multiplyer I would then add 1.5. And the Share calculation should use, in this example then a tick size of 15 instead of 10.
Do you believe that is possible? Thanks a lot for your Feedback and time.
Regards
chessless
Blondiebutterfly
Thank you for this! Is there a way to increase the number of "candles to show labels for" so I can do a study for the past several months? It only goes back about 55 candles, even though it allows you to type in a higher number, like 600 candles for example. Thank you again for taking the time to create this!!!!
c013ain
@Blondiebutterfly, Thank you for the comment, glad it helps people. Unfortunately Pine Script has a limitation on the number of labels that can be displayed on a chart at the same time. The maximum limit for labels is typically around 50. I ll have a look if I can find a way around it, but not sure if it is possible. Thank you
Blondiebutterfly
@c013ain, ok, thank you for the detailed answer explaining the restriction, and bless your heart for trying to find a solution!!!!
Metz_888
Is there a way to

1. show the label only if bar exceeds the minimum point to tick/pip ratio
2. if #1 above can be implemented, then I would also like to disable the limit of candles to show labels for since #1 will filter it for me. This is not too important since I can just customize the range.

Thanks!
Metz_888
Customizable fonts or label size would be great since they then to overlap but it's not a big issue for me since I only need it for the last 2 candles. Thank you!!
diego.roldan.giraldo
Hi great job. Is it possible to sum all label values at the final candle?
ripdon
Simple yet useful script! Can you add a way to control the size of label's font and shape? Thanks!
c013ain
@ripdon, Hey there! Thank you for the comment, appreciate it. So I tried adding the label size option (and also that's the only way of changing the font size as well), but the problem is, Pine doesn't support the changing of size of dynamic labels, which I am using, so it always shows the proper candle size and updates. I ll look into it a bit more when I have time and try to make the changes, but in the meantime any suggestions more than welcome!
Mais