指定
I need a simple expert advisor to buy or sell lots in a given distance.
1. What’s the strategy? - No strategy. Just the ability to: Buy or Sell;
2. What pair/timeframe? - No matter, need to buy or sell in a given distance.
3. Lot size, SL, TP, trailing stop? - to choose manually a lot size starting from 0.01 and higher till 10. I want to insert the trailing stop and Take profit level manually
4. Any special conditions? - To increase every next deal according to Martingale, Fibonacci calculation, or simply adding 1 to every next deal.
I need to show the distance between deals in points. For example, if I indicate 300, it means the positions will open every 300 ponts.
- A maximum number of trades? Need to make it so that I can insert this number by myself. 0 = disabled.
- Magic number to separate this EA from others?, Yes, lets make it 313
I want the EA works as follows:
When I choose Buy only, the positions will start opening the buy position if the market goes down (The EA keeps opening new trades every specified distance forever - until it starts going up toward to the 1st open position), and when the market starts going up, the positions will be holding the same. After the market reaches the first buy position it opened at the beginning, the trailing stop will be activated with the given inputs for all the positions from the point of the first position.
And opposite:
When I choose Sell only, the positions will start opening if the market goes up (the EA keeps opening new trades every specified distance forever - until it starts going down toward to the 1st open position), and when the market starts going down, the positions will be holding same, after the market reached the first sell position it opened at the beginning, the Trailing stop will have to start be activated with the given inputs for all the positions from the point of the first position.
The initial position must start automatically on EA start.
Need another option to choose when the trend is going to the benefit of the 1st position: Need to activate automatic trailing stop for a given distance for the 1st position in this case.
- Once price reaches or passes the first position’s price in the profitable direction, the Trailing stop activates for ALL open trades (based on your input trailing stop distance). In short, the set point must be the point of the first position for all of the positions.
- Optional trailing stop for the first position itself, with its own trailing distance input. Let's say the position goes with profit and the trailing stop has been activated, in case the market goes back, the position is closed, then everything strarts from scratch.