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
161 code for Meta Trader 4 Expert Advisor for auto start order of XAUUSD at 23:00 and close order at 1:30 everyday except Fridays. The order should be for volume 0.05. The Order should be opened at market price and close at market price 29th May 2024
162 below code doeasn't work when the close date is on next day: 29th May 2024
163 can you edit a code? 29th May 2024
164 conosci il linguaggio mql4 ? 29th May 2024
165 Full code of MetaTrader 4 ExpertPip position=10Pip stop = 20Risk=1Reward=2Buy stop = ask price pip positionBuy stop volume = ((account balance * risk) / pip stop)Stop buy stop = buy stop price - pip stopBuy Stop TP = Buy Stop Price (Pip Stop * Reward)Cell stop = bid price - pip positionSell ​​stop volume = ((account balance * risk) / pip stop)Sell ​​stop = sell stop price pip stopTP sell stop = sell stop price - (pip stop * reward)If we don't have buy and sell, buy stop and sell stop, take only one buy stop and only one sell stopIf the profit of the last closed trade was greater than or equal to 0.00, close all active buy stops and sell stops that were opened before the closing time of the last trade only once.If the profit of the last closed trade was less than or equal to 0.00, do not close all active buy stops and sell stops that were opened before the closing time of the last trade. 29th May 2024
166 Create an expert who has implemented icustom, must open both buy and sell and also have trailing stop 29th May 2024
167 Create an expert in Smart Money 29th May 2024
168 Create an expert adivsor that opens buy and sell with icustom implementation 29th May 2024
169 SMC break of structure EA 29th May 2024
170 Entry Conditions:Buy Signal:The previous two bricks (-1 and -2) were bearish (red).The current brick closes bullish (green).Sell Signal:The previous two bricks (-1 and -2) were bullish (green).The current brick closes bearish (red).Order Types:Market Orders: Trades are executed at the market price when the conditions are met.Stop Orders: Trades are executed when the price reaches a certain level, providing potentially better results.Stop Loss (SL) and Take Profit (TP):These are determined by multiplying the Renko brick size by a user-defined multiplier.If the multiplier is set very high, the strategy will rely on signals to close orders instead of fixed SL and TP levels.Strategy InputsBrick Size Multiplier: Defines the multiplier for SL and TP. A higher value avoids fixed SL and TP levels.Use Stop Orders: Option to use stop orders instead of market orders.Source: Price source for Renko bricks.Brick Size: Defines the size of the Renko box.Resolution: Timeframe for the Renko chart (e.g., daily).CalculationsRenko Prices: Calculated for open, close, high, and low prices.Brick Size: Dynamic calculation based on the price differences.Conditions: Checks for the entry conditions based on Renko brick colors and trends.Trading LogicLong Condition:If the previous two bricks are bearish and the current one is bullish, enter a long position.Calculate the target profit and stop loss based on the brick size and multiplier.Use either market or stop orders depending on the input.Short Condition:If the previous two bricks are bullish and the current one is bearish, enter a short position.Calculate the target profit and stop loss based on the brick size and multiplier.Use either market or stop orders depending on the input.Pro User Adjustments:For users with a Pro subscription, different calculations and conditions are applied based on actual open and close prices.Non-Pro users rely on the Renko prices for conditions and calculations. 29th May 2024
171 Complete code of MetaTrader 4 ExpertInput valuespip position=1Pip stop=2Transaction volume = 0.1PipTP = 1Pip stop=3ProgramIf we didn't have buy stop and sell stop and buy and sell, at the same time a buy stop with the volume of the incoming transaction at the ask price pip position with the price stop of the ask - pip stop with TP ask pip TP and a sell stop with the volume of the incoming transaction at Willow price - pip position with stop Willow price pip stop with TP ask - put pip TPIf the last buy or sell position was closed with a profit, close all sell stops and all buy stops, and if the last buy or sell position was closed with a loss, leave all buy stops and sell stops and do not close.Continue this cycle to infinity 28th May 2024
172 sell on a price 28th May 2024
173 Write me an advanced indicator for identifying bullish and bearish order block areas and plotting them on the charts. Just imagine you are a forex hedge fund manager and you are required to come up with that indicator, use the most sophiscated indicators you can possibly think off. 28th May 2024
174 Consider a specific time candle that was determined by Shudar from the input.A specific value in the form of a point that can be adjusted from the input is added to the high of the selected candle and subtracted from the low of the selected candle and a horizontal line is drawn on the chart in these two levels.Whenever a close candle is made above the line that is above the chosen candle, a buy transaction is madestopplus for a buy transaction is on the lower line of the candle.Takeprofit can be adjusted in the input so that any value of points that is the distance between the price opening and the stop can be set to be a multiple of that takeprofit value.Whenever a close candlestick, below the line that is below the chosen candlestick, is done, a sell trade is madestopplus for the sell trade should be on the upper line of the candle.Takeprofit can be adjusted in the input so that any value of points that is the distance between the price opening and the stop can be set to be a multiple of that takeprofit value.Transactions should not be simultaneous and only one current transaction should be open.The trading limit is 3 trading daysMagic number should be placed 27th May 2024
175 generate a mt5 EA that has functions lister below- ' EA when pressed "k" places a market sell order at 0.01 lot size and alternate buy sell pending orders at 0.02 lot size one after another without delay and only when previous one is triggered. all buy orders are placed 70 pips above sell orders and all sell orders are placed at same price. set stop loss and take profit to 0. 26th May 2024
176 Userhelp to generate mql4 expert based on moving average period (5), (10), (20), (50), (100), (200)rsi (14), stoch (9,6), stoch rsi (14), william %r, cci(14), roc, ultimate oscillatormacd(12,26), adx(14), bull/bear power(13)atr(14), highs/lows(14)pivot pointws of classic, fibonacci, camarilla, woodie's, demark's signals order entry and exit of reverse signal 26th May 2024
177 Write a MT4 expert advisor which takes two moving average and buys when the small moving average crosses the larger moving average and vice-versa for sell 26th May 2024
178 daily open indicator 25th May 2024
179 Quantum emporor 25th May 2024
180 find which wick created first, lower wick or higher wick on the movement in the last previous closed 15 minute candlestick 25th May 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.

* * *