Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 7/29/2008(UTC) Posts: 2
|
Description of the Expert advisor which I want to
create.
First
Part
Firstly I
want to create 2 fractal points. A high fractal point and a low fractal point.
By high fractal
point we mean a 5 bars formation where there is a central bar and 2 bars on the
left with lower highs and 2 bars on the right with lower highs
By low fractal point
we mean a 5 bars formation where there is a central bar and 2 bars on the left
with higher lows and 2 bars on the right with higher lows
I know how
to create this part:
High
fractal
H>Ref(H,-1)
AND H>Ref(H,-2) AND H>Ref(H,+1) AND H>Ref(H,+2)
Low
fractal
L<Ref(L,-1)
AND L<Ref(L,-2) AND L<Ref(L,+1) AND L<Ref(L,+2)
Second
Part
After we
created the high and low fractals now we must Defined
Bullish trend: we have when we have upwards
breakout by one tick comparingExample: we have one high fractal at 11500 on
30/6/08 and a second high fractal at 11400 on 5/7/08.Now if we have a break by
one tick higher from the 11500 we have bullish trend the opposite forBearish trend
Bearish trend: we have ,when we have downwards
breakout by one tick
Third
part
After we
defined the bullish and bearish trend from the second part now I want:
For the bullish trend
Every time
we have bullish trend I want you to colored with green color every bar has
lower low from the 2 previous bars on the left.
For the bearish trend
Every time
we have bearish trend I want you to colored with red color every bar has higher
high from the 2 previous bars on the left
|
|
|
|
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.