Questions from Beginners MQL4 MT4 MetaTrader 4 - page 103
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Teach how to stop the EA and start it when a new candle appears.
The terminal has an example of an Expert Advisor Moving Average.mq4 - it has this:
Try this EA - it shows the start of a new bar
The terminal has an example of an Expert Advisor Moving Average.mq4 - it has this:
Try this EA - it shows the start of a new bar
Possible use of uninitialized variable 'LastTime'
For the program to work in MT5 use MT4Orders - library for MetaTrader 5
Write to
Thank you, it's working.
Thank you, everything works.
res=OrderModify(OrderTicket(),OrderOpenPrice(),SL,OrderTakeProfit(),0,Blue);
the stop loss rollover failed
Error in the alert: error 1
What is wrong here?
res=OrderModify(OrderTicket(),OrderOpenPrice(),SL,OrderTakeProfit(),0,Blue);
the stop loss rollover failed
Error in the Alert: error 1
Insert above Alert("Ticket=",OrderTicket(), " SL=", SL); and see what it shows. And do this more often - many errors become clear immediately
Use MT4Orders - library for MetaTrader 5 when you transfer your program from MT4 to MT5
Good afternoon everyone. I have a question about MT4. I have a chart set up with japanese candlesticks, on TF H1 only 12 days fit in the window, so that the candlesticks were legible, if you click to zoom out the chart, the candlesticks turn into lines. I would like to put at least 16 days in the chart window, but so that the candlesticks remain legible.
You need a MONITOR (resolution) ... a bigger one :)
Hi all.
How do I get rid of the following comment when compiling:
possible use of uninitialized variable 'SL1'