The important part of the project is the auto-optimization of the entry conditions using the System Quality Number Score as the optimization criteria.
I am not concerned about the profitability because the rule below are bogus. The focus is on the auto-optimization.
You may use your own auto-optimization function or you can use the following link as an excellent starting point: https://www.mql5.com/en/code/19392
The auto-optimisation has to be embedded in the attached EA called Optimization_EA without altering any existing functions. Please make code additions understandable by commenting your work.
====================================================================================================================================
AUTO OPTIMISATION ADDED TO THE FOLLOWING ENTRY CONDITIONS ONLY:
if(TradeLong) {
bool LongEntryCondition = (((High[3] < High[5]) && (High[19] < iMA(NULL, 0, pEMA_4, 0, MODE_EMA, PRICE_CLOSE, 1))) && (((High[19+1] > iMA(NULL, 0, pEMA_6, 0, MODE_EMA, PRICE_CLOSE, 2)) && (High[19] < iMA(NULL, 0, pEMA_6, 0, MODE_EMA, PRICE_CLOSE, 1))) && (High[11] > High[16])));
if(LongEntryCondition == true) {openPosition(1);
}
}
// SHORT: (((Low(3) > Low(5)) And (Low(19) > EMA(pEMA_4))) And ((Low(19) Crosses Above EMA(pEMA_6)) And (Low(11) < Low(16))))
if(TradeShort) {
bool ShortEntryCondition = (((Low[3] > Low[5]) && (Low[19] > iMA(NULL, 0, pEMA_4, 0, MODE_EMA, PRICE_CLOSE, 1))) && (((Low[19+1] < iMA(NULL, 0, pEMA_6, 0, MODE_EMA, PRICE_CLOSE, 2)) && (Low[19] > iMA(NULL, 0, pEMA_6, 0, MODE_EMA, PRICE_CLOSE, 1))) && (Low[11] < Low[16])));
if(ShortEntryCondition == true) { openPosition(-1);
}
}
Please contact me with any questions.
類似した注文
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Please may someone assist me with the indicator attached, it has a SERIOUS BUG issue in the sense that when I load it, and activate the template (attached as well) MT4 ALWAYS freezes and then eventually disconnects automatically, ALL THE TIME. It even gets worse to an extent that after disconnecting a number of times mt4 ends up not loading anymore, UNTIL I remove the indicator. Please I WILL NEED A DEMO (FOR A DAY)
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and