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
341 Plot RSI(14) sub window with deep sky blue solid line. If the RSI(14) of the current is over 70 or under 30, change the color of line to red. Furthermore, if RSI(14) is over 70 and under 30, and the current RSI(14) is highest or lowest in past 15 candles, change the line color from red to lime.Add horizontal lines at RSI levels of 30 and 70 using white dotted lines to clearly indicate the overbought and oversold thresholds. 5th April 2024
342 (like moving averages, RSI, or MACD), tailor the parameters to better suit gold. For example, you might lengthen the period of a moving average to smooth out short-term fluctuations typical in gold trading. 5th April 2024
343 PendingDistance = 7;Pipstep = 899;MaTrend_Period = 200; MFI_Period = 5;e UseDefaultMFI_Period = true; BuyWhenMFIBelow = 65;SellWhenMFIAbove = 35;MFI_Overbought_Value = 75.0; MFI_Oversold_Value = 25.0; useMFI4BarsBack = 0;BuyWhenAbove = 55;SellWhenBelow = 45; useNewExitStrategy = 0; MFI_High_OverBought_Exit = 98;MFI_Low_OverSold_Exit = 2;useMFI14_Exit = 1;MFI_Exit_Period = 14; useMaAngleFilter = 44;TrendTimeFrame = 5;CurShift=54;FirstMove = 20; FirstStopLoss = 50; SecondMove = 30; SecondStopLoss = 30; ThirdMove = 40; TrailingStop3 = 20; TrailingStart = 8; BreakEven = 30;LockInPips = 1; Price = 00;EMAPeriod = 13;EMAShift = 2; InitialStop = 0;e StepParabolic = 0.02;eMaxParabolic = 0.2;Interval = 5; 5th April 2024
344 Scrivimi un indicatore mql4 con le seguenti regole: Nella giornata odierna traccia un OBJ_HLINE di resistenza di colore rosso sul prezzo, dove l'RSI a 5 periodi ha toccato e chiuso in ipercomprato 90. Nella giornata odierna traccia un OBJ_HLINE di supporto di colore verde sul prezzo, dove l'RSI a 5 periodi ha toccato e chiuso in ipercomprato 10. Questo indicatore deve funzionare su tutte le valute. 4th April 2024
345 best non repainting indicator for mt4 forex 4th April 2024
346 For the London session, we want a Sweep of Asia's high or low and for the NY session we want a sweep of the London High / LowChoch with Displacement in opposite direction leaving behind an FVGEnter Pending order at FVG Aim for around 8 to 10 pip SL Target 2RRI stop looking for trades in the London session around 11:am and 4:pm for the NY session 4th April 2024
347 Judas Swing Trading Strategy InstructionsBased on the search results provided, here are the instructions for using the Judas Swing trading strategy:Step 1: Identify the TrendDetermine the overall market trend using higher timeframe analysis, such as the daily or 4-hour charts. Look for bullish or bearish signals to establish a directional bias.Step 2: Mark Liquidity LevelsIdentify previous session highs and lows as potential liquidity levels. These are areas where market makers are likely to hunt for stop orders before reversing the price.Step 3: Wait for the Judas SwingDuring the London Open (8:00 AM to 11:00 AM GMT), watch for a move that breaks through the identified liquidity levels but fails to sustain momentum.Step 4: Enter the TradeEnter trades against the initial breakout direction once the Judas Swing is confirmed, i.e., when the price reverses back through the liquidity level.Step 5: Set Stop Loss and Take ProfitPlace stop losses just beyond the extreme points of the Judas Swing to protect against false breakouts.Set take profit levels at the next significant support or resistance, or use a fixed risk-reward ratio of at least 1:3.Additional ConsiderationsUse the Asian session high/low range from 12:00 AM to 8:00 AM GMT as a reference for the London Open trades.For the New York Open (1:00 PM to 4:00 PM GMT), use the London Open range from 8:00 AM to 1:00 PM GMT as a reference. 4th April 2024
348 编写一个指标,在主图上画5日均线和20日均线。如果5日均线在20日均线之上,且2条均线向上,且收盘价在5日均线上方,那么在5日均线和20日均线中间填充柱状线 4th April 2024
349 Stochastic Oscillator code %K period 15 , %D period 1 , slowing 1, MA method Exponential 3rd April 2024
350 write Stochastic Oscillator code 3rd April 2024
351 指标函数中 如果输入的参数1小于参数2,则打印提示“输入参数有误”,初始化失败 3rd April 2024
352 create a moving average crossover with fast moving average =20 while the slow moving average =20. stop loss = 20pips, take profit =20pips on mql5 3rd April 2024
353 indicator that will show time on the screen 2nd April 2024
354 Scrivimi un indicatore mql4 con le seguenti regole: Aggiungi un RSI a 5 periodi con livello di ipercomprato a 90 e ipervenduto a 10. Quando l'RSI è maggiore del livello 90, traccia una resistenza (OBJ_HLINE) di colore rosso. Quando l'rsi è minore del livello 10, traccia un supporto (OBJ_HLINE) di colore verde. 2nd April 2024
355 Write me an indicator that take a number as number of last bars in a chart and return avarage of height of those last bars in meta trader 5 1st April 2024
356 30 Min Time period if 10 SMA crossover 20SMA give buy alarm 1st April 2024
357 Engulfing patterns indicator 1st April 2024
358 I need an mt4 indicatorThis indicator will detect every rectangle object on chart and draw the trend line from right edge of rectangle to the right hand side by specific length. The coordinate of the trend line is from sma line intersect with right edge of rectangle 1.Detect rectangles on chart2.User will move the rectangle around so indicator will have to keep Measure the length of rectangle and its intersection point3.Find the period of sma , sma period = length of rectangle4.find the intersection point of sma at right edge of rectangle5.Draw the trend line from intersection point to right (the length of the line is 25% of the length of rectangle) 1st April 2024
359 Input parameters 1st April 2024
360 'ENUM_SIGNAL_SOURCE' - declaration without typex.mq547'ENUM_MEAN_REVERSION_FILTER' - declaration without typex.mq5117no indicator window property is defined, indicator_chart_window is applied00no indicator plot defined for indicator00'ccimomCross' - undeclared identifierx.mq57521'MOMENTUM' - undeclared identifierx.mq57536'iCCI' - wrong parameters countx.mq58522 built-in: int iCCI(const string,ENUM_TIMEFRAMES,int,int)x.mq58522'iRSI' - wrong parameters countx.mq59222 built-in: int iRSI(const string,ENUM_TIMEFRAMES,int,int)x.mq59222'iMA' - wrong parameters countx.mq510132 built-in: int iMA(const string,ENUM_TIMEFRAMES,int,int,ENUM_MA_METHOD,int)x.mq510132'iStdDev' - wrong parameters countx.mq510223 built-in: int iStdDev(const string,ENUM_TIMEFRAMES,int,int,ENUM_MA_METHOD,int)x.mq510223'iMA' - wrong parameters countx.mq511339 built-in: int iMA(const string,ENUM_TIMEFRAMES,int,int,ENUM_MA_METHOD,int)x.mq511339'ccimomCross' - undeclared identifierx.mq512737'MOMENTUM' - undeclared identifierx.mq512752'ccimomCross' - undeclared identifierx.mq512838'MOMENTUM' - undeclared identifierx.mq512853'i' - cannot convert enumx.mq513335 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq513335'i' - cannot convert enumx.mq513835 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq513835'i' - cannot convert enumx.mq514435 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq514435'i' - cannot convert enumx.mq514935 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq514935'i' - cannot convert enumx.mq515432 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq515432'i' - cannot convert enumx.mq515532 built-in: bool PlotIndexSetDouble(int,ENUM_PLOT_PROPERTY_DOUBLE,double)x.mq515532 31st March 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.

* * *