You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
+ almost half of them are about MT5. Well, I'm not interested in seeing topics about MT5 on the fourth forum. If I want to read about it, I'll go to the fifth forum. What an intrusive advertising...
I'll go to 4th forum and switch to 5th forum, but there's no switch to 4th. That's why I go in without delay, so I don't get stuck. Then it's through the terminal when the 4 appears upstairs to the right, and why is the 5 there most of the time?!
Enlighten the darkness! What do triangles mean?
The topics attached at the beginning of the forum, many of which are completely off-topic (the forum is about programming for MT4, not about the market and other gimmicks, or even directly advertising MT5):
at the end of the day!!!
Good afternoon, Vladimir!
I would like to take this opportunity
Ask you a question because
You are an mql5 specialist
Is it possible to call a script from an mql5
Can I call a script from an indicator?
pansa
Good afternoon, Vladimir!
I would like to take this opportunity
Ask you a question because
You are an mql5 specialist
Is it possible to call a script from an mql5
Can I call a script from an indicator?
pansa
There are as many Vladimirovs as there are needles on a pine tree:
You cannot just call a script from the indicator.
You can only use a resource, which is saved in the script:Resources
Использование ресурсов других mql5-программ
Use of resources has another advantage - in any mql5-program you can use resources from any EX5 file. Thus, resources from one EX5 file can be used in many other mql5 programs.
In order to use a resource name from a third-party file, it must be specified in the form <EX5_file_name_path>::<resource_name>. For example, let the Draw_Triangles_Script.mq5 script specify the resource for the image in the file triangle.bmp:
#resource"\\\Files\\\triangle.bmp"
Then, its name will look like "Files\triangle.bmp" to be used within the script itself while a special attribute "::" should be added to the resource name to be used.
//---using the resource in the script itself
ObjectSetString(0,my_bitmap_name,OBJPROP_BMPFILE,0,"::Files\\\triangle.bmp");
To use the same resource from another program, e.g., an Expert Advisor, you should add it to the ... t further in the text
T.to:
Indicator
One execution thread for all indicators on one symbol. As many symbols with indicators - as many execution threads for them
Endless loop in one indicator will stop all other indicators on this symbol
Such calls are prohibited in indicators:
Prohibit functions in indicators and Expert Advisors
Indicators, scripts and Expert Advisors are executable programs in MQL5 and are intended for various types of tasks. Therefore, there are restrictions on the use of certain functions depending onthe type of program. The following functions are prohibited in indicators:
Thus the script can be called from the indicator by embedding the script code in the indicator code, only the limitations mentioned above should be taken into account.
Dear barabashkakvn!
Thank you for the clarification!
I got into someone else's topic.
I apologize!
I would like to address you personally
if you agree send
email me
r.klassen.ruit@web.de
regards
Panza
Dear barabashkakvn!
Thank you for the clarification!
I got into someone else's topic.
I apologize!
I would like to address you personally
if you agree send
email me
r.klassen.ruit@web.de
regards
Panza