MQL AI Wizard Community Codebase Library

In this overview, you can view statements addressed by community users as a prompt to the MQL-AI wizard as well as its output.

.

# AI instruction / parameter set Snippet Date
261 Trading Logic Overview:The "Hedge S8EA" trading logic is based on moving averages (MAs) and volume to identify buy and sell opportunities. It utilizes a dynamic hedging strategy and a cumulative profit target for risk management.Parameters:Chart Parameters:Chart NameTimeframeDisplay Parameters:EquityMargin UsedTotal ProfitProfit Percentage TodayProfit Trades TodayLoss Trades TodayCurrent SpreadTrading Parameters:Initial Lot Size: 0.01 lotsTake Profit Target: 100 pipsVolume IndicatorMoving Averages (8-period MA, 10-period MA, and 100-period SMA)Max Spread AllowedMax Number of Entries Allowed: 4 buy 4 sellTrade Label: "S8EA"Entry Conditions:Buy Trade:Volume indicates increasing momentum.Closing price is above the 100-period SMA.8-period MA crosses above the 10-period MA.Sell Trade:Volume indicates increasing momentum.Closing price is below the 100-period SMA.8-period MA crosses below the 10-period MA.Take Profit and Hedging:Take Profit: 100 pips for each trade.Hedging is triggered when the 8-period MA crosses in the opposite direction.Hedging Lot Size: Increased by 0.02 lots.Close all trades once cumulative profits reach 100 pips per lot.Example Scenario:Open initial trade with 0.01 lots.Close trades once cumulative profits reach 100 pips per lot.Hedge if initial trade is not closed and MA crossover occurs.Adjust take profit levels based on cumulative profits.Backtesting:Code should enable backtesting on historical chart data.Parameters such as volume, moving averages, lot sizes, and profit targets should be editable. 2nd May 2024
262 support and resistance indicator 1st May 2024
263 Execute buy order each time price is at 2% for that day with a 50 pip trailing stop loss 1st May 2024
264 Execute buy order each time price is at 2% with a 50 pip stop loss 1st May 2024
265 indicateur multisymbol 30th April 2024
266 1.Set a magic number2.Opens a stealth buy stop order if true at an input distance from the current price.3.Opens a stealth sell stop order if true at an input distance from the current price.4.Open a stealth buy limit order if true at an input distance from the current price.5.Open a stealth sell limit order if thrue at an input distance from the current price.6.Reset all pending orders after X seconds7.Set a take profit each order in pips8.Set a stop loss each order in pips9.Basket trailing start in .Basket trailing stop in .Basket Break even in .Take profit % and close actions expert13.Stop loss % and close actions expert14.Order lot setting in number OR order % lot setting, within broker parameters15.Initiate orders only if spread is higher then16.Initiate orders only if spread is lower then17.Closes the entire basket of orders when a certain percentage of profit is reached.18.Closes the entire basket of orders when a certain percentage of loss is reached.19.Open a next order 2 with order lot or risk percentage at a % of profit20.Open a next order 3 with order lot or risk percentage at a % of profit21.Open a next order 4 with order lot or risk percentage at a % of profit22.Open a next order 5 with order lot or risk percentage at a % of profit 29th April 2024
267 open a next order at x % profit and enter x% in inputparameter 29th April 2024
268 use ZigZag indictor with default inputs store 6 of the highest points in an array 29th April 2024
269 expert for alert if changing price in fast times 28th April 2024
270 I need an expert that uses boolinger band and its adjustments can be edited from input bar and it buys at the bottom when the candle hit the down line and make buy order at the top when a candle hits the above line and its target can be adjustable 28th April 2024
271 response to arrow signal down and up 28th April 2024
272 use ZigZag indictor with default inputs store the 4 highes numbers and 4 lowest numbers and display the 4 highest on the top left of scrren and the 4 lowest on the top right of screen 28th April 2024
273 rsi divergence no repaint 28th April 2024
274 make an ea that has a time filter where the ea has a start time and an end time and at the let it automatically place pending buy and sell orders and let it be 150 pips from price for both buy orders and let the pip distance be adjustable and let the buy and sell orders be in a grid where you can adjust the grid size and volumes of the pending trades and make the pending orders not have stop losses or take profits and make it place orders and just that and use this format for time 00:00 28th April 2024
275 Il bot si chiama :Enola. opera cosi: si entra a mercato a favore di trand, Il modo in cui si interpreta un trand è variabile, ma in media basiamoci sulle 8 candele precedenti, se in 8 candele il prezzo è salito rispetto alla prima allora è rialzista (viceversa, ribassista). Se, in un trand rialzista dopo la ottava candela abbiamo una candela rossa, quindi negativa, allora si aspetta una candela verde (positiva) e si compra se la candela finisce in verde (positiva).Al contrario, se il trand è ribassista (8 o più candele in negativo) e vi è una candela verde, si aspetta una candela rossa (in negativo) e si vende alla fine della candela rossa.Il take profit sarà di 100 pips e lo stop loss di 75 pips.Il time frame è di H4 (4ore)si fa un operazione per volta e massimo 3 al giorno.Si opera EURO/USD 27th April 2024
276 编写一个自定义指标,适用于1分钟时间周期。功能如下:1,计算每个小时开始的前2分钟(即2根K线)最高价和最低价;2,前价格第一次突破当前小时内的最高价或者最低价时,输出箭头。 27th April 2024
277 make code for custom indicator mql5 to show yellow arrow on the top candle based on input parameter that I want 26th April 2024
278 generate this indicator as a dashboard indicator 26th April 2024
279 make an ea that automatically close buys if any following candles close below the candle low the trades were placed on and close sells if any following candles close above the candle high the trades were placed on take into many trades and some trades placed on the same candlestick and make it do that and nothing else 26th April 2024
280 the code had these erros, can you correct it 'Here' - unexpected token, probably type is missing?NEW.mq411'is' - semicolon expectedNEW.mq416'it' - unexpected token, probably type is missing?NEW.mq41167'is' - semicolon expectedNEW.mq41170'use' - unexpected token, probably type is missing?NEW.mq4678'a' - semicolon expectedNEW.mq4682'without' - unexpected token, probably type is missing?NEW.mq46163'time' - semicolon expectedNEW.mq46171',' - syntax error, parameter missedNEW.mq41332',' - syntax error, parameter missedNEW.mq41432')' - expression expectedNEW.mq42063function must return a valueNEW.mq42056'OrderTotal' - function not definedNEW.mq42410'==' - operand expectedNEW.mq42423'LOT_SIZE' - undeclared identifierNEW.mq42839return value of 'OrderSend' should be checkedNEW.mq42813')' - expression expectedNEW.mq42920function must return a valueNEW.mq42913'LOT_SIZE' - undeclared identifierNEW.mq43340return value of 'OrderSend' should be checkedNEW.mq43313')' - expression expectedNEW.mq43420function must return a valueNEW.mq43413'>=' - operand expectedNEW.mq43938')' - unexpected tokenNEW.mq43946';' - 'continue' must be used within some loop onlyNEW.mq44160'LOT_SIZE' - undeclared identifierNEW.mq44613return value of 'OrderSend' should be checkedNEW.mq44713')' - expression expectedNEW.mq44820function must return a valueNEW.mq44813'LOT_SIZE' - undeclared identifierNEW.mq45213return value of 'OrderSend' should be checkedNEW.mq45313')' - expression expectedNEW.mq45420function must return a valueNEW.mq45413')' - expression expectedNEW.mq45911function must return a valueNEW.mq4594 25th April 2024

This module is another development of the ayondo Lab. The application has an experimental character. It is a version in an early beta variant. New versions will be rolled out shortly. We explicitly refer to the further notes on the use of artificial intelligence. In addition, we would like to draw your attention to the disclaimer, which you should note before using it. Should you use the tool, you do so at your own risk.


The module is provided for free and independent use, subject to the above disclaimer. It primarily serves demonstration purposes. On the one hand, to show what AI-enriched process flows are already capable of today. On the other hand, the community is to be motivated to extensively test the actual performance, in particular, to identify weak points and susceptibility to errors.

We put our developments at the service of the global trading community. Due to the rapid growth of this technology field, we assume that it is not immune to misappropriation. We try to live up to our responsibility and only use technology when we believe it is associated with added value for the user. Because AI is uncharted territory, we follow all developments very closely. Whether you use our tools or those of other providers, we recommend that you look into the providers' motivation of the respective services before using AI-supported processes. Under no circumstances adopt AI output be without quality assurance. This also applies to the tools we provide.

For program codes, such as so-called Expert Advisors, which supposedly rely on AI-driven processes, we can confirm through the experience of diverse test series that these cannot be classified in the Holy Grail category. Before purchasing a program code ("EA"), test it thoroughly. Be fundamentally cautious about over-optimized performance claims!

If you are interested in further developing this and other applications, please feel free to send us your suggestions and ideas. Should you generate program code via the MQL AI Wizard, feel free to share the results generated via it with us or the social trading community. Via the provided support forum (registration required) you can exchange ideas with like-minded people and share your experiences.

* * *

For a first no-obligation test output click here.

* * *