Order management EA

MQL5 전문가

명시

Hi, I am trying to get an EA to manage my trades with just the click of a button. This is the NNFX way for those who are wondering. 

I am trying to trade futures, so the entry would be per 2 units increment. This formula should only work with even numbers because of the two halves. However, I would like to set an exception to the previous mentioned condition as I would like to be able to set only one unit, which would only follow part A in the following instructions. 

This trade assistant consists of the following:

  -Average true range of 14 periods (The ATR is in all mt4s and mt5s). It is just an average of how much the price has moved in the last 14 periods or candles. 

-Two parts of the same trade. Let’s call them Part A and Part B.

-Stop loss.

-Take profit, which would lead into the adjustment of the stop loss.

-If the conditions are given, trailing stop that would follow the price 1.5 ATR from the highest if buying (or lowest if selling) closed price.

-A way of selecting close all positions

-A way of selecting the number of contracts I want to place.

-A way of selecting buy or sell with just one click.

-A way of changing any input mentioned such as the periods of the ATR, distance of Stop loss, distance of Stop loss of Part B after Part A reached profit, trailing stop distance and all of that. 

-A risk calculator that would recommend me the amount of contracts to enter(this needs to be displayed in the box were the buttons to buy, sell, and close position are) based on percent or fixed dollar quantity to risk. The amount should be normally changing because the amount of risk should be 1.5 ATR and the 14 period ATR is always changing.

Lest do the following example.  

 

Buy Example:

 

Stop Loss: Stop loss is set as 1.5 x ATR below the entry price. For instance, if ATR was 100, then the stop loss would be 150. This goes for both parts A and B

Take profit: Take profit needs to be 1 x ATR above the entry point. This only goes for part A

After taking the first profit: The trade B’s stop loss if moved to the entry point. This only goes for part B

Trailing stop: Trailing stop is activated only after the price has moved and closed 2 x ATR from the trade entry price. The trailing stop is 1.5 x ATR away from the highest closed price. This trailing stop can be adjusted each time the price closes to a new higher price than the one used to activate the trailing stop. This is only to be done on part B if the conditions are given. Note: the ATR used in here is the one when the trade was placed, not the current.  If the ATR was 100 at the beginning of the trade, and the price closes 200 above(the distance in this example to activate the trailing stop) the price entry and the ATR is 120 at the moment of this happening, ignore 120 and use the 100. 


Sell example:

Stop Loss: Stop loss is set as 1.5 x ATR above the price. For instance, if ATR was 100, then the stop loss would be 150. This goes for both parts A and B

Take profit: Take profit needs to be 1 x ATR below the entry point. This only goes for part A

After taking the first profit: The trade B’s stop loss if moved to the entry point. This only goes por part B

Trailing stop: Trailing stop is activated only after the price has moved and closed 2 x ATR from the trade entry price. The trailing stop is 1.5 x ATR away from the lowest closed price. This trailing stop can be adjusted each time the price closes to a new lowest low. This is only to be done on part B if the conditions are given. Note: the ATR used in here is the one when the trade was placed, not the current.  If the ATR was 100 at the beginning of the trade, and the price closes 200 below(the distance in this example to activate the trailing stop) the price entry and the ATR is 120 at the moment of this happening, ignore 120 and use the 100.

There is a guy that is developing something similar(see screenshot below), but he is still on beta testing and his costumer service was not the best. So, I am deciding to it myself with your help.


You can use all the box as a reference. My suggestion is replacing the Risk % and put there the numbers of contracts. Another suggestion of mine would be removing the "Move to BE" button as that should happen automatically in the previous instructions I gave. The rest can stay. Remember that everything should work with the information of closed candles. The only thing that should change on the fly is the movement of the stop to BE once it reaches the take profit. 


Let me know if you have any questions,


Jose Rubio

 


응답함

1
개발자 1
등급
(7)
프로젝트
12
42%
중재
0
기한 초과
2
17%
무료
2
개발자 2
등급
(74)
프로젝트
121
43%
중재
12
33% / 50%
기한 초과
17
14%
무료
3
개발자 3
등급
(195)
프로젝트
317
35%
중재
64
13% / 56%
기한 초과
82
26%
무료
4
개발자 4
등급
(169)
프로젝트
204
30%
중재
25
40% / 44%
기한 초과
12
6%
무료
5
개발자 5
등급
(5)
프로젝트
6
50%
중재
2
0% / 50%
기한 초과
0
무료
6
개발자 6
등급
(42)
프로젝트
47
30%
중재
12
17% / 75%
기한 초과
6
13%
무료
7
개발자 7
등급
(466)
프로젝트
494
52%
중재
10
60% / 20%
기한 초과
3
1%
무료
8
개발자 8
등급
(62)
프로젝트
84
26%
중재
22
23% / 50%
기한 초과
23
27%
무료
9
개발자 9
등급
(214)
프로젝트
241
75%
중재
10
80% / 0%
기한 초과
4
2%
무료
10
개발자 10
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
11
개발자 11
등급
(40)
프로젝트
86
13%
중재
29
31% / 48%
기한 초과
35
41%
로드됨
12
개발자 12
등급
(566)
프로젝트
639
41%
중재
21
57% / 29%
기한 초과
45
7%
로드됨
13
개발자 13
등급
(66)
프로젝트
143
34%
중재
11
9% / 55%
기한 초과
26
18%
작업중
14
개발자 14
등급
(555)
프로젝트
922
48%
중재
300
59% / 25%
기한 초과
123
13%
로드됨
비슷한 주문
Breakout EA 100+ USD
EA based on the "Universal Breakout" https://www.mql5.com/en/market/product/84400?source=Site +Market+MT4+Expert+Free+Rating006 is needed. This means I need the exact same settings as defined in this specific EA, but I need the following input parameters as well: 1) If stop loss type = "Coefficient from box" the EA must have input parameter to define a minimum of stop loss points in range to open the order. 2) I need
EA 30+ USD
I have an EA bot CODE intend to be use on the MT5 platform, and all I need is a debug expert with full knowledge of what they are doing. The Skillset i need from you as a debugger are: 1. Trading Robot/Robot Debugging 2. Strategy Optimization 3. News Filter PS: I AM WILLING TO PAY $30 AS THAT IS WHAT I HAVE. IF YOU ARE NOT OKAY WITH THE PAY, PLEASE DON'T EVEN BOTHER DECLARING INTEREST I will send you the codes and
I want someone who can create a Automatic mobile trading bot/EA with my kind of strategy...Example: : When The market is buying and rejects an has created an M formation the First leg is higher than the second leg(first leg Higher high,second leg lower high then a line must touch the peak of the Higher high then connect with the peak of the lower High as a Footprint line,then there must be Another line that touches
Hey, having privilege to discuss my trading ideas with a skilled programmer will be the best, I wanted to build a well automated expert advisor that run perfectly on both MT4 and MT5, I would be glad to work with an expert who is able to turn ideas into a well automated mt4 mt5 trading robot, expert advisor EA in Metatrader 4 and 5, reach out if you can help me in achieving my trading target thanks
Hello, Are you able to program an EA from Scratch OR Reprogrammed an existing EA using the source code, Ofcourse I have an MQL4 version of the EA, All I need is another version of this EA with different settings let me, I will be sharing all info via a comment section, kindly reach out if you are skilled in programming an MT4 EA thanks
Gizmogold 30 USD
import pandas as pd import numpy as np import matplotlib.pyplot as plt # Load historical price data (e.g., from a CSV file) data = pd.read_csv('historical_data.csv', index_col='Date', parse_dates=True) # Calculate short-term (e.g., 50-day) and long-term (e.g., 200-day) moving averages data['Short_MA'] = data['Close'].rolling(window=50).mean() data['Long_MA'] = data['Close'].rolling(window=200).mean() # Plot the
This EA uses Progressive and Fibonacci system to cover losses. Here's how it works: I want the fibonacci lotsize system to be modified to go beyond the maximum that was coded. First, It will open two orders: Buy and Sell. It does not set any take profit or stop loss to prevent market manipulation by some brokers. Instead, it directly closes orders once the direction order (bullish or bearish) makes the overall profit
SpotBot45 30+ USD
I know nothing about trading so am looking for a custom made automated trading bot with medium risk and maximum returns.I am looking for about a ten percent return per day minimum and minimise as much risk where possible
Hello, I need help me with fixing a custom indicator for me. I need the indicator buffer value fixing to work perfectly with EA. I think once you bid and check the file you will understand the matter of the issue. Normally the indicator is good to give the signal. But based on the signal I can't get into the EA. Because of the buffer value working issue. Also some time it's doing issue to show the singnal when
i am currently in need of someone who can be able to help me out.i want my custom indicator to be non repainting and i also want the custom indicator to be able to send out all types of alerts...thank you

프로젝트 정보

예산
100+ USD
개발자에게
90 USD