I am trying to plot fixed pivot, support and resistance lines on my intraday chart. The formula for the lines are:
Fixed Pivot ("FP") = Yesterday's (high, low,close)/3
Support = FP - (Yesterday's high - FP)
Resistance = (FP - Yesterday's low) + FP
I cannot for the life of me figure out how to do this and the code I have tried doesn't seem to work.
As an example the S&P E-mini's high low and close were 1135.00 1120.50 and 1125.75 respectively on friday so on tomorrow's intraday chart there would be pivot support and resistance lines at 1127.08, 1119.17 and 1133.67 respectively.
Any help is greatly appreciated.
Thx
Fixed Pivot ("FP") = Yesterday's (high, low,close)/3
Support = FP - (Yesterday's high - FP)
Resistance = (FP - Yesterday's low) + FP
I cannot for the life of me figure out how to do this and the code I have tried doesn't seem to work.
As an example the S&P E-mini's high low and close were 1135.00 1120.50 and 1125.75 respectively on friday so on tomorrow's intraday chart there would be pivot support and resistance lines at 1127.08, 1119.17 and 1133.67 respectively.
Any help is greatly appreciated.
Thx