Change Background Colour Depending On TimeFrame

To add comments, please log in or register
Liam Green
19
Liam Green  
I'm struggling to figure this problem out that i have. 

I'm trying to make it so that the TF's M1 to M15 are locked at a set colour. But then when you switch to H1, H4 and Daily it changes to a different background colour. Weekly and Monthly would also be locked to a set colour. 
clemmo
242
clemmo  
Could you create a rectangle object, set it to background, set it equal to the screen size and set its color?
Liam Green
19
Liam Green  
clemmo:
Could you create a rectangle object, set it to background, set it equal to the screen size and set its color?
Yeah that is one way of doing it and it's the way I'm currently doing it. Just looking for a way for a indicator to do the work. 
Ernst Van Der Merwe
6652
Ernst Van Der Merwe  
Liam Green:
I'm struggling to figure this problem out that i have. 

I'm trying to make it so that the TF's M1 to M15 are locked at a set colour. But then when you switch to H1, H4 and Daily it changes to a different background colour. Weekly and Monthly would also be locked to a set colour. 
Files:
To add comments, please log in or register