Use Common Classes to Write MQL4 and MQL5 Experts

  Рет қаралды 9,565

Orchard Forex

Orchard Forex

Күн бұрын

Пікірлер: 38
@tshegofatsomosamo2426
@tshegofatsomosamo2426 3 ай бұрын
Very helpful channel with lots of tips & lessons. Please keep up the good work. 😎👍
@Dan_s_Channel
@Dan_s_Channel 3 жыл бұрын
Great teaching! Thanks for sharing 👍🏻
@michaelaldan6969
@michaelaldan6969 9 ай бұрын
love all the work you put into this...i read/write/speak 4 languages...but this was new to me haha...good lord
@fxsurgeon1
@fxsurgeon1 2 жыл бұрын
Exactly what I needed, clear and orderly. Thank you!
@malanvythilingam1590
@malanvythilingam1590 9 ай бұрын
Excellent video, your every word has something to lean. When compile I got an error "'CIndicatorMACD' - wrong parameters count". but resolved, have to add pointer "CIndicatorMACD *MACD =...)
@firstlast-ru9ne
@firstlast-ru9ne Жыл бұрын
,,thanks for the very informative content Sir...however, i tried to copy and code it on a script it says "parameter passed as reference, variable expected" can you enlighten or correct me on these..thanks...
@Kevin-pn9ri
@Kevin-pn9ri Жыл бұрын
Pure gold
@martins7194
@martins7194 3 жыл бұрын
Thanks for all your videos. Learning a lot. (basically starting from scratch) Any chance on getting a tutorial on how to code in an EA using a Stoch RSI?
@OrchardForex
@OrchardForex 3 жыл бұрын
I have had several requests for this. It is in the suggestion list but I don't have a planned release date yet.
@thanhhuyen0000
@thanhhuyen0000 2 жыл бұрын
thank alot Teacher
@jafxtradinginstitute6395
@jafxtradinginstitute6395 3 жыл бұрын
I cant find no custom indicator that have good divergence features since they use bar rather than price swing and market structure.
@johnskinner3145
@johnskinner3145 3 жыл бұрын
Excellent, thank you
@anilvarma9893
@anilvarma9893 3 жыл бұрын
Hi Arthur ... I am really enjoying watching your tutorials and learning totally new ways in programming. Just a quick question, how can we use iCustom indicators in the class?
@OrchardForex
@OrchardForex 3 жыл бұрын
I suggest creating a separate class for each custom indicator. I just prefer that approach and it's not too hard to develop. Create a base class for standards things then a separate sub class for each custom indicator, because they will all have different arguments and buffers.
@anilvarma9893
@anilvarma9893 3 жыл бұрын
@@OrchardForex true I realized that too and started working on it yesterday. Thanks for your response.
@anilvarma9893
@anilvarma9893 3 жыл бұрын
@@OrchardForex Hi Arthur ... I am about to complete the CIndicator_cBase Class for my custom indicator. Child class already have its own BufferArray and I am able to create an Indicator to show on the chart from this value (as your Donchian Channel). However I am confused a bit to get values from this class for my EA. The buffer will have values equal to Bars, whereas in EA I just need the last 5 or 10 bars max. I am looking at GetArray() method as defined by you in CIndicatorMA, a normal way for getting array values in MQL5. Should I use for..loop to recalculate values into passed array OR I use ArrayCopy() to copy from class buffer array to passed in array? I am trying to follow a practice where I dont use values from my Indicator, but get them from Class. This will help me avoid loading indicator on chart as well as hiding the use of indicators. Thanks in advance.
@ronaldnkhoma8267
@ronaldnkhoma8267 3 жыл бұрын
Hi Arthur. How would one share a .mqh file together with the accompanying EA while hiding the .mqh code? Can it be converted into something else the way .mq4 is to .ex4?
@OrchardForex
@OrchardForex 2 жыл бұрын
You can convert the mqh to a library
@mdabdulmannan100
@mdabdulmannan100 3 жыл бұрын
Hi, how can we maintain a specific gap between multiple trades? Thanks
@KeThemba
@KeThemba 2 жыл бұрын
Hello Mr uthur. Can you please provide a video on how to setup classes. I'm stuck for the CIndicator script program. The video ends where you say we about to setup classes. Please help
@OrchardForex
@OrchardForex 2 жыл бұрын
I think you are not watching to the end. The classes are completely written in the video and in the next video I use those in an expert.
@KeThemba
@KeThemba 2 жыл бұрын
@@OrchardForex at the moment I am stuck on compiling the script because 'include' cant open the indicators (MA&MACD) folder that I put them in. I noticed your Orchard file has a ReadMetxt attached to it and I am wondering if may that be the caurse of 'include' not being able to access my BASE,MA,MACD folder because my folder dont have the ReadMetxt attached to it. Can you please advice what may be may be the caurse of this problem so that I can Move on to coding the expert.
@KeThemba
@KeThemba 2 жыл бұрын
Hello Mr Uthur, after long hours of scalp scalping I was able to figure out why 'include' wouldn't open file. Wrong location. Thank you very much for your quick response.
@bookssums
@bookssums 2 жыл бұрын
😊Thank you once more
@OrchardForex
@OrchardForex 2 жыл бұрын
You're welcome 😊
@patrickstout3613
@patrickstout3613 3 жыл бұрын
Can you show how to modify EA framework to run take profit/ stop loss only once at start of new candles?
@aik3etrade618
@aik3etrade618 3 жыл бұрын
Hi! I like these tutorials. I am currently building my framework based on these tutorials but I could use some help. I was wondering if I there are other community I could join in aside from the official mql5 forum website?
@Ninjaphil24
@Ninjaphil24 3 жыл бұрын
Wonderful!!
@OrchardForex
@OrchardForex 3 жыл бұрын
Thank you! Cheers!
@yyrhx2090
@yyrhx2090 2 жыл бұрын
i copied you the exact t same way, and i'm getting a lot of errors that say- "undeclared identifier" also, i get- "can't open..." and- "declaration without type", -"struct member underfined" and 2 warnings that says- "implicit conversation from 'number' to 'string'" i don't really know how to fix it and i would love you'r help Thanks anyway
@OrchardForex
@OrchardForex 2 жыл бұрын
Well first, you need to include full error messages. What you supplied is almost useless like "can't open...". What can't be opened? That's probably the key to everything. Fix that problem and see what happens.
@yyrhx2090
@yyrhx2090 2 жыл бұрын
​@@OrchardForex HI! I went through it all from start to finish again, and now it works. Turns out that the errors were caused because I sometimes forgot to wrote in capital letters, or I didn't write enough spaces like you.. Anyway thank you for the help!
@theflamingarrow1833
@theflamingarrow1833 2 жыл бұрын
Hello, I copied everything what you did in that video and when I compile it, it gives me a lot of errors. Is that supposed to happen?
@OrchardForex
@OrchardForex 2 жыл бұрын
Oddly no, everything is meant to work. Often a lot of errors can be caused by one small error. Check the first error in the list and see if fixing that removes a lot. It's probably an include file not found or missing ; after a class declaration.
@theflamingarrow1833
@theflamingarrow1833 2 жыл бұрын
@@OrchardForex Ok, thanks.
@nanohedron
@nanohedron 2 жыл бұрын
Will you open up the Discord server again at some point in the future?
@OrchardForex
@OrchardForex 2 жыл бұрын
I found I don't have time to help with all of the questions and felt I wasn't giving value to paid subscribers but without charging I wasn't covering costs.
@nanohedron
@nanohedron 2 жыл бұрын
@@OrchardForex Have you considered producing Udemy courses? When the students are all following the same linear learning path, we tend to ask similar questions. Also, there are many teachers who hire people to cover questions when their time is better spent on production. If you are open to private mentoring, I'd be interested to know your rate.
Stop fighting with differences between MQL4 and MQL5
41:56
Orchard Forex
Рет қаралды 4,3 М.
Write Cleaner Code for MQL4 and MQL5
21:32
Orchard Forex
Рет қаралды 4 М.
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1,6 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 36 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 12 МЛН
Can an EA make $50,000 in 2 years
51:39
Orchard Forex
Рет қаралды 7 М.
Beginners guide: Write your own RSI Expert Advisor for MT4
51:24
Orchard Forex
Рет қаралды 24 М.
Creating Metatrader Custom Indicator Classes
16:14
Orchard Forex
Рет қаралды 15 М.
The Safe Way to Call Custom Indicators in MQL4
15:15
Orchard Forex
Рет қаралды 9 М.
Как не носить с собой вещи
00:31
Miracle
Рет қаралды 1,6 МЛН