Developing SMT1 (State Machine Trader 1) EA

MQL4 Experts

Job finished

Execution time 17 days

Specification

Hi,

 

Here is a  description of SMT1 EA. This is just part of the full spec.
The full spec will be provided to the qualified developers. However this partial spec
is more than sufficient for you to provide your quote and time table.
Important note: as the name implies this is the 1st version of the State Machine Trader.
At least two more advanced versions are planned after this first version. So from my stand point
that should be a long term business relations. Therefore I'm looking for a top developer which is
also polite, easy to work with, and adhere to cost and time table. Thanks. M. 
 

1.    Imagine that the whole price spectrum is divided to infinite number of discrete levels and the distance between each 2 consecutive levels is D   (Distance). D is a Process parameter.

Each level is marked Li, where
L0 is the first level where the EA is initiated. L1 is the level just above L0 and L-1 is the level just below L0 etc.

2.    This EA comprises of a series of Processes, each contains a series of trades that are being executed according to the logic described herein. The Processes are mutually independent. The only connection between 2 consecutive processes is that the next process is initiated after the price made a PipsGap (a Process parameter) movement (in pips) from the spot where the previous process was initiated. Each Process has its own ProcessTP and ProcessSL which are constantly updating. In addition there is a GlobalTP and a GlobalSL that are the summary of the past and current Process SL/TP. The exact method of calculating the ProcessTP/SL and GlobalTP/SL is further described below.

3.    SMT1 is a multi-process EA.  Several processes can run simultaneously. The focus in this paper will be to describe how a single Process behaves. Each process will have its own parameters defined under [Process n] in the EA parameters. In addition, there are few general parameters in the EA level (not in the Process level). These parameters will be configures first, in the [Global Parameters] section.

 How a Process acts:


4.    A trade starts on L0 which is the current price level at the moment of process start. The Initial Trade Order is defined in the Process parameters.

In this version of SMT1, all trades have the same volume. So the Volume parameter in the Process parameters apply for the Initial Trade as well as to all other trades in this process.

 After a price move of D pips (the prices reaches a new level), another trade is opened. The type of order to be opened on this new level depends of the Mode parameter (detailed below). On each level the Process can open up to MaxPos (maximum number of positions per level), a Process parameter,  trades. Once the number of trades on a certain level reaches MaxPos, this level is now marked as “occupied”. It means that should the price re-visit this level after a while, and this level is still occupied, no new trade will be opened.

5.    The type of trade on a certain level (Buy or Sell) depends on the direction in which the price action reaches this level (that’s the Mode detailed in the next paragraphs). Only price movements of D pips may cause the open of a new trade. Smaller movements will not have any impact on this EA.

6. The EA operates in one of the following 2 modes of operation. These 

      modes define the type of order to be opened when the price reaches a   

      new level which is not occupied yet.

7. Here comes the description of 2 Modes D and E. They define the logic of how a new trade is opened on a certain level and how a trade is closed. 

 8. Take Profit/ Stop Loss - there are 3 sets of SP/TP parameters, one in the trade level (TradeTP/SL), one in Process level (ProcessTP/SL) and another one in the whole EA level (GlobalTP/SL).

TradeTP/SL - Individual trade is closed when hits TradeTP/SL.

ProcessTP/SL - ProcessTP/SL includes all the accumulated profits/losses of the current (floating) and closed individual trades from the start of this Process. When an individual Process hits ProcessTP/SL, the process is then closed (with all its active trades), and another process of this type is immediately initiated (that’s if the ProcessAutoRestart=Yes. If not, no new process will be launched).

GlobalTP/SL -  GlobalTP/SL includes all the accumulated profits/losses of the currently active Processes (floating P/L), and the processes that were already closed for ProcessTP/SL, since the start of the current EA operation. When the EA hits GlobalTP/SL it is immediately closed with all its currently active processes. The EA will be immediately re-initiated should GlobalAutoRestart=Yes. If not, the EA will re-initiated manually at some point.

 9.  Main Process section parameters:

         (1) Volume – The volume to be opened on L0 and also on all other

                                 levels according to the logic above.

         (2) Initial Order - The order to be opened on L0 (Buy/Sell)

         (3)  ProcessTP – Take Profit in USD to close this process. The Process

                                 TP is the accumulated P/L of all trades that were closed

                                  since this Process was initiated. It also includes the

                                  accumulated floating P/L of all the currently active

                                   trades in this Process.

         (4) ProcessSL - Stop Loss in USD to close this process. Same definition

                                    like the Process TP (accumulated past P/L and

                                    accumulated floating P/L.

         (5) TradeTP – TP for each individual trade (in pips)

         (6) TradeSL – SL for each individual trade (in pips)

        (7) D – distance in pips between each 2 consecutive levels

        (8) PipsGap – the distance in pips that the price should move so

                                the next Process will be opened.

       (9) ProcessAutoRestart – may be Yes or No. If yes, the Process will

                   restart immediately after it was closed due to ProcessTP or

                    ProcessSL

        (10) Mode


   
10. Global section parameters:


1.    GlobalTP In USD
2.    GlobalSL –  In USD
3.    GlobalAuturestart –  
4.    Number of processes – Maximum number of Process types that are

       defined for this EA.




Please let me know of any questions you may have. Thanks in advance for your reasonable quote.





  


       

 


Responded

1
Developer 1
Rating
(128)
Projects
236
65%
Arbitration
30
37% / 23%
Overdue
49
21%
Free
2
Developer 2
Rating
(136)
Projects
196
43%
Arbitration
17
29% / 59%
Overdue
28
14%
Free
3
Developer 3
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
4
Developer 4
Rating
(850)
Projects
1456
72%
Arbitration
122
29% / 48%
Overdue
356
24%
Working
Published: 3 articles
5
Developer 5
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
Published: 4 codes
6
Developer 6
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
7
Developer 7
Rating
Projects
2
0%
Arbitration
4
0% / 50%
Overdue
0
Free
8
Developer 8
Rating
(73)
Projects
257
53%
Arbitration
16
50% / 38%
Overdue
83
32%
Free
9
Developer 9
Rating
(8)
Projects
9
0%
Arbitration
6
0% / 100%
Overdue
4
44%
Free
10
Developer 10
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Free
11
Developer 11
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
487
17%
Free
Similar orders
Hello, I’m reaching out regarding my TradingView project. I’d like to know if you’re familiar with the Chrome extension for Pine Script optimization. I’m looking for a developer with a premium account who can help optimize some Pine Script code. Please I actually need someone who has a premium account of the chrome extension TradeTuning to optimize Pinescripts (for some specific data they give in their reports). Do
I need an MT5 Expert Advisor for Gold (XAUUSD) on M15 timeframe. Strategy Rules: Trade only after breakout and retest of support/resistance. Also include trendline breakout and retest entry. Only one trade at a time. High accuracy trades only. Stop Loss: fixed SL (developer make input adjustable). Take Profit: next support/resistance level. Trade should hold until trend change. Close trade when Higher Low or Lower
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower
REQUIREMENTS SPECIFICATION FOR MT5 EXPERT ADVISOR - NAS100 1. GENERAL INFORMATION 1.1 Platform: MetaTrader 5 1.2 Symbol: Nas100 1.3 Timeframe: M5 1.4 Account Type: Hedge 1.5 Broker: Must work on Khwezi Trade / ATFX broker 2. ENTRY RULES - ALL 3 MUST ALIGN ON CLOSED CANDLE 2.1 Trend: Price above 50 EMA for Buy, below 50 EMA for Sell 2.2 Momentum: RSI(14) > 50 for Buy, < 50 for Sell 2.3 Confirmation: MACD line above
Hi i need an expert to built a automated trading bot for ninja trader platform like sniper auto trader bot If you can develop or build automated bot for ninjatrader, let me know
Hello programmers. I am looking and searching for Chrome extension that automates parameter optimization for TradingView strategies, not''TradingView Premium'' itself. Can you please get back to me? do you know the chrome extension. I am looking for someone with a premium account so I can optimize some pinescript with it
I’m looking for a developer (or AI-savvy builder) who is experienced in using tools like Claude.ai (e.g. Claude Code, Claude CoWork) to build a Forex-related website. The platform will include features such as: Tracking trading account performance Broker reviews and comparisons This is just a high-level overview — the main goal is to find someone who truly understands how to leverage AI tools and write effective
Hello, I’m reaching out regarding my TradingView project. I’d like to know if you’re familiar with the Chrome extension for Pine Script optimization. I’m looking for a developer with a premium account who can help optimize some Pine Script code. Please let me know if this is something you can assist with
Hello every developer here, I'm contacting you regarding my tradingview. Can you please get back to me? do you know the chrome extension. I am looking for someone with a premium account so I can optimize some pinescript with it
Hi, I am looking to purchase a MT5 Hedging EA that can show consistent profitability with drawdown less than 15%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested Hedging EA that can sell to me together with the source code. Before i make the

Project information

Budget
100 - 300 USD
Deadline
from 7 to 14 day(s)