Hello. I made custom indicator. everything is working correct. but issue is that lines has gaps and I couldn't figure it out why.
![](https://c.mql5.com/3/289/Screenshot_24__1.png)
-
Why did you post your MT4
question in the
Root / MT5 General section
instead of the MQL4 section, (bottom of the Root page?)
General rules and best pratices of the Forum. - General - MQL5 programming forum
Next time post in the correct place. The moderators will likely move this thread there soon. - If you assign to one color buffer, make the other color buffer empty.
HOW CAN I hide CONNECTION lines of plots? (ttt) - MQL4 programming forum For MT4 I use:One buffer has the value, color set to CLR_NONE so not shown on chart, (but in data window and pop up.)
Two buffers, one color each, with SetIndexLabel(i, NULL) so they don't show in data window.
Then you need to connect the lines on color change. downBuffer[i]=value[i]; if(downBuffer[i+1]==EMPTY_VALUE) downBuffer[i+1]=value[i].
![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