작업 종료됨
명시
Hello, I am wanting to create an MT5 EA based on an indicator from MQL market. The Product is attached below. The code snippets of this indicator will also be provided. This EA is based on 3 instances of the Indicator.
As I need to adjust some of the INPUTS accordingly for each pairs. I will need to be able to attach this EA to each pair I chose to. Yet the basket CLOSE INPUT operation should still work for the whole of all trades running at the time of this INPUT being activated.
All source code should be provided on job completion. Thanks for your help in completing my project.
Best regards
INPUTS: Will be as follows:
Variable: Value:
Money Management
Risk Type Fixed Lot Size/% Risk
Fixed Lot 0.01
Risk % 0.25
Trailing Start Compared SL 1.5
Risk Reward 2.5
Break Even 1.5
Close All Positions Basket True/False
TP % Balance 5
SL % Balance 5
Trade Opening Conditions
Entry All Trades True/False
Spread Filter Points 20
News Filter (Web Request) True/False
Stop Trading Before (Minutes) 60
Start Trading After (Minutes) 30
Minimum/Maximum SL Points True/False
Minimum Points 15
Maximum Points 50
Monday True/False
Tuesday True/False
Wednesday True/False
Thursday True/False
Friday True/False
Monday Open/Close 00:00-23:59
Tuesday Open/Close 00:00-23:59
Wednesday Open/Close 00:00-23:59
Thursday Open/Close 00:00-23:59
Friday Open/Close 00:00-23:59
Entry/SL/Trail Conditions
FX Trend Entry
Show Trend Line True/False
FX Trend Period 2.0
FX Trend Deviation 1.5
FX Trend SL AND Trail
Show Trend Line True/false
FX Trend Period 2.0
FX Trend Deviation 2.5
FX Trend Direction Bias True/False
Show Trend Line True/False
FX Trend Period 8
FX Trend Deviation 4
Now that we have the INPUTS out the way. I will explain the basics of the strategy with words and pictures. I will then go through and explain each out the INPUTS in detail. More so the ones that are not self-explanatory.
ENTRY:
OK. ENTRY is based on CLOSED Candle. So we can see rather clear from the picture above. Entry is based on the break of the FX Trend Entry line. The “TREND LINE MUST BREAK”.
MONEY MANAGEMENT:
Money management is based on the FX Trend SL AND Trail line. % Risk INPUT should be measured from ENTRY to FX Trend AND SL line.
SL AND TRAIL:
SL Is based on the FX Trend AND SL line as well. BUT This LINE MUST BREAK. In other words it’s not accurate enough to place the SL on the FX Trend line. SL MUST be activated on the LINE BREAKING. Once trailing SL is activated then it trails down each candle on closed candle.
TREND: The trades will only be taken in this direction should this be set to TRUE. If not then all trades are accepted.
SPREAD: What’s IMPORATNT HERE is to add/subtract spread to the orders so that these trend lines are relevant to the way the system needs to run.
Enter all trades INPUT:
Means to take all trades that are given in the directional bias when we are already in one trade. If yes, then take all additional trades. If NO then only take one trade and wait for it to complete.
Day of week and time of day filter: Self explaining. This is to be based on my terminal time.
Spread Filter: Do not place trades if spread is above this number.
Basket TP and SL: Close all trades if this threshold is hit.
Minimum Points/Maximum Points;
This is the minimum and maximum amount of points for a trade to be entered. So if its set to minimum 15 and max 50 and we get a trade with a SL of 10 then it will not enter it. If we get a SL of 70 it will also not enter it.
This is what a NO TRADE looks like. When the candle closes and breaks the SL line as well. In this case we just take the next long that meets criteria.
This is the INPUTS of the Indicator. I am not too sure if we are to use the EA mode as this will take all graphics away. I need to have the option to use/view the trend line on the chart to see it is working correctly.
Not to sure if this pictures have printed out here. but I will attach it as a specifications as well. PLease ask any questions before starting as this must be completed 1000% correctly.