That being said, I want to build a strategy based on a percent change in price in a given range. Whereas I'm looking for a reversal in price in a given area based on Fibs. That being said, my first order of business is to calculate the percent change in price, however, I'm not really seeing how I can accomplish this in the strategy builder itself.
My approach has been to identify the low and high over a period of bars and record these values into a variable. Where such I was hoping to calculate the percentage change of a new low or high of the retracement, be it a long or short against the original distance of the low and high. Mathematically, the formula would be High - Low_a = X; X - (High - Low_b) / X = Y; Y x 100 = % change. But again, I'm not seeing how to accomplish this within the strategy builder.
ie. Low = 1606.1, High = 1614.3, Low_b = 1609.9
1614.3 - 1606.1 = 8.2
1614.3 - 1609.9 = 4.4
(4.4 / 8.2 = 0.537)*100 = 53.66%
I've searched youtube and this forum for similar discussions, however, I've not been able to find anything. Any help, and or direction would be appreciated.
Comment