Backtesting and trading camarilla pivots

Any one having metastock indicator for cam levels .

Anyone using Metastock 8 can use the following formula to create a new indicator that will draw Igor's Camarilla lines (and a HLC/3 pivot) for every day on your INTRA-DAY chart. It will base the calculations on your previous day's chart data. After dropping the indicator on your chart, you can lower the variable to only show lines near the current price. 5 works good for ES.


{---------------------------BEGIN---------------------}
Prd:=Input("Points From Nearest Pivot",.1,200,45);
D:=DayOfMonth()<>ValueWhen(2,1,DayOfMonth());
HighPd:=If(D OR Cum(1)=2,H,Max(H,PREV));
LowPd:=If(D OR Cum(1)=2,L,Min(L,PREV));
LastH:=ValueWhen(1,D,ValueWhen(2,1,HighPd));
LastL:=ValueWhen(1,D,ValueWhen(2,1,LowPd));
LastC:=ValueWhen(1,D,ValueWhen(2,1,C));
Pivot:=(LastH+LastL+LastC)/3;
R1:=((LastH/LastL))*LastC;
S1:=LastC - (R1-LastC);
R2:=(((LastH/LastL)+0.83)/1.83)*LastC;
S2:=LastC - (R2-LastC);
R3:=(((LastH/LastL)+2.66)/3.66)*LastC;
S3:=LastC - (R3-LastC);
If(R3-HHV(H,30)0,R3),ValueWhen(1,Pivot>0,Pivot));
If(R2-HHV(H,30)0,R2),ValueWhen(1,Pivot>0,Pivot));
If(R1-HHV(H,30)0,R1),ValueWhen(1,Pivot>0,Pivot));
ValueWhen(1,Pivot>0,Pivot);
If(LLV(L,30)-S10,S1),ValueWhen(1,Pivot>0,Pivot));
If(LLV(L,30)-S20,S2),ValueWhen(1,Pivot>0,Pivot));
If(LLV(L,30)-S30,S3),ValueWhen(1,Pivot>0,Pivot));
{---------------------------END---------------------}
 

radha55

Well-Known Member
Nifty Futures Profit for 18th Apr 2011

Adv Camarilla Trading

H6 5937.49 Trgt 2
H5 5914.17 Trgt 1
H4 5891 Long breakout
H3 5863 Go Short
H2 5853
H1 5844

L1 5825
L2 5815
L3 5806 Go Long
L4 5777 Short Breakout
L5 5754.13 Trgt 1
L6 5730.81 Trgt 2

As shown in the above levels,
Initially long breakout occured at H4(5891).
Target 1 : 5914 achived.
Profit = 5914 - 5891 = 23 points.

Then short triggered at H3(5863).
Targets till L3(5806) achieved.
Profit = 5863 - 5806 = 57 points.

Then short breakout at L4(5777).
Target 1 : 5754 achieved.
Target 2 : 5730 achieved.
Profit = 5777 - 5730 = 47 points.

Total Profit = 23 + 57 + 47 = 127 points.

Profit of 6000+ with one lot of Nifty.
 

rrmhatre72

Well-Known Member
last three days who followed cam lvls strictly might be get good profit
I followed today &..... hit SL.....
5574 was point for short... Shorted .... it came down to 5561 & again bounce back 5583... SL got hit.... but then again it came below 5574 ... This time position was not taken due to earlier trade & market reach to target level of 5528.....

I had kept 5points filter. Is it correct or need to be changed to higher filter?
 
Last edited:

Similar threads