Treding system Version 1
Hi
I would like to build an expert advisor fot MT4.
It is a little complicated so I must write in parts.
First part
I would like to define the trend so I must create fractals.
Upfractal=we have 3 bars The middle bar has the higher price
Downfractal=the opposite we have 3 bars The middle bar has the lower price.
So now we have a consequences with high and low fractals.
Now let’s define the uptrend:
When we break by one tick the previous 2high fractals on the left we have an up trend.
Now let’s define the downtrend:
When we break by one tick the previous 2 low fractals on the left we have an down trend.
I want to create a vertical line when the trend change
When the trend change to uptrend I want the vertical line with green color
When the trend change to downtrend I want the vertical line with red color
Between the vertical lines if the trend is up the the horizontal axe I want to color it green
And for the opposite red the horizontal axe.
Second part
Now inside every trend I want to create a setupbar in order to take the signals
So when we have a steupbar:
In an uptrend if we have a bar which makes a lower low from the previous 2 bars on the left we have a setupbar with green color
Inside the uptrend we can have a lot of setupbars.
In an downtrend if we have a bar which makes a higherhigh from the previous 2 bars on the left we have a setupbar with red color
Inside the downtrend we can have a lot of setupbars.
I will attach you a picture to visualize it in order to help you.
THANKS
ANTONIADIS NIKOLAOS