# Formula to calculate resistance and support levels.

#### Nice2CU

##### New Member
I made following code for EOD Analysis.

On right side on scale, you will see Support & Resistance.

This will give me NEXT DAY Support & Resistance.

For Last day, Uncomment.... H/L/C with DayH/DayL/DayC

Just Drag & Drop on PRICE CHART.

_SECTION_BEGIN("SupportResi");

DayH = H; //TimeFrameGetPrice("H", inDaily, -1);// yesterdays high
DayL = L; //TimeFrameGetPrice("L", inDaily, -1);//low
DayC = C ;//TimeFrameGetPrice("C", inDaily, -1);//close
//R = DayH - DayL; // range
R = H - L;
PP = (DayH + DayL + DayC) / 3 ;
R1 = (PP *2) - DayL ;
R2 = PP + R;
S1 = (PP * 2) - DayC;
S2 = PP - R ;
//style = styleBar | styleNoRescale;
style = styleNoLine | styleNoRescale;
rcolor = colorDarkRed;
scolor = colorDarkGreen;
pcolor = colorPink;
Plot(R1, "R1",rcolor,style);
Plot(S1, "S1",scolor,style);
Plot(R2, "R2",rcolor,style);
Plot(S2, "S2",scolor,style);
Plot(PP, "PP",pcolor,style);

_SECTION_END();

You can check any Candle, Click on it.. on heading with Open High Low Close, it will show S1, S2, R1, R2, PP .. check this value with next day Open high low close.. to see if this Support Resistance accuracy.

#### SwingKing

##### Well-Known Member
I'll give you guys a very interesting tool for calculating various support and resistance level, pivot point based on Fibonacci Levels. This tool is extremely powerful and it is worth a try. The tool is called "Fibonacci Cluster Locator" and it is available at Day-Traders.com

Please note that I have no affiliations with this site whatsoever. It is just a resource I found long time back.

#### Nice2CU

##### New Member
Hello Raunak Agarwal

I am eagerly waiting.

I am EOD Based Investor for short & mid term period. Will your toll suitable for EOD analysis?

Regards
Nice2CU

#### SwingKing

##### Well-Known Member
Hello Raunak Agarwal

I am eagerly waiting.

I am EOD Based Investor for short & mid term period. Will your toll suitable for EOD analysis?

Regards
Nice2CU

#### sas1971

##### New Member
yankie thanks a lot ... sharing one's knowledge whether usefull or not without malicious intent is the best selfless thing one can do .. AmitBE thanks a lot for ur upgrade also .. god bless u both