Forum

Indicator visualization

When I select specific timeframes for visualization in indicator properties , does it also stop the indicator from doing it's work for the remaining timeframe? Or is it that the indicator still works in the background, but the display is disabled

What's with divisions?

I have been coding for a while and didn't come across situations where I have to divide numbers. I was trying to do this today and am not able to understand why the reminders are getting lost. Possibly, I am missing some basic rules on operation so any guidance is appreciated. In the code below, the

Code optimization

For some reason, the CPU seems to be on overdrive after I modified an indicator. There are complex segments and I would probably need to write the code in a better way. But in general, I want to know how the past indicator values are read - whether by calculation or by internal memory. To give an

Interpreting 2 indicators in same window

Hi, I am trying to figure out if there is a possibility of interpreting 2 indicators in a same window and carrying out an action. For example, I have added Momentum and RSI on a single window. Both the indicators have there own range in the chart - RSI from 0 to 100 and Momentum from 98 to 101

Global variables between indicators

Hello, Looking forward to some help with the indicator logic I am trying to build. The scenario is like this. I am planning to do a similar kind of calculation and use it across the charts. Since the calculation is going to be the same, I do not want to do it 12 times across all my charts, but