Trabajo finalizado
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Tarea técnica
We are looking for an EA for MT4 platform using Fibonacci Levels
Fibonacci:
A fib is a candle in one direction or a series of candles in the same direction. We draw the fib from the wick of the last candle to the body of the first candle. Examples:
Bullish Fibonacci
![](https://c.mql5.com/21/452/2023-03-26_20_38_20-5mm_-_Google_Documenten.png)
Bearish Fibonacci
-
If we have a candle in the same direction as an existing fib, and it made a new high, we adjust the fib, as soon as the candle closes.
-
We only adjust the fib on candle closes
-
If there is a candle in a different direction, then the fib doesn’t change anymore.
-
If there is a “neutral candle” (the body of the candle is null) the fib doesn’t change anymore.
Order rules:
-
To place a limit order, we need the fib size (0 to 100% of the Fibonacci) to be within a specific range of pips. That number has to be a variable we can type in.
-
We remove the limit order when a specific number of the Fibonacci level is reached. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads, etc.)
-
Once an order becomes a position, we then remove all the opposite orders.
-
We don’t place new limit orders that are in a different direction than open positions. Limit orders in the same direction are OK.
Entry:
-
The entry of the limit order has to be at a specific number of the Fibonacci level. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads, etc.)
-
Limit order risk management: We need a field where we type the amount of the capital we want the bot to have available. Then we need a field where we type the percentage of the capital that will be used in the order. For example, if we type in $1000 and then in the box next to it, we select 1%. Then the order will have a risk of $10.
Stop Loss:
The stop loss of the limit order has to be at a specific number of the Fibonacci level. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads etc.)
Take Profit Level 1:
The Take Profit Level 1 of the position has to be at a specific number of the Fibonacci level. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads etc.) and an option to change the % of the position that we will close.
Take Profit Level 2:
The Take Profit Level 2 of the position has to be at a specific number of the Fibonacci level. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads etc.) and an option to change the % of the position that we will close.
Break Even:
The position needs to be set at break even at a specific number of the Fibonacci level. That number has to be a variable we can type in. We also need an option to add or subtract pips (for spreads, etc.).
News options:
-
X minutes before RED news (according to forex factory) we stop placing orders, and we remove all the existing orders.
-
X minutes before RED news we close all open positions.
-
This feature needs to have an On/Off “switch”
Time Schedule:
-
We want to have a time schedule for when the bot is active. We need 24 boxes, 1 for each hour, which we can activate/deactivate as we please.
Order Sweep time:
At a specific time of the day, we want the bot to clear all the pending limit orders. This field needs to be filled in. If it’s blank, then the bot doesn’t delete the orders.
Alerts:
We need an alert feature with an On/Off switch for every event
-
When an order is placed
-
When an order is deleted
-
When an order is X pips away from being triggered
-
When a position opens
-
When a position closes (including the resulting loss / profit, in $)
-
When a position is set on Break Even