Hi,
I need an indicator which covert a certain swing to the specific number and based on that change the time-frame to the new time-frame.
The swing in the picture has 34 (H1) candles, if I want it to be 14 candles instead of 34. Then the indicator should calculate 34 x 60 = 2040 min then, 2040/14= 145.71 = 146 min
http://tinypic.com/r/3538eab/9
It means, the indicator should show the new time-frame that each candle has 146 min length.
The swing can be defined by vertical lines as A and B, after defining A and B, we need to define the new length for the swing as X , then indicator will convert the time-frame to the new time frame to make a specific swing length. It needs to work for every time-frame not only H1.
Could you please build it?
Thank you