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.
비슷한 주문
I need an expert Ninjatrader8 developer that can build this indicator. Can you build indicator like this? Ather https://share.google/HaxK5snnOWFR08ghd If you know you can do this send me message or bid to my proposal
i need someone that can make me an EA really easy with the martingala system?, I am looking for something that doesn't exceed 5 trades for the martingale, I think I did it, but it only works for propfirms, So i need to develop it on ninja trader I have identified a very very simple strategy but it only works on propfirms, with only two propfirm accounts, i absolutely need account A and account, And they have to open
I want to develop a custom trading indicator based on the functionality shown in a YouTube video and the indicators available on a website that I will provide. The main indicators/features I want to replicate or develop are: Volume Profile – Display volume distribution at different price levels, including key levels such as POC, VAH, and VAL where applicable. Order Flow – Analyze buying and selling activity at each
I’m looking for a developer to help automate trade execution from a TradingView Pine Script indicator I’ve already built for NQ/ES futures. The indicator already generates final LONG and SHORT entry signals, so I mainly need help connecting those signals to a broker or execution platform through alerts/webhooks. I’d like the system to support automatic entries, stop losses, profit targets, and basic protections such
I'm a ninja trader day trader and I have worked with a company called Legendary Trader and use their indicated and automated strategies to trade. I rencenly have been playing with a free indicator I was able to download that uses CCI & ATR calculations to define the market being in an up or down trend. I have found in reviewing historical data that taking a trade when the signal flips from bull to bear sentiment or
Develop an Expert Advisor for MetaTrader 5 that manages existing positions. Features Automatically detect all open positions. Apply Break-Even after price reaches a configurable profit. Partial Close: Close X% of volume at the first target. Move Stop Loss to Break-Even. ATR Trailing Stop (optional). Magic Number filter. Comment filter. Symbol filter. Trading session filter. Retry mechanism for trade operations
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB