logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
supremeinfo  
#1 Posted : Thursday, May 29, 2014 11:51:21 AM(UTC)
supremeinfo

Rank: Member

Groups: Registered, Registered Users
Joined: 8/8/2012(UTC)
Posts: 15

Hi

i want to test the opening range breakout strategy of first 60min with the following conditions
1: close should be greater than 25 sma (for long)
2: range should be less than atr(14)*1.25
3 close should be in top 25% of the range to go long(for long)
Code:
(c > mov(c,25,s)) and ((h-l)< (atr(14)*1.25)) and (c >=( h-(h-l)/4))
sell order should be either low of first 60 min or the range of first 60 min + high
Code:
low or h+(h-l)
for selling short the conditions are
1: close should be less than 25 sma (for short)
2: range should be less than atr(14)*1.25
3 close should be in bottom 25% of the range to go short(for short)
Code:
(c < mov(c,25,s)) and ((h-l)< (atr(14)*1.25)) and (c <=( l+(h-l)/4))
to cover short position
buy order should be either high of first 60 min or the range of first 60 min - low
Code:
high or l-(h-l)
in system tester how do i set the condition to buy only if the high of first 60min is crossed on up side
or
sell only if the low of first 60 min is crossed to down side

my second query being assuming i have a long position in which 1 st profit target is hit
if i want to sell 1/2 my position at 1/2 the range of first 60 min(as 1st profit target)
Code:
RG:=(H-L)/4;HIGH + (RG*2)
and keep a traling stop of 1/4(quarter) of the range(first 60 min) from low of previous bar bar(assuming the bar to be higher low)for the remaining position
how do i set the entire condition in system tester to backtest the entire strategy

I get live 60 min chart data to trade intraday

thanks
& regards
Supremeinfo


Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.