Buffer Mql5

 

hello guys i created an indicator that after a certain condition an arrow occurs , but how can i make it output a buffer?

  

 if(ConditionUp_TrendStars)
        {
         ObjectCreate    (HBB3_ID,"Arrow "+(string)TimeToString(time[shift])+" Up",OBJ_ARROW,0,time[shift],open[shift]);
         ObjectSetInteger(HBB3_ID,"Arrow "+(string)TimeToString(time[shift])+" Up",OBJPROP_COLOR,clrLimeGreen);
         ObjectSetInteger(HBB3_ID,"Arrow "+(string)TimeToString(time[shift])+" Up",OBJPROP_ARROWCODE,233);
         ObjectSetInteger(HBB3_ID,"Arrow "+(string)TimeToString(time[shift])+" Up",OBJPROP_WIDTH,2);
        }

i want to replace this arrow with an occuring buffer 

 
Just search for "indicator arrow" then select CodeBase and you find beside others this: https://www.mql5.com/en/code/12465
Indicator Arrows II
Indicator Arrows II
  • www.mql5.com
Plots up/down buffer arrows in chart window.
 
Carl Schreiber #:
Just search for "indicator arrow" then select CodeBase and you find beside others this: https://www.mql5.com/en/code/12465
I mean i want to replace the function after if condition from creating a new object to showing an occuring buffer .