Expert Advisor with Trailing Stop and Trailing Take Profit

MQL5 Experts Forex

Specification

1. The idea of the trading system is as follows: a long position will be executed when the currency pair value has increased a certain number of pips above a minimum value. This minimum value should change (like a trailing take profit). This position will be closed once the conditions of a trailing stop have then been satisfied.


2. Trend is determined based on the most recent minimum/maximum values.


3. Trading Signals:

Buy signal: the currency pair has reached a local minimum value (this will be recognized when the value is a certain number of pips above the minimum i.e. trailing take profit)

Sell signal: the currency pair has has reached a local maximum value (this will be recognized when the value is a certain number of pips below the maximum i.e. trailing stop loss)


4. Positions are closed at the same opposite signal: buy positions are closed at sell signals, sell positions are closed at buy signals.

5. Positions are opened at the same signal: buy positions are opened at buy signals (with the exception of the first buy position), sell positions are opened at sell signals.

There should only ever be one position open at a time, as this will be buying/selling one currency pair, and the currency in the account will all be the same. 

For example, in the image, a buy position should be opened around the red circles, and this position should be closed i.e. a sell signal, around the blue circles.


6. Lot Size: to be determined by equity in the account of the corresponding currency along with a certain degree of leverage. For example, if the account has $10,000 CAD and I want to buy USD/CAD, the lot size of buying USD would be based on the $10,000 CAD with leverage.


7. Trading times are only to be during normal market hours (to be specified).

Files:

PNG
0.png
277.1 Kb

Responded

1
Developer 1
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
2
Developer 2
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
3
Developer 3
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
4
Developer 4
Rating
(253)
Projects
406
38%
Arbitration
84
43% / 19%
Overdue
70
17%
Working
5
Developer 5
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
6
Developer 6
Rating
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
7
Developer 7
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
8
Developer 8
Rating
(563)
Projects
931
47%
Arbitration
301
59% / 25%
Overdue
123
13%
Working
Similar orders
Hi, I am looking for someone who can convert indicator from Tradingview to MT5 Screenshot of indicators are attached and its available free on Tradingview. Indicator Name: Volume weighted Average Price
Hello there, I'm looking for an experienced developer to convert a TradingView indicator script into an MT4 (MetaTrader 4) compatible format. The script, written in Pine Script version 5, includes custom indicators and graphical elements such as lines, boxes, and labels that we need to be accurately replicated in MT4. Check the attached file below
Hello Developers, I am currently seeking a highly skilled and experienced developer to assist with an important project. I requested the conversion of an existing TradingView code to MetaTrader 4 (MT4). The main objective is to convert a TradingView script to an exact MT4 equivalent. If you have the expertise and are interested in this project, please provide a quote and your estimated timeline for the conversion
MT5 hft bot 100 - 250 USD
HELLO I AM IN NEED OF HFT TRADING BOT FOR MT5 AND BEFORE WE PROCEEDS YOU MUST SHOW ME HOW YOUR BOT WORK OR SEND ME DEMO VERSION FIRST TO CHECK OUT YOUR BOT WORKING SYSTEM
I already have a Fibonacci based indicator which give precise entry as well as take profit and stop loss levels without repainting. I want to convert this to an EA so as to enable it pick trades automatically. Pay attention to the attached Images for entry and exit description. The EA will be protected with password or any other security protocols. THE EA OUTPUT will be in MQ4 & MQ5
// Define the properties input int ShortPeriod = 12; input int LongPeriod = 26; input double LotSize = 0.1; // OnTick function is called every time there is a price update void OnTick() { double shortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double longMA = iMA(NULL, 0, LongPeriod, 0, MODE_SMA, PRICE_CLOSE, 0); double prevShortMA = iMA(NULL, 0, ShortPeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo. Necesito algo agresivo, constante pero que no exponga el capital... prefiero una estrategia de smc
Profit EA 50+ USD
//+------------------------------------------------------------------+ //| SimpleEA.mq4 | //| Generated by MetaEditor | //| https://www.mql5.com/en/docs&nbsp ; | //+------------------------------------------------------------------+ #property strict // Input parameters input double LotSize = 0.1; // Lot size input int MovingAveragePeriod = 50; // MA
An ea with 4 moving average, and two time frame confluence. Option to add risk to reward and percentage of balance to trade. Message me remaining for the more info
I am looking for a day trading bot with over 95% success ratio for gold and forex. It should use all the relevant strategies like moving averages (10, 20, 50), volume, RSI and trend into consideration and then generate buy and sell trade automatically with trailing SL and generate max profit

Project information

Budget
30 - 70 USD
For the developer
27 - 63 USD
Deadline
to 30 day(s)