Hi, this is so much helpful to me! Just two days ago I spent lots of time to find this to know when the arrows are created, but I failed. You are always the great.
Thank you so much for such an informative video. You just gained a subscriber. I have a question. If you were to detect object creation on (same symbol) different timeframes than the selected chart. Is it possible to do it within the same expert advisor or do you have to open multiple charts and attach a separate advisor to each. Greetings from Jordan.
Very interesting, learning a lot. I think taking this one step further would be of interest to a lot of people. I will setup a scenario, you are trading and have multiple timeframe charts open, including OffLine charts with nonstandard times. When you get a signal or Arrow on a highertime chart you would like to send this to a one-minute chart, (the 1 minute chart is compiling all the higher timeframe inputs to determine a trade signal). iCustom works in most cases but not for the OffLine charts. Is it possible to have the several highertimeFrame charts report to a Array in an Include File, I also noticed an array file section. Then the 1minute chart can call the info and act on it. Possibly a DLL in the 1 minute chart calling array locations?. Would you have to include the DLL in all the charts to have assess to the information? I tried this writing to a file, but when both charts are trying to talk to the file the platform grays out for a while. A way to pass information would openup many possibilities in coding. When I discovered the get and send Global variable that writes to a permanent file, I devised several switches that allow an EA to talk to an indicator in different charts while all are running. The indicator can tell the EA to buy or whatever. These are limited because it slows the computer down so I only use them as switches. Just an example. Thankyou
The hard part is designing exactly what you want the code to do. I've also learned a lot more while making these videos, and that's after starting coding in 1978.
Hello. As always thanks for your help. I'm stuck on the process of having the arrows in the trade function. As well as setting the objects as a trailing stop. Any pointers?
Nice video sir. Can you make a video on creating tick volume indicator color buffers. Mt4 tick volume wasn't saved in buffers, I've been finding it really difficult to create it into buffers. The indicator has two colours, red and green respectively. Pls can you make a video on that?
Thanks for the beautiful class! I'm trying to make an EA with entries and exits based on Renko charts, but without success! Mr. Could you give a tip on how to do this? I believe that with this video and a few tips, I will be able to make this EA work! Thank you in advance. I already subscribed to your channel!
Thanks, @Orchard for this video. It's been helpful. I have an issue. I have an indicator showing two custom shapes on charts but can't find them in the Object list. Is there something I am missing?
If they don't show in the object list then they are not objects. Could be a simple arrow style indicator and you see wingdings font, then just get values form the buffer or could be using an api to draw graphics if you allowed dlls.
I have a question about how to deal with an indicator with multiple values. Example MACD it has a value for the MACD line, the Signal line, and the histogram. How would you go about getting the difference in the values of the MACD line and the Signal lIne? If you use iCustom and CopyBuffer, it only copies the MACD line values into the buffer. How would you obtain the values for the Signal line?
I have a custom indicator I want to use In my EA but the thing is way too complex. It shows the difference between 2 moving averages. I wish you would do videos on complex stuff like that too.
After watching two videos, I rushed to purchase a premium course. I believed that your course will resolve my EA errors. Now your Premium course is closed. Do you have Udemy or Coursera courses so I can purchase courses and get codes?
mr Orchard how to add the indicator inside the ea as if you were calling custom and still get the values I tried adding the indicator but it returns 0.0 price looking forward hearing from you.
@@OrchardForex thanks for the reply. I am using an indicator that draw support and resistance using the HLine. The issue that I am facing is that it seems like this only captures the last object created maybe not just objects because I was checking if price broke above the Hline and returned true with object price being the last created object which was a great amount pips away from current price
PLEASE HELP! My indicator only draws rectangle after a few candles can I search backwards to see when it was placed ? I also have 2 different names for rectangles but i am sure i can figure that out
@@OrchardForex can u send me the mq4 I cant get it right I've tried twice now and I get about 55 errors about needing arrays, declarations the links take me to a new account site
version 1 compiles and works but its v2 heres what compiler says.. 'ObjectWatch ver2.0.mq4' ObjectWatch ver2.0.mq4 1 1 'Reportobject' - function not defined ObjectWatch ver2.0.mq4 61 4 'AddObject' - function not defined ObjectWatch ver2.0.mq4 62 4 possible loss of data due to type conversion ObjectWatch ver2.0.mq4 100 38 possible loss of data due to type conversion ObjectWatch ver2.0.mq4 103 46 'AddObject' - function not defined ObjectWatch ver2.0.mq4 127 7 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 153 30 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 153 30 'objects' - array required ObjectWatch ver2.0.mq4 153 30 'o' - undeclared identifier ObjectWatch ver2.0.mq4 154 19 'name' - struct or class type expected ObjectWatch ver2.0.mq4 156 55 'name' - struct or class type expected ObjectWatch ver2.0.mq4 156 55 implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 156 55 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 164 18 'name' - struct or class type expected ObjectWatch ver2.0.mq4 164 33 'name' - struct or class type expected ObjectWatch ver2.0.mq4 164 33 implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 164 33 'type' - struct or class type expected ObjectWatch ver2.0.mq4 165 22 'type' - struct or class type expected ObjectWatch ver2.0.mq4 165 22 'price' - struct or class type expected ObjectWatch ver2.0.mq4 166 22 'price' - struct or class type expected ObjectWatch ver2.0.mq4 166 22 'time' - struct or class type expected ObjectWatch ver2.0.mq4 167 22 'time' - struct or class type expected ObjectWatch ver2.0.mq4 167 22 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 174 27 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 174 27 'objects' - array required ObjectWatch ver2.0.mq4 174 27 'name' - struct or class type expected ObjectWatch ver2.0.mq4 177 24 'name' - struct or class type expected ObjectWatch ver2.0.mq4 177 24 implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 177 24 'Findobject' - function not defined ObjectWatch ver2.0.mq4 184 18 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 187 27 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 187 27 'objects' - array required ObjectWatch ver2.0.mq4 187 27 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 188 21 'objects' - array required ObjectWatch ver2.0.mq4 188 21 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 190 6 'name' - struct or class type expected ObjectWatch ver2.0.mq4 190 21 'name' - struct or class type expected ObjectWatch ver2.0.mq4 190 21 implicit conversion from 'string' to 'number' ObjectWatch ver2.0.mq4 190 29 'type' - struct or class type expected ObjectWatch ver2.0.mq4 191 21 'type' - struct or class type expected ObjectWatch ver2.0.mq4 191 21 'price' - struct or class type expected ObjectWatch ver2.0.mq4 192 21 'price' - struct or class type expected ObjectWatch ver2.0.mq4 192 21 possible loss of data due to type conversion ObjectWatch ver2.0.mq4 192 27 'time' - struct or class type expected ObjectWatch ver2.0.mq4 193 21 'time' - struct or class type expected ObjectWatch ver2.0.mq4 193 21 possible loss of data due to type conversion ObjectWatch ver2.0.mq4 193 27 'Findobject' - function not defined ObjectWatch ver2.0.mq4 198 16 'objects' - undeclared identifier ObjectWatch ver2.0.mq4 201 30 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 201 30 'objects' - array required ObjectWatch ver2.0.mq4 201 30 'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 206 21 'objects' - array required ObjectWatch ver2.0.mq4 206 21
Hi, this is so much helpful to me!
Just two days ago I spent lots of time to find this to know when the arrows are created, but I failed.
You are always the great.
Glad it helped!
You are really focused on issues related to MQLn and i think you are great too! Thanks!
One of the best tutorials i have watched
Thank you
This opens up a whole new world of possibilities
Good to hear.
Thank you, I've been looking for something like this for a while now 🙏
Glad I could help
Hi dear Teacher!! This is Really very Important!!
Glad you think so!
I've loved this video. Very useful! Thank you.
That was so helpful. Thank you very much.
Glad it was helpful!
Hi, Thanks for this wonderful Video!!
Glad you liked it!
Man, you are THE BEST !!!!!
Best 😍
Great. Thanks for this
Glad you liked it!
Thank you so much for such an informative video. You just gained a subscriber. I have a question. If you were to detect object creation on (same symbol) different timeframes than the selected chart. Is it possible to do it within the same expert advisor or do you have to open multiple charts and attach a separate advisor to each.
Greetings from Jordan.
Very interesting, learning a lot. I think taking this one step further would be of interest to a lot of people. I will setup a scenario, you are trading and have multiple timeframe charts open, including OffLine charts with nonstandard times. When you get a signal or Arrow on a highertime chart you would like to send this to a one-minute chart, (the 1 minute chart is compiling all the higher timeframe inputs to determine a trade signal). iCustom works in most cases but not for the OffLine charts. Is it possible to have the several highertimeFrame charts report to a Array in an Include File, I also noticed an array file section. Then the 1minute chart can call the info and act on it. Possibly a DLL in the 1 minute chart calling array locations?. Would you have to include the DLL in all the charts to have assess to the information? I tried this writing to a file, but when both charts are trying to talk to the file the platform grays out for a while.
A way to pass information would openup many possibilities in coding. When I discovered the get and send Global variable that writes to a permanent file, I devised several switches that allow an EA to talk to an indicator in different charts while all are running. The indicator can tell the EA to buy or whatever. These are limited because it slows the computer down so I only
use them as switches. Just an example.
Thankyou
Yes you can have other charts write to a common file. All you need to do is share the same file name and be careful about conflicts.
THANK YOU! THANK YOU! THANK YU! ONE DAY I HOPE TO GET AT LEAST HALF AS GOOD AS YOU WITH CODING.
The hard part is designing exactly what you want the code to do. I've also learned a lot more while making these videos, and that's after starting coding in 1978.
@@OrchardForex You've been coding since MetaTrader 1. Respect!
Thank you Sir.
You are most welcome
Awesome, you're a gr8 teacher. Can we also apply this idea for news on MT5? Tnx
This finds chart objects, does not read the news feed
Hello. As always thanks for your help. I'm stuck on the process of having the arrows in the trade function. As well as setting the objects as a trailing stop. Any pointers?
Such an Educative video, please how can I get in touch with you.
You can try the contact link at the bottom of the Orchard web page but I don't normally take on custom work for individuals.
Nice video sir.
Can you make a video on creating tick volume indicator color buffers. Mt4 tick volume wasn't saved in buffers, I've been finding it really difficult to create it into buffers.
The indicator has two colours, red and green respectively. Pls can you make a video on that?
You can show tick volume on the chart just by going to chart properties - common - show volume
Thanks for the beautiful class! I'm trying to make an EA with entries and exits based on Renko charts, but without success! Mr. Could you give a tip on how to do this? I believe that with this video and a few tips, I will be able to make this EA work! Thank you in advance. I already subscribed to your channel!
These may help
ua-cam.com/video/QYCKf6v9l0c/v-deo.html
ua-cam.com/video/n9gFpbq7zs8/v-deo.html
@@OrchardForex Thank you for your attention and feedback! I will watch the recommended videos! Good work and may God bless you greatly!
Thanks, @Orchard for this video. It's been helpful. I have an issue. I have an indicator showing two custom shapes on charts but can't find them in the Object list. Is there something I am missing?
They may be hidden. Click "List all" on the object list dialog.
@@OrchardForex I did, they still don't show up. The shapes aren't like the ones that came with mt4. The arrow looks different and the circles too
If they don't show in the object list then they are not objects. Could be a simple arrow style indicator and you see wingdings font, then just get values form the buffer or could be using an api to draw graphics if you allowed dlls.
❤ Thank you orchard Forex . I love to see how can I send any indicators alert signal to telegram channel? Can you made a tutorial?
Nice lesson 🔥, Can you also make an EA which trade once on every candle
Most of these EAs only trade once per candle, that's the NewBar() function.
I have a question about how to deal with an indicator with multiple values. Example MACD it has a value for the MACD line, the Signal line, and the histogram. How would you go about getting the difference in the values of the MACD line and the Signal lIne? If you use iCustom and CopyBuffer, it only copies the MACD line values into the buffer. How would you obtain the values for the Signal line?
The signal line has a different buffer number, copy that also.
Hello can you make video how you put logo in your ea and also how to make the chart looks nice when you put the ea in it
What do you mean by make the charts look nice
I have a custom indicator I want to use In my EA but the thing is way too complex. It shows the difference between 2 moving averages. I wish you would do videos on complex stuff like that too.
Difference between 2 moving averages is just MACD but if you want to use a custom indicator try this: ua-cam.com/video/9PfIfGzSHak/v-deo.html
After watching two videos, I rushed to purchase a premium course. I believed that your course will resolve my EA errors. Now your Premium course is closed. Do you have Udemy or Coursera courses so I can purchase courses and get codes?
Not right now. You can still sign up to discord and if I ever get around to releasing a full course I'll let everyone know there.
Do you help or any offer that build the mql5 for other indicator?
I don't do custom work.
HI
PLEASE COULD YOU MAKE A VIDEO THAT SPECIFICALLY TELLS US HOW TO SPECIFICALLY STORE PAST VALUE OF A SPECIFIC BUFFER ONTO ANOTHER ONE
We have a forum for requests to allow others to vote on popular topics at orchardforex.com/forums/forum/topic-requests/
Confirm if I back test this code with the indicator on the strategy tester, it should work or only if only works on live chart screen?
I can't be sure, much depends on how the indicator has been written.
Hi,
Lots of indicators draw lines with color changing (Red/Green).
Is it possible to know when this change of color happens?
Thanks
They usually have 2 buffers, drawing in different colours like supertrend. You hve to check both to see which has a value
mr Orchard how to add the indicator inside the ea as if you were calling custom and still get the values I tried adding the indicator but it returns 0.0 price
looking forward hearing from you.
That's exactly what this video explains. If you are getting an incorrect result check your settings, inputs and buffer number.
@@OrchardForex thanks for the reply. I am using an indicator that draw support and resistance using the HLine. The issue that I am facing is that it seems like this only captures the last object created maybe not just objects because I was checking if price broke above the Hline and returned true with object price being the last created object which was a great amount pips away from current price
@@sphelelelubanyana1750 iCustom is no help for indicators drawing objects on screen. You will have to find the objects and get values from them.
PLEASE HELP! My indicator only draws rectangle after a few candles can I search backwards to see when it was placed ?
I also have 2 different names for rectangles but i am sure i can figure that out
You can find the time where the object was palced with GetObjectInteger but there is nothing to say when the object was added to the chart.
How can I backtest an EA built based on this kind of arrow detection logic?
You could just run the indicator alongside the ea but it depends a lot on how the indicator was written and how it behaves in backtesting.
hello sir i have arrow indicator please can you help me to create EA with that indicator
Isn't that what this tutorial is about?
Does this still work for mt4 im getting allot of array errors
Yes this still works for MT4
@@OrchardForex can u send me the mq4 I cant get it right I've tried twice now and I get about 55 errors about needing arrays, declarations the links take me to a new account site
version 1 compiles and works but its v2 heres what compiler says..
'ObjectWatch ver2.0.mq4' ObjectWatch ver2.0.mq4 1 1
'Reportobject' - function not defined ObjectWatch ver2.0.mq4 61 4
'AddObject' - function not defined ObjectWatch ver2.0.mq4 62 4
possible loss of data due to type conversion ObjectWatch ver2.0.mq4 100 38
possible loss of data due to type conversion ObjectWatch ver2.0.mq4 103 46
'AddObject' - function not defined ObjectWatch ver2.0.mq4 127 7
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 153 30
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 153 30
'objects' - array required ObjectWatch ver2.0.mq4 153 30
'o' - undeclared identifier ObjectWatch ver2.0.mq4 154 19
'name' - struct or class type expected ObjectWatch ver2.0.mq4 156 55
'name' - struct or class type expected ObjectWatch ver2.0.mq4 156 55
implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 156 55
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 164 18
'name' - struct or class type expected ObjectWatch ver2.0.mq4 164 33
'name' - struct or class type expected ObjectWatch ver2.0.mq4 164 33
implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 164 33
'type' - struct or class type expected ObjectWatch ver2.0.mq4 165 22
'type' - struct or class type expected ObjectWatch ver2.0.mq4 165 22
'price' - struct or class type expected ObjectWatch ver2.0.mq4 166 22
'price' - struct or class type expected ObjectWatch ver2.0.mq4 166 22
'time' - struct or class type expected ObjectWatch ver2.0.mq4 167 22
'time' - struct or class type expected ObjectWatch ver2.0.mq4 167 22
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 174 27
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 174 27
'objects' - array required ObjectWatch ver2.0.mq4 174 27
'name' - struct or class type expected ObjectWatch ver2.0.mq4 177 24
'name' - struct or class type expected ObjectWatch ver2.0.mq4 177 24
implicit conversion from 'number' to 'string' ObjectWatch ver2.0.mq4 177 24
'Findobject' - function not defined ObjectWatch ver2.0.mq4 184 18
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 187 27
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 187 27
'objects' - array required ObjectWatch ver2.0.mq4 187 27
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 188 21
'objects' - array required ObjectWatch ver2.0.mq4 188 21
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 190 6
'name' - struct or class type expected ObjectWatch ver2.0.mq4 190 21
'name' - struct or class type expected ObjectWatch ver2.0.mq4 190 21
implicit conversion from 'string' to 'number' ObjectWatch ver2.0.mq4 190 29
'type' - struct or class type expected ObjectWatch ver2.0.mq4 191 21
'type' - struct or class type expected ObjectWatch ver2.0.mq4 191 21
'price' - struct or class type expected ObjectWatch ver2.0.mq4 192 21
'price' - struct or class type expected ObjectWatch ver2.0.mq4 192 21
possible loss of data due to type conversion ObjectWatch ver2.0.mq4 192 27
'time' - struct or class type expected ObjectWatch ver2.0.mq4 193 21
'time' - struct or class type expected ObjectWatch ver2.0.mq4 193 21
possible loss of data due to type conversion ObjectWatch ver2.0.mq4 193 27
'Findobject' - function not defined ObjectWatch ver2.0.mq4 198 16
'objects' - undeclared identifier ObjectWatch ver2.0.mq4 201 30
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 201 30
'objects' - array required ObjectWatch ver2.0.mq4 201 30
'objects' - parameter conversion not allowed ObjectWatch ver2.0.mq4 206 21
'objects' - array required ObjectWatch ver2.0.mq4 206 21
Ok i got it thank you for this video i hope this works for my ea
Como faço pra entrar no grupo VIP?
That is closed, it was a failed idea.
Please help have this error in the first version (2023.04.05 19:09:48.911 ChartObjectFinder GBPUSD,M1: cannot set timer (1)
)
I don't see a timer in the code, remove it.
@@OrchardForex You are right I do not find this uff?
Thanks a lot for taking your time to help me!!