Mike Slattery
Board Regular
- Joined
- Dec 11, 2004
- Messages
- 101
I have a formula that produces an indicator called Center of Gravity. It looks like this:
=0.2*((252*BQ117)+(128*BQ118)+(64*BQ119)+(32*BQ120)+(16*BQ121)+(8*BQ122)+(4*BQ123)+(2*BQ124)+(1*BQ125))/SUM(BQ117:BQ125)
The first two digest in the formula, in this case "0.2*" can be any whole number.
I would like to "Normalize" the result so that the plot can utilize the same scale as the closing price of the stock. First closing price is in cell GN3.
The current output of the COG formula is:$11.12
The closing price at that same time is:17.04
I am sure there is a way to utilize the coefficient at the beginning of the formula "0.2*" and todays closing price to get the two number within a few digest of each other.
Can someone suggest a solution? Thanks Michael
=0.2*((252*BQ117)+(128*BQ118)+(64*BQ119)+(32*BQ120)+(16*BQ121)+(8*BQ122)+(4*BQ123)+(2*BQ124)+(1*BQ125))/SUM(BQ117:BQ125)
The first two digest in the formula, in this case "0.2*" can be any whole number.
I would like to "Normalize" the result so that the plot can utilize the same scale as the closing price of the stock. First closing price is in cell GN3.
The current output of the COG formula is:$11.12
The closing price at that same time is:17.04
I am sure there is a way to utilize the coefficient at the beginning of the formula "0.2*" and todays closing price to get the two number within a few digest of each other.
Can someone suggest a solution? Thanks Michael