Arrow Up and Down not show properly

 

hi, my indicator is gonna mark ichimoku cross and i decide to showing those marks with arrows but in chart they not showing properly(in screenshot below)

this is part of my code :

string ArrowName="Arrow-down";
StringAdd(ArrowName,(string)i);
ObjectCreate(ArrowName, OBJ_ARROW, 0, time[i-1], low[i-1]); //draw an up arrow
ObjectSet(ArrowName, OBJPROP_STYLE, STYLE_SOLID);
ObjectSet(ArrowName, OBJPROP_ARROWCODE, SYMBOL_ARROWDOWN);
ObjectSet(ArrowName, OBJPROP_COLOR,clrRed);
Files:
 

I think it is, but it's rather small and selected by default. Try adding the following:

ObjectSet(ArrowName, OBJPROP_WIDTH, 10); // Just play around with the value
ObjectSet(ArrowName, OBJPROP_BACK, false);
ObjectSet(ArrowName, OBJPROP_SELECTED, false);
ObjectSet(ArrowName, OBJPROP_SELECTABLE, false); // Optional, in case you don't wanna be able to select it by clicking on it
 
ObjectSet(ArrowName, OBJPROP_ARROWCODE, SYMBOL_ARROWDOWN);
Always post all relevant code (using Code button) or attach the source file.  We don't know what SYMBOL_ARROWDOWN is.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem
Reason: