This would have been more helpful with you showing and teaching us step by step. Would appreciate if you put links too your course too. We really need this .
In order to clear up any confusion... Only a script or an expert has access to trading functions such as OrderSend(). An indicator can not place trades. as the page at book.mql4.com/basics/programms states under the "Trading" section.... "Only EAs and scripts can use trading functions (only if the corresponding option is enabled in the EA/script settings). It is prohibited to use trading functions in custom indicators." However an indicator's ex4 file can be called from an expert as this video shows, and used to trigger the EA. This video also shows with the text call out at 13:26 that the indicator that you call DOES NOT have to be attached to any chart. It only needs to be in the appropriate folder of your platfrom. Mql4/indicators. If you read the actual blog post you will note that it mentions that you can actually have the indicator give you a signal from a different currency pair and or timeframe other than the one you have the EA loaded on. There is another trick. If you put your indicator in a sub folder of the Indicators folder, lets say it's the MyIndies folder when you call your FavIndy file from that folder you call it as "\\MyIndies\FavIndy" note that it's a double backslash... There is an example of it on the mq4 site here...docs.mql4.com/indicators/icustom PipPip
You are most welcome Naresh. Thank you for subscribing! Become part of this community by commenting, liking, and sharing not only the videos, but what you learn from them... jimdandy
Dear Jim, I would like to thank you very much for your effort and sharing your experience in coding MQL4. I have a question regarding the multi-timeframe strategies that uses two time frames (H1 and D1) and three indicators(Bollinger Bands for H1, and Heikin Ashi adn Stochastic for the D1). Is there a way to code and idicator that goes back in time for the Heikin Ashi candle. Thank you very much.
Hello Mr. Jim, your contribution to us ignorant wannabe programmers in mql4 is trully much appreciated! I have one question though which i m really puzzled about it. Here it comes..... Is it possiple to call a script on a chart by clicking on a button created with an indicator? Thank you in advance.
You drop a script on a chart from the navigator window. It runs and closes immediately, it does not stay on the chart to be 'called'. If you want that action to occur when you press a button then put the code of that script in the indicator to be run when you press the button.
@@Jimdandy1958 It is my understanding that indicators cannot perform trading operations i.e. open trades set tp and sl and such, but i will try this just to see what happens PS Thank you for the promt feedback
Jim .. First of All .. I Wana thank you for the great content you are providing. Second .. I wonder how to make an EA that is triggered by two indicators ( leading / lagging ) .. I mean that their signals does not appear on the same bar ?! For Example : if I am using a stochastic cross as a primary signal and I want the EA not to start the buy or sell order till it gets a confirmation from MA cross ?!! I appreciate your help in this Regards,
@@Jimdandy1958 thanks for your answer Jim .. but what I meant is that the signals of the two indicators are not in the same bar ( example : shift for stochastic is 1 and for MACD is 2 ) and I think this requires a special code for counting the consecutiv signals .. and fire the order after the last signal occurs ) I appreciate some explainaition with code ( hossam.bayome@gmail.com) Regards Hossam Habib
Hi. Jim. Could you explain why at 10:35 it's using static to declare a datetime or what does static do. I heard that static in a function out of class means it's lifetime expands to the end of program. But it's declared in a function that being said functions out of this function can not access to this variable. So what's the point to make it's lifetime longer if we can't access to it no more?
a static variable is only declared once. it is not reset to zero each time this function runs. it will not be removed from memory at the endo of the function. when the function runs again it will still contain the value it had when the function last ran. Only when a new time will the function run and update the candletime.
hi, am having trouble.... downloaded very old indicator and lost source code.... the developer has left the mql5 and cant reach him... how to add some pairs to the indicator please
Hello Jim, I have indicator that i use for binary, I need help in making the arrow appear sooner, I do not want it lag a secs when new candle opens. If you can help me fix this issue. I will pay for it. Please respond and help me. I have learn a lot from your videos and i am looking forward in hearing from you. Thank you so much Sir.
This would have been more helpful with you showing and teaching us step by step. Would appreciate if you put links too your course too. We really need this .
In order to clear up any confusion... Only a script or an expert has access to trading functions such as OrderSend(). An indicator can not place trades. as the page at book.mql4.com/basics/programms states under the "Trading" section....
"Only EAs and scripts can use trading functions (only if the corresponding option is enabled in the EA/script settings). It is prohibited to use trading functions in custom indicators."
However an indicator's ex4 file can be called from an expert as this video shows, and used to trigger the EA. This video also shows with the text call out at 13:26 that the indicator that you call DOES NOT have to be attached to any chart. It only needs to be in the appropriate folder of your platfrom. Mql4/indicators. If you read the actual blog post you will note that it mentions that you can actually have the indicator give you a signal from a different currency pair and or timeframe other than the one you have the EA loaded on.
There is another trick. If you put your indicator in a sub folder of the Indicators folder, lets say it's the MyIndies folder when you call your FavIndy file from that folder you call it as "\\MyIndies\FavIndy" note that it's a double backslash...
There is an example of it on the mq4 site here...docs.mql4.com/indicators/icustom
PipPip
You are excellent at explaining things sir, Thanks for the vids
Does it have to be arrow only instead of a point?
I'd really appreciate the answer.
Thanks!
You are the Best Sir. Thank you very much
You are most welcome Naresh. Thank you for subscribing! Become part of this community by commenting, liking, and sharing not only the videos, but what you learn from them... jimdandy
Can you make a video on the zig zag indicator in a Ea robot
Dear Jim,
I would like to thank you very much for your effort and sharing your experience in coding MQL4.
I have a question regarding the multi-timeframe strategies that uses two time frames (H1 and D1) and three indicators(Bollinger Bands for H1, and Heikin Ashi adn Stochastic for the D1).
Is there a way to code and idicator that goes back in time for the Heikin Ashi candle.
Thank you very much.
This video is gold
Hello Mr. Jim, your contribution to us ignorant wannabe programmers in mql4 is trully much appreciated! I have one question though which i m really puzzled about it. Here it comes..... Is it possiple to call a script on a chart by clicking on a button created with an indicator? Thank you in advance.
You drop a script on a chart from the navigator window. It runs and closes immediately, it does not stay on the chart to be 'called'. If you want that action to occur when you press a button then put the code of that script in the indicator to be run when you press the button.
@@Jimdandy1958 It is my understanding that indicators cannot perform trading operations i.e. open trades set tp and sl and such, but i will try this just to see what happens
PS
Thank you for the promt feedback
Jim .. First of All .. I Wana thank you for the great content you are providing.
Second .. I wonder how to make an EA that is triggered by two indicators ( leading / lagging ) .. I mean that their signals does not appear on the same bar ?!
For Example : if I am using a stochastic cross as a primary signal and I want the EA not to start the buy or sell order till it gets a confirmation from MA cross ?!!
I appreciate your help in this
Regards,
simple answer is that your trigger happens when stochastic has crossed and macd has crossed. I teach that kind of stuff in my course.. learnmql4.com
@@Jimdandy1958 thanks for your answer Jim .. but what I meant is that the signals of the two indicators are not in the same bar ( example : shift for stochastic is 1 and for MACD is 2 ) and I think this requires a special code for counting the consecutiv signals .. and fire the order after the last signal occurs )
I appreciate some explainaition with code ( hossam.bayome@gmail.com)
Regards
Hossam Habib
Hi. Jim. Could you explain why at 10:35 it's using static to declare a datetime or what does static do. I heard that static in a function out of class means it's lifetime expands to the end of program. But it's declared in a function that being said functions out of this function can not access to this variable. So what's the point to make it's lifetime longer if we can't access to it no more?
a static variable is only declared once. it is not reset to zero each time this function runs. it will not be removed from memory at the endo of the function. when the function runs again it will still contain the value it had when the function last ran. Only when a new time will the function run and update the candletime.
@@Jimdandy1958 Thanks Jim, your answer is very easy to understand. Appreciate it!
thanks man your videos are a great help
hi, am having trouble.... downloaded very old indicator and lost source code.... the developer has left the mql5 and cant reach him... how to add some pairs to the indicator please
Great content, thanks!
Thanks for the info.
Thank you man
Hello Jim, I have indicator that i use for binary, I need help in making the arrow appear sooner, I do not want it lag a secs when new candle opens. If you can help me fix this issue. I will pay for it. Please respond and help me. I have learn a lot from your videos and i am looking forward in hearing from you. Thank you so much Sir.
Hello I need help how do you activate a dll on an EA and also activate the dll patch for the licence.
make sure dll's ae allowed in the terminal.. other than that I don't know. You'd need to get with someone smarter than me on dlls..
@@Jimdandy1958 Thanks how do you check for to make sure DLL are allowed in the terminal
@@Jimdandy1958 may be I have to ask my questing this way. how do you activate EA using DLL security installation
@@isaaclewis1163 I do not know.
thanks sir , you are great !!!!!!!!!!!!!!!!!!!!!!!!
If indicators actually worked, then why aren't we all rich?
Thanks.
AMAZING .... AGAIN!!!
I am looking for an EA, that will purchase a contract when an arrow is drawn on the chart from any indicator, is this possible?
i need a expert coder for my system can anyone help? paid job
www.mql5.com/en/job
what is the purpose of this video......to waste time