Add a Hedging-System into an existing EA

MQL4 전문가

작업 종료됨

실행 시간 8 일
고객의 피드백
Really good work, program exactly(!) that what I want. very fast with a extreme good knowledge. I'm very satisfied with Aleksei and his hard work. I can recommend Aleksei for 100%!

명시

My EA have a clear entry/exit System with a trailingstop if the trade go in profit. the goal is to improve the losses. I want  for this a simple hedging-system that autonomous work. the hedging-trades should have TP, SL and TS as well compare like the initial-trades! The question is, how should or better when should the EA entry an opposite (hedging) trade. for this, the EA should have a simple function. The ea should have the function "Hedge at loss Pips" because I want to defined the value of X pips if the initial-trade goes in wrong direction. also the lot-size should be defined e.g. hedge lots percent.

My EA works in Minipis, that mean, 1pip =10Minipip!

The EA has a Bug, because he trade not on live:(....


EA rules:

- If the closing price of the previous candle was higher than the current - EA opens sell (Position with a defined TP, SL and TS ). Close sell if TP or TS

- If the closing price of the previous candle was lower than the current - EA will open buy (with a defined TP, SL and TS ). Close buy if TP or TS

- TS like in Code

- Hedge-Position => If Initial-Sell/Buy-Position goes X-Pips in wrong direction then he should open an opposite Position. Lotsize should be variabel => Rules for the Hedge; Hedge should have TP, SL and TS as well (same like initial-position) If Hedge are in profit, intial-Position remove his TP+SL to same TP+SL like hedge. If Hedge close in profit, initial-Position close immediately.

응답함

1
개발자 1
등급
(885)
프로젝트
1410
67%
중재
123
32% / 41%
기한 초과
218
15%
무료
게재됨: 1 코드
2
개발자 2
등급
(25)
프로젝트
54
37%
중재
4
0% / 50%
기한 초과
22
41%
무료
3
개발자 3
등급
(133)
프로젝트
185
30%
중재
77
9% / 73%
기한 초과
77
42%
무료
비슷한 주문
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that
looking for Expert to create or ready made solution for bonus hedge auto set cross trading of opposite trading strategy. the expert may guide what max and best he can do to make the EA perfect
Set specific time to run this function(order). The time can be hard-coded or inputted by user. Time format: HH:MM:SS:ss Example: 17:58:48:59 -> This means an order will be triggered at 5 pm 58min 48sec 59 today. Set “Stop loss” and order a Sell stop. “At price” triggered automatically: current(specific time set above 1) Gold price - 2$ Stop loss: current Gold price + 2$ Volume: 0.1 (It can be hard-coded or inputted
Simplebot 30+ USD
#include <Trade/Trade.mqh> CTrade trade; input double LotSize = 0.1; input int FastMA = 10; input int SlowMA = 20; int fastHandle, slowHandle; // Initialize indicators int OnInit() { fastHandle = iMA(_Symbol, PERIOD_CURRENT, FastMA, 0, MODE_SMA, PRICE_CLOSE); slowHandle = iMA(_Symbol, PERIOD_CURRENT, SlowMA, 0, MODE_SMA, PRICE_CLOSE); return(INIT_SUCCEEDED); } void OnTick() { double fastMA[2]; double
I need an Expert Advisor (EA) for MetaTrader (MT4 or MT5) based on the following scalping strategy. Platform: MT4 or MT5 Symbol: EURUSD (should work on other pairs as well) Timeframe: M1 or M5 Indicators: - EMA 9 - EMA 21 - RSI (14) Buy Conditions: - EMA 9 crosses above EMA 21 - RSI > 55 - Spread < 1.5 pips - Only one trade at a time Sell Conditions: - EMA 9 crosses below EMA 21 - RSI < 45 - Spread < 1.5 pips -
In need of an automated bot that strongly detect support and resistance zones where price has a high probability of reacting ,rejecting or reversing. The zones should be built on combibation of of : (a)swing high and swing low.(b)repeated price reaction c)rejection strength (d)break and retest behaviour (e) consolidation origin before implusive move (f) strong displacement candles
I need a mt5 Expert advisor ea to manage intraday trades with strict risk management. The EA must -Handle between 5 to 8 clean trades a day max altogether throughout all 3 sessions. no big news trading times and no overnight trades -Use 1% on forex pairs and upto 2% on XAUUSD risk per trade - Automatically calculate lot size based on stop loss -use fixed RR ratio [1:2] For forex pairs, the stop loss should be

프로젝트 정보

예산
10 - 20 USD
기한
에서 1  3 일