Minor adjustments to existing EA - MQL5 Wizard - Trade Signals Based on Bullish/Bearish Meeting Lines + CCI - expert for MetaTrader 5

MQL5 Experts

Specification

Using the following EA:

https://www.mql5.com/en/code/319

Create the following entrance and exit scenario:

Remove (actually comment out) all "voting" code on long, short buy, sell close

Add the following:

Input int MaxTrades = 5 // default

input int OpenLongAt = 100; // default

input int OpenShortAt = -100; // default

ATRStopLossMultiple = 1; // default

input double CapitalPercent = 2.0;

always use 2% of available Margin - default interpretation: using ATR, calculate backwards how many lots can be bought or sold for 2% of available margin

Coding interpretation:

Use all of the existing code, comment out what is not needed.  No deletions of Wizard generated code, please!

use int openTrades to count trades up to MaxTrades

Always only trade in one direction.  Close all Trades before looking for the next Open Long or Open Short trade.


Long Trade Interpretation

CCI must pass from below 100 (OpenLongAt) to above 100 to generate a Long Trade.

It is possible that the CCI Index will oscillate up and down above and below 100.  This is OK.  Pick up additional trades to a maximum of MaxTrades every time the CCI Index passes from below, to above 100 (OpenLongAt).

To close a Long Trade, the CCI Index must pass below 100, then through 0.  When the CCI Index finally passes below 0, close all open long trades.


Short Trade Interpretation

CCI must pass from above -100 (OpenShortAt) to below -100 to generate a Short Trade.

It is possible that the CCI Index will oscillate up and down below, then above -100 (OpenShortAt).  This is OK.  Pick up additional trades to a maximum of MaxTrades every time the CCI Index passes from above to below -100 (OpenShortAt).

To close a Short Trade, the CCI Index must pass above -100 then throug 0.  When the CCI Index finally passes above 0, close all short trades.



Source code will be required upon payment of the final product.


Responded

1
Developer 1
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free
2
Developer 2
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Similar orders
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en
I have the bot just over half made, from another developer who let me down and decided they no longer wished to finish the project, so I have a basic example of the fundamentals of what it could look like, although multiple functions I require do not work, but I can show this to you on request. There are multiple features that I require, so please read the in depth requirement sheet on the attachment. Function: To

Project information

Budget
Deadline
from 1 to 2 day(s)