Move bars above Volume

 

I'm new to MT4.

I have a custom indicator that draws a line below the bars on my chart. Sometimes it's difficult to see it because it overlaps the volume bars.

Is there some way to have the indicator make sure that it is above the volume bars? Ideally, I would not want to have it use the "scale fix", but if that is the only way then so be it.

 
You have to adjust it's position to fit where you want it to fit . . . have a look at this see if it helps: https://docs.mql4.com/windows/WindowPriceMax and https://docs.mql4.com/windows/WindowPriceMin
 
Or change it to use a separate graph (like macd)
 
RaptorUK:
You have to adjust it's position to fit where you want it to fit . . . have a look at this see if it helps: https://docs.mql4.com/windows/WindowPriceMax and https://docs.mql4.com/windows/WindowPriceMin
I recognize that I can manually adjust the chart to fit. I can expand the price scale. But I want the indicator or expert to do it automatically. WindowPriceMax() and WindowPriceMin() just tell me what prices are showing, but I can't figure out how to then shrink the price scale after getting WindowPriceMin()
 
WHRoeder:
Or change it to use a separate graph (like macd)
I don't understand what you're suggesting. It seems like you're suggesting I get rid of my custom indicator and use a different one.
 
FoxGuy:
I don't understand what you're suggesting. It seems like you're suggesting I get rid of my custom indicator and use a different one.

This is what is being suggested

#property indicator_separate_window
 
Is there somebody here who can help teach me how to write codes for Expert Advisor i a simple and better way? I am new to MT4 and i would to take advantage of it multi features like use of EAs.
 
Everdyke:
Is there somebody here who can help teach me how to write codes for Expert Advisor i a simple and better way? I am new to MT4 and i would to take advantage of it multi features like use of EAs.

Read . . .

Here: https://docs.mql4.com//

and: https://book.mql4.com//

 
FoxGuy:
I don't understand what you're suggesting. It seems like you're suggesting I get rid of my custom indicator and use a different one.
Modify YOUR indicator to do what YOU want it to do.
 
Everdyke:
Is there somebody here who can help teach me how to write codes for Expert Advisor i a simple and better way? I am new to MT4 and i would to take advantage of it multi features like use of EAs.
No Slaves here, learn to code or pay someone. We're not going to code it FOR you. We are willing to HELP you.
 
RaptorUK:

This is what is being suggested

I put my indicator in a separate window. I don't like it as much, and I feel like I need to break it into 2 different indicators because there are 3 lines in the indicator (2 are ordinary EMAs which I really would rather see in window(0)). I'm still hoping someone can show me how to shrink the price scale from inside the indicator. I also don't like taking up so much more space away from window(0).
Reason: