Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1488
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
Thank you for your help. Can I also ask for an example of EA (part of the code) on how to get value from these lines in EA.
I made an Expert Advisor for myself https://www.mql5.com/ru/code/34046- which can perform operations on horizontal or trend lines
You need to know the name of horizontal lines fromTymen_STARC_Bands_MTF
here are their names
and enter them into the Expert Advisor and set the command
here
Thank you for your help. Can I also ask for an EA example (part of the code) of how to get the value from these lines in EA.
the function itself in Expert Advisor from Horizontal or Trend line
Here -(marked in yellow - here the name of line is set )\\\\\\\\\\\\ for 1 minute test - manually put a horizontal or trend line, set the same name in Expert Advisor and in the line itself.
Thank you for your help. Can I also ask for an EA example (part of the code) of how to get the value from these lines in EA.
the easiest and simplest way is to get the names of Horizontal or Trend lines from the Indicator.
- right-click on a chart and find LIST OF OBJECTS(copy and paste into Expert Advis or)
I'm begging for help, I've already racked my brain, I can't find how to implement the following.
When opening a new bar, perform a calculation.
When opening a new bar again, perform the calculation and perform any actions.
I can't find it in MQL5
Please help!!!
Hi all !
I'm begging for help, I've already racked my brain, I can't find how to implement the following.
When opening a new bar, perform a calculation.
When opening a new bar again, perform the calculation and perform any actions.
I can't find it in MQL5
Please help!!!
If it's for indicator, there are rates_total and prev_calculated. If it's for Expert Advisor, it's the same as in mql4...
Can I have a short piece of code please, I'm a newbie and my head is already boiling. Confused.
If it is for an indicator, there is rates_total and prev_calculated. If it is for an EA, then the same as in mql4...
Yes, it's for the indicator
Alexey Viktorov:
Если это для индикатора, то есть rates_total и prev_calculated. Если-же для советника, то так-же как и в mql4…
Am I reading this right?
The opening of the candle is delayed by 9-12 seconds.
Can you please tell me if this is the first tick?
It is just extremely important for me to make calculations, and perform any actions on the first tick of a new candle.
Am I reading this right?