Can someone help me to find trend situation code example?

 
I find example of trend condition codes
Example
Up
Down
Range

If up= true
If down = true
If range = true

I want to filter range by this example. 
Plz show me similar example in forum. 
Reason: