UPDATA: MARCH 2013
- Details
- Parent Category: Departments
- Category: Traders' Tips
- Written by Updata support team

In In his article in this issue, “Camarilla Points,” author Slawomir Bobrowski delivers a trading system to exploit market fluctuations around a point of balance derived from multiple time frames, not just daily OHLC prices used in traditional pivots, which pit traders are said to have used. Eight basic points are calculated from session high, session low, and session close formula inputs, and these can be used as entry & exit levels for short-term range trades (Figure 10).

FIGURE 10: UPDATA, CAMARILLA. This chart shows the daily DJIA with a long entry at S3 followed by an R3 exit. An R3 short entry is shown remaining open, with a profit target exit of S3.
The Updata code for this indicator has been added to the Updata Library and may be downloaded by clicking the “custom” menu and then “system library.” Those who cannot access the library due to a firewall may paste the code provided here into the Updata custom editor and save it.
'Camarilla Points PARAMETER "Period" #PERIOD=50 DISPLAYSTYLE LINE INDICATORTYPE TOOL NAME "Camarilla Points[" #PERIOD "]" "" NUMPOSITIONS 2 @RANGE=0 @S1=0 @S2=0 @S3=0 @S4=0 @S5=0 @R1=0 @R2=0 @R3=0 @R4=0 @R5=0 FOR #CURDATE=#LASTDATE-(#PERIOD) TO #LASTDATE 'R3 & S3 REVERSAL IF HASX(CLOSE,@R3,UP) AND ORDERISOPEN=1 SELL CLOSE ENDIF IF HASX(CLOSE,@S3,UP) COVER CLOSE BUY CLOSE ENDIF IF HASX(CLOSE,@R3,DOWN) AND ORDERISOPEN=-1 COVER CLOSE ENDIF IF HASX(CLOSE,@R3,DOWN) 'EXIT IF LONG AN CROSSES DOWN THROUGH R3 LEVEL SELL CLOSE SHORT CLOSE ENDIF 'S4 BREAKOUTS IF HASX(CLOSE,@S4,DOWN) SHORT CLOSE ENDIF IF HASX(CLOSE,@S5,DOWN) COVER CLOSE ENDIF 'R4 BREAKOUTS IF HASX(CLOSE,@R4,UP) BUY CLOSE ENDIF IF HASX(CLOSE,@R5,UP) SELL CLOSE ENDIF 'S5 REVERSALS IF HASX(CLOSE,@R5,UP) BUY CLOSE ENDIF IF HASX(CLOSE,@S4,UP) AND ORDERISOPEN=1 SELL CLOSE ENDIF 'R5 REVERSALS IF HASX(CLOSE,@R5,DOWN) SHORT CLOSE ENDIF IF HASX(CLOSE,@R4,DOWN) AND ORDERISOPEN=-1 COVER CLOSE ENDIF If #CURDATE=#LASTDATE-(#PERIOD) 'CAMARILLA POINTS @RANGE=PHIGH(HIGH,#PERIOD)-PLOW(LOW,#PERIOD) @R1=CLOSE+@RANGE*(1.1/12) @R2=CLOSE+@RANGE*(1.1/6) @R3=CLOSE+@RANGE*(1.1/4) @R4=CLOSE+@RANGE*(1.1/2) @R5=CLOSE*(PHIGH(HIGH,#PERIOD)/PLOW(LOW,#PERIOD)) @S1=CLOSE-@RANGE*(1.1/12) @S2=CLOSE-@RANGE*(1.1/6) @S3=CLOSE-@RANGE*(1.1/4) @S4=CLOSE-@RANGE*(1.1/2) @S5=2*CLOSE-@R5 COLOUR RGB(0,0,200) DRAWLINE 0,@R1,-#PERIOD,@R1 DRAWLINE 0,@R2,-#PERIOD,@R2 DRAWLINE 0,@R3,-#PERIOD,@R3 DRAWLINE 0,@R4,-#PERIOD,@R4 DRAWLINE 0,@R5,-#PERIOD,@R5 DRAWTEXT @R3 AT "R3" DRAWTEXT @R4 AT "R4" DRAWTEXT @R5 AT "R5" COLOUR RGB(200,0,0) DRAWLINE 0,@S1,-#PERIOD,@S1 DRAWLINE 0,@S2,-#PERIOD,@S2 DRAWLINE 0,@S3,-#PERIOD,@S3 DRAWLINE 0,@S4,-#PERIOD,@S4 DRAWLINE 0,@S5,-#PERIOD,@S5 DRAWTEXT @S3 AT "S3" DRAWTEXT @S4 AT "S4" DRAWTEXT @S5 AT "S5" EndIf NEXT


Join us on Facebook
Follow us on Twitter