If you have some code to show, show it.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I've been on this for two days now and cimply cannot find a way to do this. I've been looking into using OBJ_RECTANGLE to shade my chart grey when price is ranging (ADX<25) but simple cannot get it working. Most examples of OBJ_RECTANGLE seem to be to shade trading times (e.g. London Session) but I want my chart to shade grey when price is ranging.
PLEASE help, I simply can't get my background shading grey when ADX(14)<25.
Thanks
James