Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 479

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
Spread, if set to current. Test End Date if billed as current. There could be many more reasons.
Fixed Spread, End Date 01.01.18
Fixed spread, End date 01.01.18
cost per point..... etc
try this weekend.
I am trying to make an indicator in MQL4, which would plot a line on "US.500+" chart by close prices from "US.30+". In general, the price lines of two symbols would be visible on one chart. Below is the code, but it does not work. In the log message "indicator on custom buffer is not supported yet". Teach me why it doesn't work. Opps.
I am trying to make an indicator in MQL4, which would plot a line on "US.500+" chart by close prices from "US.30+". In general, the price lines of two symbols would be visible on one chart. Below is the code, but it does not work. In the log message "indicator on custom buffer is not supported yet". Teach me why it doesn't work. Opps.
Because you have to use the first form of call.
I found the reason - 60 seconds should be counted out of a loop
Thank you, thank you for the clarification.
If instead of 60 seconds it will be 300.
Position opening times are different, you need to write 300 seconds apart from the position opening time.
How should I do it?
Have you tried my program? I don't really understand 300... If you set 300 instead of 60, is it true? If you tell me how to get profit from it, I'll try to understand it better!
Help with the EA, as always the problem is probably trivial, but I haven't solved the conundrum
Should open buy ifema>smma fromema or not reaching itpoint(same for sell). Should close the deal at the close of the bar-open a new bar. The next open in the same way, but with a condition above theopening price of the previous one, that islast_order_price.
But in the end it opens where it wants and closes. (At the beginning of the test it opens and immediately closes)
Help with the EA, as always the problem is probably trivial, but I haven't solved the conundrum
Should open buy ifema>smma fromema or not reaching itpoint(same for sell). Should close the deal at the close of the bar-open a new bar. The next open in the same way, but with a condition above theopening price of the previous one, that islast_order_price.
But in the end it opens where it wants and closes. (At the beginning of the test it opens and immediately closes)
Where does it have a button?
Can you tell me how to align text in CSpinEdit control from #include <Controls\SpinEdit.mqh> (text field with increment).
By default it's aligned to the left edge, but I want it to be aligned to the right.