Completion of EA based on Horizontal lines

MQL4 指标 专家

工作已完成

执行时间2 天
客户反馈
Excellent coder easy to work with and quick to make adjustments and resolve problems.
员工反馈
Thank you for the bonus!

指定

The goal is simply to get each section of the EA to work as described.

Basic Trade concept/logic: (this is currently not functioning correctly)

User draws their own horizontal lines using the horizontal line tool in MT4. There can be no limits on how many or how few lines are drawn on the chart in MT4. Trades should only be taken on the user drawn Horizontal line +/- offset if >0

Trade Lines are active only if market price has been further than activation distance from the line. For example if activation distance is 25 pips and the market is 30 pips below a line then that line is active as a buy trade when the market touches that line. If a stop loss has been hit and it is within 25 pips of the line then that line is not active again until the market moves 25+ pips away from that line. If the market is above a line by activation distance then that line will be a sell trade. If it is below then it will be a buy trade.

Take Profit is optional:(this currently works)
Take profit can be left empty/open if set to 0

Move to Break even:(this is currently not functioning correctly)
This is a fairly common practice when the break even trigger distance is reached then the stop loss is moved to a profitable position at entry price+/- Break even pips.

Extra Risk Management: (not able to test)
If set to true then the EA will check to see if any open trades regardless of magic number have stop losses set to less than break even and if so will prevent new trades from being taken. It is my intent to run as many as 8 instances of this EA on different pairs this is to prevent correlated pairs from taking simultaneous loosing trades.

Incremental Trail: (not currently working)
This will move all stop losses for trades going the same direction at the same time. For example if there are 3 lines and the market has moved through each then when the second is taken the first gets the same stop loss and when it moves to break even both open trades have their stop losses moved to middle line entry +break even pips on the profitable side. When the third is opened all 3 trades have the same stop loss and upon break even all 3 again are moved to the same level.

Offset:(This currently works)
If a line is draws directly on support/resistance and i want a buy trade to be taken 20 pips up and a sell trade 20 pips down then the offset is set to 20 this way when the market moves through the line the trades are taken not on the line but at the offset from the line. The activation distance is affected as well so if activation is 25 pips then the market needs to be 25 pips from the line +/- offset not just the line its self.

Slippage:(not sure how to test this)
I believe this is working but essentially this sets acceptable slippage for those times when the market is moving quickly.

Magic Number:(this is working)
Everyone knows what this is. Since I will be running multiple instances on different pairs they each need to keep track of their own trades in order to operate the move to break even and incremental trail functions without altering trades taken on other pairs.

Automatic Lot Calculation: (This is not working) 
If set to true then each trade is taking according to free margin, initial stop loss, and risk%. Simply put if the risk is 2% then any trade that activates and then hits its stop loss before moving to break even will lose exactly 2% of my free margin at the time the trade was taken.

Forced lot size: (This works)
If automatic lot calculation is set to false then this is the lot size used.



附加的文件:

反馈

1
开发者 1
等级
(849)
项目
1454
72%
仲裁
122
29% / 48%
逾期
356
24%
工作中
发布者: 3 文章
2
开发者 2
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
3
开发者 3
等级
(144)
项目
285
42%
仲裁
19
63% / 5%
逾期
29
10%
空闲
发布者: 2 代码
4
开发者 4
等级
(204)
项目
326
43%
仲裁
34
32% / 29%
逾期
83
25%
空闲
5
开发者 5
等级
(43)
项目
74
50%
仲裁
5
0% / 60%
逾期
19
26%
空闲
相似订单
Gold_m1_ob_bot. 30+ USD
import MetaTrader5 as mt5 import pandas as pd import time from datetime import datetime # ================== CONFIG ================== SYMBOL = "XAUUSD" TIMEFRAME = mt5.TIMEFRAME_M1 LOT = 0.01 MAX_OBS = 12 # keeps signals frequent ATR_PERIOD = 14 IMPULSE_FACTOR = 1.5 # strong candle = impulse SESSION_START = 8 # GMT (London open) SESSION_END = 20 # GMT (NY close) MAX_SPREAD = 30 #
I have existing compiled indicator and script files (EX4) and would like to have them recreated in both MQL4. ⚠️ Important: This project is NOT for decompiling or reverse engineering. Instead, the goal is to: Analyze the behavior and output of the provided files Recreate equivalent functionality from scratch Deliverables: 1 MQL4 indicator source code (.mq4) 1 MQL4 script source code (.mq4) Requirements: The recreated
I need a good programmer to help convert an existing indicator to a trading EA that can work on both MT4 and MT5. The expected features on the EA is as follows: Max Spread: Magic Number: Take Profit: Stop Loss: Trailing Stop: Fixed Lot Size: Money Management: false/true Min Lot Size: Max Lot Size: Risk to Trade %: Daily Profit Target %: Add news filter. Get my jobs with source code
A perfect indicator 30 - 80 USD
Merge nearby zones yes/no Alert on/off Label on/off Show only current relevant zones near price yes/no Distance filter from current price Zone transparency Colors Preferred Output on Chart: I want the indicator to show only: the strongest nearby support zones under price the strongest nearby resistance zones above price major higher timeframe zones clean chart view I do not want excessive clutter. Entry Assistance
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
I need an MT5 Expert Advisor built as a high-precision volumizer for Forex. Its core purpose is to generate controlled trading volume for rebates, while still maintaining low-risk account growth. I am not looking for aggressive profit chasing. I am looking for a stable, intelligent EA that can produce volume in a disciplined way without damaging the account. The ideal system should trade major currency pairs, avoid
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello! I want to programm EA that uses volume profile indicator, but I am not sure if this is possible. Only experienced programmers please, I will not select a programmer who did only few jobs. Before starting I need to make sure you understand everything and that this is for sure technically possible

项目信息

预算
30+ USD