How to Code an Expert Advisor Using an Indicator - Simple RSI Overbought - for MT5
Вставка
- Опубліковано 26 сер 2023
- If you haven't seen it, I have a recent series where I slowly built up an expert using a breakout strategy. The breakout doesn't use any indicators so I'm following up with videos that use indicators in the EA.
THIS VIDEO IS FOR MT5. SEE BELOW FOR A LINK TO THE MT4 VIDEO
There is enough difference in the MT4/5 code that I decided to release separate videos.
This is a coding demonstration, not a recommendation or suggestion to use this strategy. I chose it because it is simple to follow and implement in code, not because it is a good trading strategy.
Looking for a broker? Support the channel by using this link. We receive a commission on your trades from the broker at no cost to you:
orchardforex.com/live-account
Links:
Web Page: orchardforex.com/rsi-overboug...
MT4 Video: • How to Code an Expert ...
Discord: orchardforex.com/discord/
Playlist for this earlier series: • Set and Forget Breakout
#RSI #Forex #metatrader #expert #finance - Розваги
What happened to Orchard Forex? He is no longer posting videos, is he still alive?
Great video, looking forward to seeing any expansion on it with regards to having multiple indicators interacting with each other
Thank you for the value you are giving. I tried to get EA based on RSI divergence programming videos on UA-cam, but no one did it . I hope you create the first video on UA-cam EA based on RSI divergence strategy for MT5
Thank you for the helpful video
Glad it was helpful!
素晴らしい動画をありがとうございます!!!!
Hello !
I've been following your UA-cam channel for quite a while, and always learn a lot from your videos.
Currently, there are a number of Forex funds that are banning the use of MT5 or MT4 and they are switching to DXtrade.
Can you make a video tutorial on the code to copy orders from MT5 and MT4 to DXTrade?
Thanks !
:))
Thanks again for teaching us so well. Please can you do an indicator that shows the volatility of certain days of week? Like show or calculate the vola of the last 10 Mondays. Big thanks in advance 🙏
It is already there that indicator … search all the videos … there is version of ATR on certain hours of the day … like an average of the volatility at 15:30 for the last n days
Hey great content as always you make it look easy ....quick question do you have a paid service for building indicator for customers i woukld reslly like if you can help me out with this indicator just need some de buging thanks mate
I have been through you videos and mql4 codebase, I am looking to create an arrow alert on a demarker indicator when the arrow passes down from 80 level to 79 or up through 19 to 20. Maybe i missed it but i couldnt find what i was looking for in your "Add Buy and Sell Arrows to your Custom Indicator in MT5 and MT4" vid. The only alerts I could find would trigger when the line passed up through the 80 level or down through the 20 level like traditional over bought over sold alerts. Any help would be much appreciated. Glad I stumbled across your channel!
Great video as usual. I have simple request or question, How to code in mql5 "one trade per specific Time or candle period" , example let's take hourly. If the EA start @ 1pm and @ 1:15pm got entry and @ 1:25 closed the trade based on fixed TP/SL. Then on 1:45pm got another entry, at this moment I don't want the EA to take the entry instead wait new hour to open that is 2pm to start looking for entry. That means in every hour one trade.
Example 2, the same idea but by candle criteria, like 4H candle. On every candle open till close only one trade. Thanks in advance
Excellent video as always. Is there any advantage between using either below code for detecting a new candle, or your code?
(I've been using below code for quite some time)
As far as I can tell, they both work and I'm sure there are more than one road that leads to Rome, but just wondering if there would be any advantage to either one of them. :)
bool NewCandle()
{
int CandleNumber = Bars(_Symbol,_Period);
static int LastCandleNumber;
if(CandleNumber > LastCandleNumber)
{
LastCandleNumber = CandleNumber;
return true;
}
return false;
}
Been watching your content for a few months now, I was wondering if you take jobs for EA's because I don't code. I would like to know if you can code a pretty simple mt5 EA that enables autotrading at a time the user inputs and then monitors the profit/loss of already closed trades for the day and can disable autotrading once daily profit/loss (percentage) has been hit and then enable autotrading again the next day at the same the user inputs.
Hi Arthur, hope you are doing well. It has been a long time since your last tutorial, and I am sure many of us are missing new tutorials from you. Just a quick question, is your Channels forum (coders helping each other) still there and I can subscribe to it?
Dear sir, I just need your clarification on the use of AI compare to EA in trading.
Standard deviation channel strategy was a great idea.. any EA on that
Lets say you have two different strategies built into an EA. Strategy 1 has a 60% win rate but has multiple entries while Strategy 2 has a 70% win rate with few entries. The EA normally trades with strategy 1 and strategy 2 is for recovery only, when strategy 1 encounters a loss. So once strategy 1 encounters a loss, you want to keep track of the lost trades so that they can be recovered only when strategy 2 is active with an increased risk. The EA continues to trade even after a loss with strategy 1 but should only activate a recovery with increased risk only when an entry signal of strategy 2 appears. If strategy 1 hasn't encountered any loss, strategy 2 will remain inactive. So how do you keep track of the lost trades for this future use in MQL5?
Thank you for your guidance and explanation. Would you be able to write an EA that will allow you to trade 28 forex pairs at the same time. Thank you in advance
I can but probably won't. I don't recommend trading more than one symbol in a single expert. Just trade one symbol and run it on more charts.
Dear Sir, I'm sorry for disturbing you but only MT4 version is downloadable from your website. Is it deliberate or any error. (Below all of your article only "RSI Expert MT4" can be downloaded everywhere e.g "Set and forget EA" cannot be downloaded either). Thank you for your useful work again.
Dear Sir, Please Can you write code like this indicator Zigzag for zone trade before high and low previous 2 point Thank you.
Hello! Happy new year It has been a while! We miss your content …@OrchardForex
Please can you make a ea video base on zigzag to know market trend like market structure
Search for Wave_Arrows_Alerts Indicator Settings 20,60,21,3 that show market structure. Set to m15 tf
Use BB-stops indicator on H1 TF and QQE indicator set to H1 or H4 timeframe!
Anyone knows how to modify build in MT4 line tools like changing directly from MQL4 libraries or anywhere inside MT4, not sure exactly where? my intention is to modify existing drawing tools, example, creating a personalized OBJ_TREND than the usual built in parameters of that tool. hoping someone here is kind to answer.. thanks guys
Dear sir, I wanna ask , How can I build Security by Account Number update Online License ?... thank u
Hi Arthur hope you are okay, we missed your new video
code EA is not a problem - how to protect EA ?
You can code ? Have a solid 90% win rate strategy
Hi sir i hope can i contact you one day privately im looking for build indicators based on SnR