Техническое задание
Hey,
I would like to have an automated EA. I think it sounds more comlicated than it really is.... :)
1) It should take the high and low point of a defined time periode (e.g. from 02:00-02-35) as trigger lines for the trade (two white lines in the pic, defined by the high and low point of the candles in the red circles)
2) as soon as a candle leaves the range completele (e.g. 1min candle open and closes above the highest point within the timerange with a certain difference ( 1 or 2 pips) between high point and the candle) the limit order is trigger (candle in yellow circle in the pic)
3) the Limit order is placed relative to the high/low point (e.g. if the first candle out of the range is above it, the limit order is placed 10pip under/above the high) (purple lines in the pic)
5) the stop of the order is placed relative to the high/low point, as well (yellow line in the pic)
4) if the limit trade is triggerd trough a retracement I would like to be able to place several sell limit orders (e.g. 50% of the lot size after 20 pips, 20% after 50pips, 20% after 100pips...) (red lines in the pic)
5) after the first partial sell SL at entry point
6) If the limit order wasn´t triggered after a certain periode of time, the trade gets deleted (e.g. if there was no retracement till 15:00, the limit order gets deleted)
7) So it is only one or none trade a day
for a better understanding following things should be displayed in the chart:
- line at high and low point from the beginning of the time frame till the time of the deletion of the trade (so in this example from 02:00 till 15:00)
- pointed lines at the levels of the partials sales
- point of buy and sell levels in the candle via an arrow or something like that
for backtesting issues I would like to change certain values, thats why it would be nice to have some notes in the code that show me where to do it ;)
- the time frame for high and low point
- the relative position of the limit order (so e.g. 5 points below high or 3 points above high)
- the lot size and pips for partial sales
- time when the limit order gets canceled
- And of course the lot size
It should work in particular for all currencies and indces (like Dow Jones, Dax, Nikkei...)
And if you could give me a little help in how to implement data from the Tick Data Downloader in MT4, I would be very thankful ;)
It is not urgent, so the time is more or less not important
Hope to hear from you
Flo