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

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
Hi, could you please tell me why ChartGetInteger is preceded by (int) in parentheses?
int bars=(int)ChartGetInteger(0,CHART_VISIBLE_BARS);
Hello. Please advise.
I have an indicator that is supposed to draw the High and Low lines of the day on each bar of a smaller timeframe.
When I put it on the chart, it just draws the lines at the current high and low of the day (in the picture, as it should be).
Hello. Please advise.
I have an indicator that is supposed to draw the High and Low lines of the day on each bar of a smaller timeframe.
When I put it on a chart, it just draws lines at the current high and low of the day (in the picture, as it should be).
Here is the answer
Here is the answer
Hello, could you please tell me what is the chart ID?
I usually go to the help.
Can you please give me a code for MT4 and MT5 Expert Advisor to puta stop loss 2-3 points above the maximum/minimum of just closed candle.
Or where can i see the tutorial on this subject. Thanks in advance :-)
Please give me a code for MT4 and MT5 Expert Advisor to puta stop loss 2-3 points above the maximum/minimum of just closed candle.
Or where can i see the tutorial on this subject. Thanks in advance :-)
You declare an array of type MqlRates. You copy the OHLC and other parameters of a closed candlestick
and then take the High or Low values from which you are offset by 2-3 points and put stops there.
You may also use
и
Declare an array of MqlRates type. Copy OHLC and other parameters of closed candlestick
and then take values High or Low from which you are 2 or 3 points away and put stops there.
You may also use
и
Thank you, but could you give me at least one objective example? A view from above, so to speak. I'm a complete novice and I've been on the subject for two days :-)
I'm trying to learn too - I think I'm getting somewhere