Minimal Take Profit (Expert Adviser needs to decide to open and close trades based on immediate past currency prices)

MQL4 전문가

작업 종료됨

실행 시간 18 일
피고용인의 피드백
Thanks Bisenti, it's been a pleasure to work with you.
고객의 피드백
Great work!

명시

I am new to Forex trading and not familiar with the Jargon and principles but this is what I have in mind which I will explain the best I can...

 

A trade opens with both a Buy (B) and  Sell (S) Order Price (OP) at an either automated or Manually set Time (T), The Periodicity (P) is set to say, 5 Minutes to check the current Currency Price (CP) every 5 Minutes. The Currency Price (CP) at 5 minutes is compared with the order price of both Buy and Sell orders. If the Currency Price (CP) is greater than the Order Price (OP) then the system continues with the Buy order and closes off the Sell order. If the Currency price is less than the Order Price (OP), then the system continues with the Sell and closes of the Buy Order (B).

 

Buy

 

Let’s Say the CP (at T+P) is greater than the OP, then the Sell will be closed off with a loss of (L = CP - OP), the Buy stays open because the Currency Price (CP) is greater than the Order Price (OP). This process has shown us in which direction the order is moving, upwards.

 

The System saves the New Price (NP), which is the Currency Price (CP) at Time (T). At time (T = T+2P), the system again compares the Currency Price (CP) with the New Price (NP) and if the CP is greater than NP, then CP becomes the new NP. At time (T = T+3P), the system will again compare the Currency Price (CP) with the New Price (NP) and again, if CP is greater the NP, then CP becomes the new NP. This process repeats itself until NP is greater than CP and at this Closing Price (ClP), the System closes the order to take whatever profit has been made and at the same time, opening a New Buy (B) and Sell (S) order at a new Order Price (OP) to begin the process again.

 

Sell

 

Let’s Say the CP (at T+P) is Less than the OP, then the Buy will be closed off with a loss of (L = OP - CP), the Sell stays open because the Currency Price (CP) is less than the Order Price (OP). This process has shown us in which direction the order is moving, downwards.

 

The System saves the New Price (NP), which is the Currency Price (CP) at Time (T). At time (T = T+2P), the system again compares the Currency Price (CP) with the New Price (NP) and if the CP is less than NP, then CP becomes the new NP. At time (T = T+3P), the system will again compare the Currency Price (CP) with the New Price (NP) and again, if CP is less the NP, then CP becomes the new NP. This process repeats itself until NP is less than CP and at this Closing Price (ClP), the System closes the order to take whatever profit has been made and at the same time, opening a New Buy (B) and Sell (S) order at a new Order Price (OP) to begin the process again.

 

This Entire Process is recurring and the logic applies to both the Sell and Buy orders. The actual profit of a trade would be the difference between the Order Price (OP) and Closing Price (ClP) minus the loss (L).

Please find attached an illustration to further clarify my explanation.

파일:

ZIP
fxAlgorithm.zip
275.8 Kb

응답함

1
개발자 1
등급
(8)
프로젝트
10
40%
중재
7
14% / 86%
기한 초과
4
40%
무료
2
개발자 2
등급
(461)
프로젝트
688
56%
중재
43
30% / 33%
기한 초과
110
16%
작업중
3
개발자 3
등급
(128)
프로젝트
206
49%
중재
29
28% / 48%
기한 초과
33
16%
무료
4
개발자 4
등급
(128)
프로젝트
236
65%
중재
30
37% / 23%
기한 초과
49
21%
무료
5
개발자 5
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
6
개발자 6
등급
(15)
프로젝트
68
46%
중재
6
0% / 100%
기한 초과
6
9%
무료
7
개발자 7
등급
(1235)
프로젝트
2820
80%
중재
156
22% / 43%
기한 초과
489
17%
무료
8
개발자 8
등급
(30)
프로젝트
93
49%
중재
18
56% / 17%
기한 초과
38
41%
무료
9
개발자 9
등급
(48)
프로젝트
91
31%
중재
28
29% / 43%
기한 초과
42
46%
무료
10
개발자 10
등급
(261)
프로젝트
535
50%
중재
54
41% / 37%
기한 초과
224
42%
작업중
11
개발자 11
등급
(187)
프로젝트
367
56%
중재
45
22% / 56%
기한 초과
188
51%
무료
12
개발자 12
등급
(3)
프로젝트
6
17%
중재
1
100% / 0%
기한 초과
0
무료
13
개발자 13
등급
(71)
프로젝트
254
53%
중재
16
50% / 38%
기한 초과
83
33%
무료
14
개발자 14
등급
(18)
프로젝트
21
38%
중재
17
0% / 88%
기한 초과
2
10%
무료
비슷한 주문
Project Overview: We are seeking an experienced developer to create a custom Copy Trading Expert Advisor (EA) that supports two-way communication between MetaTrader 4 (MT4), MetaTrader 5 (MT5), and cTrader trading terminals. The EA should enable seamless copying of trades from one account to another, incorporating additional settings for flexibility and customization. The project will involve developing a DLL
I am currently seeking the expertise of a skilled MQL5 developer to assist with a custom trading bot project tailored to specific requirements. The project entails the development of a versatile trading bot capable of implementing both manual and automated strategies, with flexibility to switch between strategies seamlessly. Additionally, the bot should be designed to convert profits automatically into USDT, allowing
PRESQUE PAREIL QUE L’AUTRE ROBOT AVEC QUELQUE PETIT CHANGEMENT. IL N’Y AURA PLUS DE SL; SI TU PEUX M’ENVOYER TON MAIL, JE T’ENVOIE LE DOCUMENT QUI EXPLIQUE LE MODELES DU ROBOT QUE JE VEUX. @page { size: 8.27in 11.69in; margin: 0.79in } p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
Hello I need an indicator edited . So I need the ichimoku indicator edited to show when the kijun -Sen and tekan- Sen are both pointing up and the chikou have to be above candles and Senkou span A have to also be pointing up I need an up arrow vice versa for sell. I will need a alert when that happen as well
Mt4 EA 30+ USD
Would it be possible to get a reasonable quote for an MT4 EA with multiple trade entry criteria. With the help of chatgpt I've got a code that compiles without errors or warnings that I have attached in a zip file, it is simply not taking valid trade signals. Not sure if it's of any use to you or if it's better to start from scratch. talk soon
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
I trade in future indices of a Brazilian brokerage via MT5 and would like to import the data of another future index (djia future - which does not exist at the brokerage where I operate) into a new window, showing its price and volume variations in the shortest possible time. This new Symbol should also have the capability to be displayed in candlestick mode and adjustments in its timeframe. I will use an indicator
I have an EA with the sourse code but instead of using an FX blue copier to invert the trades i want the EA to reverse its Strategy. For example if the EA wants to buy it will sell. And the stop loss and take profit will be inverted also
Hi I'm looking for a developer who can improve on an existing basic EA that isn't quite working correctly due to a lack of comprehension from the previous coder on the logic. It's a hedging system that trades in the opposite direction to a bad entry by entering every x pips until the average of all the bad trades and the good trades are in profit. It then closes all of them at the same point which is in profit by x
Hello everybody I would like to modify an existing indicator. I want to create a Dashboard that will display alerts created by my personal indicator called TREND. It will have to display alerts created on several timeframes and for several currencies. Each currency will need to be able to modify its own TREND indicator settings. The TREND indicator settings will be accessible by double-clicking on the currency name

프로젝트 정보

예산
100 - 200 USD
개발자에게
90 - 180 USD