[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enhanced version of Anthony's S / R commentary formula



PureBytes Links

Trading Reference Links

Anthony, I took the freedom to "enhance" your S/R commentary a bit 
and formed, what I call a "Trading Plan " for the next trading day.

Just playing around with the formulas for entry and stops, but one 
can use right as it is.

Hope you like it - try it as commentary on daily and weekly charts - 
gives some interesting insights imho ;-)

regards
Stefan

/* PP, SR, Entry, Stop, Target*/
/* for next day trading*/
/* coded by TradeShark */


MaxGraph = 14;
p = (H+L+C)/3;
r1 = (2*p)-L;
s1 = (2*p)-H;
r2 = p +(r1 - s1);
s2 = p -(r1 - s1);

Graph1 = EMA(Close,5)-(EMA(ATR(1),10)*0.85);
Graph1Style = 16;
Graph2 = EMA(Close,5)+(EMA(ATR(1),10)*1.75);
Graph2Style = 16;
Graph3 = p+ (p*1.5/100);
Graph3Style = 16;
Graph4= ((10000)*2/100)/(EMA(Close,5)+ (EMA(ATR(1),10)/4)-(EMA
(Close,5)-(EMA(ATR(1),10)*1.25)));
Graph4Style = 16;
p = (H+L+C)/3;
r1 = (2*p)-L;
s1 = (2*p)-H;
r2 = p +(r1 - s1);
s2 = p -(r1 - s1);

Graph5=p;
Graph6=r1;
Graph7 = s1;
Graph8= r2;
Graph9 = s2;

Graph5Style = Graph6Style = Graph7Style = Graph8Style = Graph9Style = 
16;
Graph10 = EMA(Close,5)+(EMA(ATR(1),10)*2.5);
Graph10Style = 16;
Graph11 = s2 *0.985;
Graph11Style=16;
Graph12=s1*1.015;
Graph12Style=16;



"";
"---------------------------------------------------------------------
---------------------------------------";
" PIVOT POINTS, SUPPORT / RESISTANCE , ENTRY, STOP , PROFITTARGET, 
POSITIONSIZE ";
"---------------------------------------------------------------------
---------------------------------------";
"";
"MARKET BEING EVALUATED : " + Title = Name() + " DATE : " + 
Date();
"";
"TODAY'S OPEN WAS : "+"( " +WriteVal(Open,format=1.2)+" )";
"TODAY'S HIGH WAS : "+"( " +WriteVal(High,format=1.2)+" )";
"TODAY'S LOW WAS : "+"( " +WriteVal(Low,format=1.2)+" )";
"TODAY'S CLOSE WAS : "+"( " +WriteVal(Close,format=1.2)+" )";
"TODAY'S VOLUME WAS : "+"( " +WriteVal(V,format=1)+" )";
"---------------------------------------------------------------------
-------------------------------------------------";
" ******* THESE POINTS ARE VALID FOR NEXT TRADING DAY ******";
"---------------------------------------------------------------------
--------------------------------------------------";
"LONG MEDTERM PT :-----------------"+WriteVal
(Graph10,format=1.2);"";
"LONG SHORTTERM PT :----------------"+WriteVal(Graph2,format=1.2);"";
"RESISTENCE POINT 2 : ----------------" +WriteVal
(Graph8,format=1.2);
"";
"RESISTENCE POINT 1 : ----------------" +WriteVal
(Graph6,format=1.2);
"";
"PIVOT POINT :------------------------------- "+WriteVal
(Graph5,format=1.2);"";
"SUPPORT POINT 1 : ------------------" +WriteVal
(Graph7,format=1.2);
"";
"SUPPORT POINT 2 : -------------------" +WriteVal
(Graph9,format=1.2);"";
"ENTER LONG :--------------------"+WriteVal
(Graph3,format=1.2);"";
"STOP LONG :---------------------"+WriteVal
(Graph1,format=1.2);"";
"ENTER SHORT :--------------------"+WriteVal
(Graph11,format=1.2);"";
"STOP SHORT :---------------------"+WriteVal
(Graph12,format=1.2);"";

"POSITION SIZE :---------------------"+WriteVal