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

MQL5 전문가

명시

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.


응답함

1
개발자 1
등급
(34)
프로젝트
80
34%
중재
13
31% / 54%
기한 초과
19
24%
무료
2
개발자 2
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
비슷한 주문
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
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
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

프로젝트 정보

예산
기한
에서 1  2 일