Tâche terminée
Spécifications
1. The idea of the trading system is as follows: Supply and Demand.
2. Supply and demand are zones where price has an exact reaction to them. In our project we have source code from “shved supply and demand” source code in mql4. We want an expert advisor with features that we explain in next words.
0. We can update zones drawed by the shved indicator. Also lock option that means zones must be kept (shved is a reform indicator so zones in some way deleted).
1. Functionality Mode: We have 3 mode that will be select from input:
-
Indicator mode (Just show zones from shved indicator)
-
Draw Mode
-
Semi Auto Trade (Indicator mode + click on zones to set positions)
-
Auto Trade (Indicator mode + set positions automatically)
2. Multi time frame: If this feature is set to active we get three time frames from inputs as Long Term, Mid Term, and Short Term time frame e.g. D, H1, 15M. This means in every mode. In indicator mode we show all time frame zones in one chart as current time frames show zones as rectangles, show Mid Term as dash lines and show solid lines for Long Term. Style of lines and rectangles will come from inputs. In Semi trade mode as indicator mode, also when clicking on zones just open or set positions for short term zones. In Auto trade mode open / set positions as semi mode, just on short terms.
3. Trail entry price: If this feature is set to active from inputs, when price enters the zone, trail price to get lower/higher quote and then immediately open price. Also trail stop step and stop trail stop distance (when trail stop not activated and price come back from near the zone or hit just price of zone) comes from inputs.
4. Reverse Positions: In this feature, expert set reverse trade on zone, e.g. on supply zone main trade is sell but expert set buy also on zone like vice versa. Until take profit hits we will have a reverse position, this means if first sell hits SL and then activated buy and hit SL we have second sell and if hit TP we will not have second buy. When SL of the first trade hit and at the same time open first buy position (sell SL equal buy entry price (with spread calculation)) and after open buy we set new sell position on zone and again and again until max reverse repeats from inputs.
5. Draw Custom Zones, in this feature we need to draw rectangles as zones manually. For this option we can add a toolbox section on top of charts or corners. In this feature we add some buttons to chart as supply tool, demand tool.
6. Rounded Numbers Filter, this filter has input that means PIPs distance from rounded number, so if enabled we just show zones with that range from rounded numbers.
7. Martingale, for this feature we need a multiplier and step inputs, if set enable after x step hit stop loss consecutively, we open the next order with a multiplier for position size.
8. Near Zones Filter, if this option sets a number that means filter (don`t show) zones their distance smaller than input number in PIPs.
9. Alert, Notification, Email
10. Position Techniques, here we have several options for position management sub system of order system.
-
3 Positions, if set to enable open 3 positions (divided position size in 3) then divided from open price until target to 3 steps, then when first step target, set two other positions stop losses to open price of first position, when second position TP hits set stop loss of third position to TP of second position.
-
Close Partial, in this input if set array (separate with commas) we close x percentage in y percentage or PIPs (get y calculation mode from input) close position size. e.g. 0.2,30 it means when position reaches 0.2% of account in profit so close 30% of position size.
-
Risk Free, if set this to enable, when x PIPs or percentage (get PIPs or percentage from input) of account go to profit set stop loss to enter price + commission of position.
-
Trail Stop Loss, in this feature we get x and y from inputs, x stands for start trail stop after x PIPs or Percentage (get mode from input), y stands for step of trail in every y PIPs or percentage (get mode from input).
3. Trading Signals:
Buy-
1. Auto Mode: when price enters or breaks demand zones (zone defined as far of two price levels e.g. rectangle on chart) we enter a long position. If a multi time frame is activated from inputs, we analyze 3 time frames for entering e.g. 15m, 5m, 1m.
-
2. Semi Auto: When clicking on a button near or inside the zone, one of them stands as L for limit positions and another stands for M as open market position.
-
1.Auto Mode: when price enters or breaks supply zones (zone defined as far of two price levels e.g. rectangle on chart) we enter a short position. If a multi time frame is activated from inputs, we analyze 3 time frames for entering e.g. 15m, 5m, 1m.
-
2. Semi Auto: When clicking on a button near or inside the zone, one of them stands as L for limit positions and another stands for M as open market position.
Sell
4. Positions are closed
-
Hit take profit was set when the position opened, based on risk management and money management programs.
-
Hit stop loss which was set when position opened. That calculation depends on zone size (lowest/highest price on zone).
-
Hit stop loss that is modified by the trailing stop system on auto trade mode.
-
Close some part of position size based on position management program.
5. Positions are opened at the market price or click by trader, when a price enters or breaks a supply or demand zone.
6. Money Management
We define and get ready 4 money management plans as selected from inputs.
20 PIPs challenge we will share with you.
16S Program we will share with you.
Auto Money Management plans use 1% percentage (balance or equity from input) per position.
Custom Money Management plans use a custom percentage (balance or equity from inputs) or lot size array per balance e.g. x1,y1,x2,y2,x3,y3 so x1 stands for balance and y1 stands for lot size.
7. Risk Management
20 PIPs plan as above table in money management.
16s Program is also as above table in money management.
This plan (16s depend on other inputs like reverse or martingale features).
3X4 plan is here:
We use the 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 loss hits we make half our lot size. Below we get an example to clarify risk management system functionality. R:R ratio and risk and reward will come from inputs.
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. Inputs
We listed inputs for the product to be sure the details are clear.
Type | Title | Format/ e.g. | Description |
---|---|---|---|
Double | Mode | Enum | 1.Indicator Mode 2.Draw Mode 3.Semi Auto Trade 4.Auto Trade |
ENUM | Indicator Mode | ENUM | 1. Regular (Day Trading) 2. Aggressive (Scalp) 3. Confidence (Swing Trading) |
Bool | Multi Time Frame | True/False | |
Enum | Long Term Time Frame | Enum | Time Frames |
Enum | Mid Term Time Frame | Enum | Time Frames |
Enum | Short Term Time Frame | Enum | Time Frames |
Integer | Long Term Style | ||
Double | Long Term Color | ||
Double | Long Term Fill | ||
Integer | Mid Term Style | ||
Integer | Mid Term Color | ||
String | Mid Term Fill | ||
Integer | Short Term Style | ||
Double | Short Term Color | ||
Double | Short Term Fill | ||
Bool | Trail Entry | ||
Double | Trail Entry Step | In PIPs | |
Double | Trail Entry Stop | In PIPs | Distance from zone |
Integer | Reverse Positioning | 0=disabled 0<max positions | |
Bool | Martingale | ||
Integer | Consecutive Stops | e.g. 3 | |
Double | Multiplier | e.g. 2.5 | |
ENUM | Position Management | ENUM | 1.3 Positions 2.Close Partial |
String | Close Partial | [x1,y1,x2,y2,...] | X stands for position and Y stands for profit |
ENUM | Close Partial X Mode | 0. PIPs 1. Percentage | |
ENUM | Close Partial Y Mode | 0. PIPs 1. Percentage | |
Integer | Risk Free | 0 is disabled and above is active when reach number | |
ENUM | Risk Free Mode | PIPs / Percentage | |
ENUM | Risk Free Extra | Commission/Spread/Both | |
Double | Trail Stop Loss | 0 is disabled and above is active | |
ENUM | Trail Stop Loss Mode | PIPs / Percentage | |
Double | Trail Stop Loss Step | ||
ENUM | Trail Stop Loss Step Mode | PIPs / Percentage | |
ENUM | Money Management | 1. 20 PIPs Challenge 2. 16S Program 3. Auto (1%) 4. Custom | |
String | Custom Array | [x1,y1,x2,y2,...] | X stands for Balance/Equity and Y stands for position size |
ENUM | Custom X Mode | Balance / Equity | |
ENUM | Risk Management | 1. 20 PIPs Challenge 2. 16S Program 3. 3X4 4. Custom | |
String | Risk to Reward | 1:3 | |
Double | Profits Steps | 4 | |
Double | Profits Multiplier | 2 | |
Double | Losses Steps | 1 | |
Double | Losses Multiplier | 0.5 | |
Bool | Spread Calculation | On target or stops | |
Double | Max Spread | ||
Double | Max Slippage | ||
Integer | Max Zone Trade | Max trades on each zone | |
Bool | Tool Box | 1. Draw Supply Zone 2. Draw Demand Zone 3. Update Zone 4. Delete Zone 5. Keep Zone 6. Turn Zone (Supply to Demand and vise versa) 7. Close Positions Manual | |
Bool | Zone Information | Show information on top, side or bottom of zone 1. PIPs 2. Position Size 3. Positions history 4. Zone Usage 5. R:R 6. Step to max reverse 7. Step to Martingale 8. Prices of Entry, TP, SL | |
ENUM | Zone Information Position | Top/Bottom/Right/Left | |
Double | Rounded Numbers | 0=disabled 0<max distance in PIPs | |
Double | Near Zones | 0=disabled 0<distance in PIPs | |
Bool | Zone Size | ||
Double | Max Zone Size | In PIPs | |
Double | Min Zone Size | In PIPs | |
Bool | Alert | ||
Bool | Notification | ||
Bool | | ||
Bool | Touch/Enter Zone | ||
Bool | Reverse Zone | ||
Bool | Break Zone | ||
Bool | Create Zone |
9. Additional Description
-
Please just send an application if you read whole descriptions and full experience in each of the topics.
-
We have some extra inputs for experts such as magic, comment, max lot, and max positions.
-
Most important topic for us is a smooth performance system, especially that functionality in the live market.
We do our best to document what we want and how it will work. We know in the progress of the project, maybe we will have some changes or good consultation to make a better final product and that can have an effect on price, we are open to that and make us happy to have a perfect final version. This project is the result of our 4 years research about our main program and this is the first version that passed the manual tests in the last 5 months.
Time and performance are matter, price is not our budget and not real, feel free to send your own offer.
Kind regards