Auftrag beendet
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spezifikation
1. The idea of the trading system is as follows: supply and demand.
2. Supply and demand are zones price has exact reaction to them. In internet we have some open source indicators for detect supply and demand but we are not sure about them. We will share few indicator and some of them has open source but maybe we need to programming our dedicated or custom supply and demand detect system.
3. Trading Signals:
- Buy signal: when price reverse or break supply zones (zone defined as far of two price level e.g. rectangle on chart) we enter long position. We analyze 3 time frames for entering e.g. 15m, 5m, 1m.
- Sell signal: when price reverse or break demand zones (zone defined as far of two price level e.g. rectangle on chart) we enter short position. We analyze 3 time frames for entering e.g. 15m, 5m, 1m.
4. Positions are closed
-
at opposite zone: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals (only if new zone detected nearer that last opposite zone).
- Hit target profit was set when position opened, that calculation depend on last opposite zone.
- Hit stop loss which was set when position opened. That calculation depend on zone size (lowest/highest price on zone).
- Hit stop loss that modified by trailing stop system on expert.
5. Positions are opened at the market price, when a price reverse or break a supply or demand zone.
6. Position management
TrailngStop is used to protect profit. Stop Loss is set if profit in points exceeds the value specified in the InpTrailingStop parameter. If the price continues to move in the profit direction, Stop Loss should be trailed at the given distance. Stop Loss cannot be moved towards the loss direction, i.e. the Stop Loss value cannot be increased. If none of protective orders (Take Profit or Stop Loss) triggers, the position should be closed by an opposite signal. No other position exit methods are available.
7. Risk Management
We have our custom risk management. In supply and demand trading style we have different risk to ratios so we have two type of risk management system.
We use 4X1 standard on our expert advisor. Start lot on each pair is 0.01 and defined in inputs. Default R:R is 1:3 so we risk 2.5% on every trading cycle for 7.5% reward. On every 4 target prices hit we double the lot size. On every stop losses hits we make half our lot size. In below we get an example to clearify risk management system functionality.
Start | End | Risk | Reward | Result |
---|---|---|---|---|
1000.00 | 1075.00 | 25.00 | 75.00 | Target |
1075.00 | 1150.00 | 25.00 | 75.00 | Target |
1150.00 | 1225.00 | 25.00 | 75.00 | Target |
1225.00 | 1300.00 | 25.00 | 75.00 | Target |
1300.00 | 1250.00 | 50.00 | 150.00 | Stop |
1250.00 | 1225.00 | 25.00 | 75.00 | Stop |
1225.00 | 1212.50 | 12.50 | 37.50 | Stop |
1212.50 | 1206.25 | 6.25 | 18.75 | Stop |
1206.25 | 1203.12 | 3.12 | 9.37 | Stop |
1203.12 | 1201.56 | 1.56 | 4.68 | Stop |
1201.56 | 1203.90 | 0.78 | 2.34 | Target |
1203.90 | 1206.24 | 0.78 | 2.34 | Target |
1206.24 | 1208.58 | 0.78 | 2.34 | Target |
1208.58 | 1210.92 | 0.78 | 2.34 | Target |
1210.92 | 1215.60 | 1.56 | 4.68 | Target |
8. Trading Plan
We are plan our trading levels into overall plan to execute on account. That`s called expert activity cycle program. Here is our plan that`s based on risk 5% to ratio 15% with 1:3 relation.
Level | Start | Profit | Result |
---|---|---|---|
0 | 100.00 | 60.00 | 160.00 |
1 | 160.00 | 120.00 | 280.00 |
2 | 280.00 | 240.00 | 520.00 |
3 | 520.00 | 480.00 | 1000.00 |
4 | 1000.00 | 960.00 | 1960.00 |
5 | 1960.00 | 1920.00 | 3880.00 |
6 | 3880.00 | 3840.00 | 7720.00 |
7 | 7720.00 | 7680.00 | 15,400.00 |
8 | 15,400.00 | 15,360.00 | 30,760.00 |
9 | 30,760.00 | 30,720.00 | 61,480.00 |
10 | 61,480.00 | 61,440.00 | 122,920.00 |
11 | 122,920.00 | 122,880.00 | 245,800.00 |
12 | 245,800.00 | 245,760.00 | 491,560.00 |
13 | 491,560.00 | 491,520.00 | 983,080.00 |
9. Dashboard
We are looking for dashboard expert advisor that run on one chart and monitor list of charts they come from InpCharts (seperated via comma). On main chart we want a visual table to show below information about each chart and enable/disable button for that chart (Attention: Every chart has their own risk management it means we calculate 4 TPs hits on GBPUSD just positions of GPBUSD for example).
Type | Title | Format/ e.g. | Description |
---|---|---|---|
String | Chart | e.g. GBPUSD | The instrument official name from InpCharts arrayList. |
String | Session | e.g. London/Tokyo/NewYork | Button for each session to enable or disable session this chart will be active to trade(Just open trades on that session). |
Integer | Spread | e.g. 12 Points | Show spread of chart. |
Double | Commission | e.g. 6.78 | Show commission per lot of chart. |
String | Risk Management Level | e.g. 7/13 | We have 15 levels of risk management, reference to trading plan table(no. 8) |
String | Risk Management Step | e.g. 2/4 | Count of TPs step, that means count last consecutive positions hit target profit. |
String | Positions count | e.g. 3 Long/0 Short | Calculate long/short count of current positions. |
String | Positions size | e.g. 0.12 Long/ 0.00 Short | Calculate long/short size of current positions. |
Double | Unreleased P&L | e.g. 2,180.94 (Profit green, loss red colored) | Calculate real time result of unreleased(open) positions. |
String | Win/Loss (Win Rate) | e.g. 12 wins/4 losses (66.66%) | Calculate win/loss of previous positions (from history). |
String | Growth | e.g. 24,865.05 (1213%) | Calculate amount and percentage of growth/loss of account (from history). |
Button | Enable/Disable | Enable(Green) or Disable (Red) | That enable/disable chart to monitor by expert advisor. |
Button | Three Close Button | Close all/profits/losses | Three button to close all positions, in profit positions, or in loss positions of chart. |
NONE | Summary | NONE | NONE |
Double | Balance | e.g. 176.12 | Balance of account |
Double | Equity | e.g. 195.07 | Equity of account |
Integer | Avg. RM Level | e.g. 5/13 | Average level of risk management program. |
Integer | Avg. RM Step | e.g. 3/4 | Average step of risk management program. |
String | Charts | e.g. 12/20 (Active/All list) | Count of active charts/All charts from InpCharts. |
Integer | Positions | e.g. 13 | Count of open positions. |
Double | Lots | e.g. 4.96 | Count of current lot size of open positions. |
Double | Current P&L | e.g. 18.95 | Calculate current P&L of all charts. |
10. Additional Description
- Please just send application if you read whole descriptions and full experienced in each of topics.
- We also need spread filter if more than x points do not open position.
- We have some extra inputs for experts as magic, comment, risk to ration in percentage(1,3 or 5,15 seperated via comma), start lot size. max lot, and max positions.
- Most important topic for us is supply and demand detect system specially that functionality in live market.
- We get indicator version of supply and demand in end of project.
We do our best to document what we want and how it will work. We know in progress of project, maybe we will have some changes or good consultation to make better final product and that can be effect on price, we are open to that and make us happy to have a perfect final version. This project is result of our 4 years research about our main program and this is first version that passed the manual tests on last 4 months.
Kind regards