This ea uses the lowest and highest values of the past two days to draw trendlines (during current day) and determinate long, flat and short signals to trade.
What I want to do now is to take sunday's values out of the "formula" (since is not a full trading day).
For that matter, the trendlines for monday will be drawn using thursday and friday values (not friday and sunday's).
And for tuesday trendlines, the ea will use friday and monday values (not sunday and monday's). The other days will stay the same.
I also want to have the option to chose at the input window of the ea if I want to use the values of the last two days, two weeks or two month (D1, W1, MN1)
Attached you can find the original ea.
thank you for your bid, and feel free to ask any question.