You are a newbie I guess, so why trying to build your indicator from the scratch?
Take a working one e.g. from the SourceBase or from the article section that is similar to your idea and amend it according to your ideas? It's faster als a lot less frustrating!
Search here for "indicator plot symbols"

because while you gave the arrow code, you didn't specify the drawing type for the buffers
so you need this
#property indicator_type1 DRAW_ARROW #property indicator_width1 2 #property indicator_type2 DRAW_ARROW #property indicator_width2 2

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
I’m working on an MQL5 custom indicator and I’ve extracted this part of the code to test why the arrows aren’t showing up on the chart. The main logic of the indicator is working as expected, but the plotting is not.
Note that this is just a part I extracted from my indicator and I’ve given random names for testing purposes. The logic of where the arrows are meant to plot in the full indicator is not relevant for this issue. I’m just wondering why this specific code is not plotting anything.
What I’ve done so far:
I’m using miArrowBuffer[] and maArrowBuffer[] to plot arrows with the PLOT_ARROW property.
I’ve set the buffers as series with ArraySetAsSeries .
I’m just curious if there’s something in this specific section of code that’s causing the arrows not to plot, what is missing?