Discuss plot normalization code
Hi
Try to limit the height of your window
0 will be in the center....
Try to limit the height of your window
#property indicator_minimum - 4 #property indicator_maximum 4
0 will be in the center....
I'm talking about oscillator based indicators, and by normalization I mean that the plot is in a stable range and the 0.00 level remains directly in the center of the window.
My knowledge is limited on this, but I figured out that if you have a plot ranging from a negative value to a positive value, this will work:
It was figured out through a lot of trial and error. I didn't take knowledge from any source, I wonder if my way is common or if there are better approaches?
I have another indicator which plots very miniscule numbers for example 55.004923 at the top of the window and 55.00129 at the bottom of the window, and I could not manage to normalize this without the plot modulations becoming very flattened out.