How to calculate PIP RANGE from past X candles?
-
I've been cracking my head on how I can get the absolute value of the past X candles using the given tools in the Builder.
The purpose of this is to determine if there is enough volatility in the market to allow trading.
Example:
Current Spread: 2 pip
Range of past X Candles: 100 pips
Max SpreadRange Percent to allow trading: 5%In this case: Spread / Range = 2%
2% is equal or less than 5%Therefore, allow trading.
I hope you guys can help. If you do have other recommendations from your experience that has worked on how to determine if a trend is strong enough and not in a range, I'd appreciate your inputs as well. Thanks!
-
@gorilla You will need 2 variables to do this:

I'm not sure about that *100 number on block 2. Maybe you will need to adjust it to get your percentage.
-
@l-andorrà This is perfect! Thank you so much!
-
@gorilla You're welcome.