Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 361
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
nowhere, for STYLE_DASH there is no thickness greater than normal
I've already sorted it out, but thanks anyway!
:)Nowhere, for STYLE_DASH is the thickness more than normal
I know that thickness can only be adjusted with line type STYLE_SOLID, but that was not the question
So here it is, By the way, you can't skip parameters, you can omit the last ones, but you can't skip them at all)))) I think, that the last zero is a colour. It turns out, that the width is skipped, but it must be, if the colour is specified.
void SetIndexStyle( int index, int type, int style=EMPTY, int width=EMPTY, color clr=CLR_NONE)
So here it is, By the way, you can't skip parameters, you can omit the last ones, but you can't skip them at all)))) I think, the last zero is a colour. It turns out, that the width is skipped, but it must be, if the colour is specified.
void SetIndexStyle( int index, int type, int style=EMPTY, int width=EMPTY, color clr=CLR_NONE)
And I also tested the search for lows and highs in Metatrader 5, I have some assumptions on that basis.
If it's not too much trouble, have a look at my code on the previous page. Tried everything and no way to make a mask with filter.
And I also tested the search for lows and highs in Metatrader 5, I have some assumptions on that basis.
Ok. I'll have a look now.
I am drawing a five without a dotted line.
Well, it seems to be drawing something.
Although I may not have fully
I may not fully understand the meaning of the indicator.
Forexman77:
У меня пятерку рисует без пунктира.
Are you kidding me? Dashed lines have no thickness other than standard (and in the documentation somewhere was written, I can not specify the place, but I remember that I read)
We prove:
1) throw in a normal mask
2) enter "Colours" properties
3) set line type - dashed line
4) Select thickness 2-5.
Result - a dotted line becomes a normal line.
There, it seems to be drawing something.
Although I may not have fully
fully understand the meaning of the indicator
The point is that if there is a fall or rise not exceeding 50 pips, the indicator should not change from the previous value,
which we recorded if there was no overshoot. And on every tick we compare it.
While there is no excess, a straight line is drawn; if there is an excess, the indicator gets the current value.
Approx.
the code below. But when I run it in the tester I see that it shows different things in real life. It starts to deviate when there is no excess
by the same 50 points. I can see that it delays especially on the rise and starts to change through the bar.
I made a mistake somewhere, I do not know where.