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
641 i would like to make an ea trading bot that follow specific rules for entry.this will all happen on a 5 minute chart timeframe.in order for a buy trade to start there must be this specific series of three 5 minute candles.two 5 minute bearish candles and then the 3rd candle must be bullish and close above the highest price above both the previous candles high price.if that happens and the bullish candle close is above the 20 ema then enter a buy trade at market price with a stop loss 1 tick below the entry candle.and the take profit should be 2 times what the stop loss is in ticks.then in order for a sell trade to start there must be this specific series of three 5 minute candles.two 5 minute bullish candles and then the 3rd candle must be bearish and close below the lowest price of the 2 previous bullish candles lowest price.if that happens and the bearish candle close is below the 20 ema then enter a sell trade at market price with a stop loss 1 tick above the entry candle highest price.and the take profit should be 2 times what the stop loss is in ticks.in the settings i want to be able to adjust the stop loss in ticks, adjust the take profit in ticks, and be able to adjust the time of day the bot is active from, by default i want to have the trading hours between 8am and 1pm server time. i also want to be able to adjust the trade size for each trade, by default i want it to be 0.10 lots. 21st January 2024
642 Input fields: Create input fields for : multicurrency input fields each currency seperated by comma magic number, lot size, moving average input field with price field as a seperate input field, daily open line or weekly open line option to enable or disable, take profit, stop loss, and basket profit input field with the value (when basket profit is achieved close all orders created by the ea with the input magic number which is unique .Daily open price: Set the daily open price as the core point for all currencies, which is the market open price at 0 hours.Buy rules:If the market price crosses up the daily open price or is above the daily open price, make a buy trade.If the market reverses back to the daily open price after a buy and crosses it down, close the buy trade immediately.Sell rules:If the market price is below or crosses from top towards and below the daily open price, make a sell trade.If the market price reverses back towards the daily open price from bottom to top or when the market price crosses from bottom towards top, close the sell trade.Basket profit: When all currency trades taken by the magic number of experts when totaled reach the profit target set by the user, close all trades.Moving average filter: Set sma fields with price by the user as a filter. If the market price is above the sma set by user with price field, open a trade or if below the sma, close the trade for buy.Combine daily open price trade opening/closing logic with sma filter. 21st January 2024
643 create a functional expert advisor (EA) using the provided strategy, you can follow these steps:Input fields: Create input fields for the magic number, lot size, moving average input field with price, daily open line or weekly open line option to enable or disable, take profit, stop loss, and basket profit input field with the value.Daily open price: Set the daily open price as the core point for all currencies, which is the market open price at 0 hours.Buy rules:If the market price crosses up the daily open price or is above the daily open price, make a buy trade.If the market reverses back to the daily open price after a buy and crosses it down, close the buy trade immediately.Sell rules:If the market price is below or crosses from top towards and below the daily open price, make a sell trade.If the market price reverses back towards the daily open price from bottom to top or when the market price crosses from bottom towards top, close the sell trade.Basket profit: When all currency trades taken by the magic number of experts when totaled reach the profit target set by the user, close all trades.Moving average filter: Set the moving average fields by the user as a filter. If the market price is above the moving average set by the user with its price field, open a trade or if below the moving average, close the trade for buy and sell the same logic applies.Daily open price trade opening/closing logic: Combine the daily open price trade opening/closing logic with t 21st January 2024
644 Test any indicator on softfx simulator by buying once the price closes above the line and selling when price closes below the line 21st January 2024
645 Test indicators by buying once the price closes above the line and selling when price closes below the line 21st January 2024
646 can you create key level indicator mql4 21st January 2024
647 By pressing 1-2-3 drawing horizontal line - Entry, SL, TP. Then if I press Space button - send order with this prices, where is lines 20th January 2024
648 Trendfollow fibonnaci 20th January 2024
649 one click order panel 20th January 2024
650 write a trading program using metatrader 5 mql5 launguage that opens and close a trade based on below conditions If pair has price higher then MA(200) but lower then MA(50) or lower then MA(50) and MA(20)>MA(50)>MA(200) in 4 hours timeframeand RSI is between 30 and 50 and current bar open price >prior bar close pricethen buy 0.01 at market orderand set stop loss at -10 pipsand sell 0.01 lot at market order when RSI reaches 75. 19th January 2024
651 Code me an Export Advisor in MT4 that does the following.Us the Indicator RoundNumber with following settingsLevels = 30BoxSize = 0ZoneSize = 100LevelStyle = SolidLevelColor = LimeUse the 5 Minute TimeframeTrade time between 08 AM and 7 PM London time. The Risk can be chosen between 0.25% , 0.5% and 1%Only one trade open at the same time.the stop loss is 1.5 Pointset the Trade break even at 1.5 Point profitclose the trade with 3 points in profitSell Limit when following is completedthe first candle close below a Zone from the RoundNumber Indicatorthe second and third candle close 0.5 Points below the Zoneopen a sell limit at 0.5 Points below ZoneBuy Limit when following is completedthe first candle close above a Zone from the RoundNumber Indicatorthe second and third candle close 0.5 Points above the Zoneopen a buy limit at 0.5 Points above the key level 19th January 2024
652 Give MT4 EA Code for my strategy.on starting EA place one buy stop and one sell stop order at the current price with stop loss of 30 points and take profit of 150 points. Buy stop will be placed 40 points above the current price and sell stop will be placed 40 points below the current price.after placing first buy stop and sell stop order EA will apply the following conditions for next orders 1. when a buy stop order has reached take profit or stop loss and closed then EA will place another buy stop order at current price with same parameters that already defined. 2. when a sell stop order has reached take profit or stop loss and closed then EA will place another sell stop order at current price with same parameters that already defined. 3. when a buy stop order reached 9 points profit then ea will place the buy stop order at current price with same parameters that already defined.4. when a sell stop order reached 9 points profit then ea will place the sell stop order at current price with same parameters that already defined.please also add time for starting and stopping the ea so i can use ea for short time. also add the order limit in one day.Use lot size 1.00. also add pending buy stop or sell stop order cancel condition if price far away 12 points from the price on which placed a buy stop or sell stop order cancel the buy stop or sell stop order and open another buy stop or sell stop order at current price with same parameters that already defined above. 19th January 2024
653 hi ! make for me Expert Mt4 which will draw Horizontal line on my mouse position, when I press button 1. if I press ESC , this drawiing will delete. only 1 drawing can be in one time by pressing Key 1 19th January 2024
654 i want to write a code which will open buy orders when the price crosses the 20 sma in an upward direction and i want to open sell orders when the price crosses the 20 sma downwards direction.only open 8 orders at a time each open order should take profit at 0.00004 pipsthe lot size needs to be 0.02 19th January 2024
655 script to simplify order placement, trade management, or other trading activities. These tools often come with features like one-click KEY trading, risk management settings, and order modification capabilities. 18th January 2024
656 'CHARTEVENT_OBJECT_EDIT' - undeclared identifier 18th January 2024
657 create a trading panel expert advisor 18th January 2024
658 indicator on chart when ichimoku cross over outer bollinger band 18th January 2024
659 create me a supply demand strategy ea robot that is based on 60 moving average robot open a penidng orders trades above/bellow 60ma and based on the 15 minutes Time frame onlystop loss will be bellow every candle with a long bottom/top wick rejectionstake profit will be at the next big rejection moveprice will go break even after 10 pipsi want the robot will be called : 9MilGirl EAi want the file will be exported to mq4 fileavoid errors in the mq4 file 18th January 2024
660 ')' - syntax error, parameter missed9MilGirl.mq47095 18th January 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.

* * *