Questions from Beginners MQL5 MT5 MetaTrader 5 - page 962
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
The compiler doesn't swear, but warns that you are trying to put double into int.
A great picture on the subject - it's funny, thank you.
Try also DRAW_COLOR_CANDLES
Try also DRAW_COLOR_CANDLES
DRAW_COLOR_CANDLES does not change the width, although it is present in the example documentation (#property indicator_width1 1). Therefore overlaying one candle on top of another will not work.
DRAW_COLOR_CANDLES does not change the width, although it is present in the example documentation (#property indicator_width1 1). Therefore, overlaying one candle on top of another will not work.
You can calculate the width of the bars in pixels, and use this value to determine the thickness of the histograms. All in all, if you want...
You can calculate the width of the bars in pixels, and use this value to determine the thickness of the histograms. All in all, if you want to...
"...the width of the bars in pixels..." I don't really understand how to do it.
"...calculate the width of bars in pixels..." I don't really understand how to do it.
Anyway, if you want to, you have to check what you get. I haven't tested it, for want of a reason...
Scale
Mode of specifying scale in pixels per bar
Chart width in pixels /Chart width in bars This may not work when the indent from the right edge of the chart is set.
Anyway, if you want to, you have to check what you get. I haven't tested it, for want of a reason...
Scale
Scale mode in pips per bar
Chart width in pixels /Chart width in bars This may not work when set to indent the right edge of the chart.
Thank you.
I wrote the filter for testing this way...
Well... that's how I wrote it.)
I wrote the filter for testing this way...
Well... that's how I wrote it)
You should test it in"Every tick based on real ticks" mode:
InpSpread - input long parameter.
Test in"Every tick based on real ticks" mode:
InpSpread - input long parameter.
Thank you Vladimir, I have set the input long.
spread=0 //поправил, на == это ведь сравнение?
if(spread_points<=InpSpread) // поправил на spread
Everything works, but it still filters the spread only for 5 months. I respect"Every tick based on real ticks".
Maybe it is because ofMetaQuotes, I will try other ones now.