void sqDrawUpArrow(int shift) {
string name;
StringConcatenate(name, "Arrow_", MathRand());
ObjectCreate(ChartID(), name, OBJ_ARROW, 0, getTime(shift), getHigh(shift) - 20 * _Point); //draw an up arrow
ObjectSetInteger(ChartID(), name, OBJPROP_STYLE, STYLE_SOLID);
ObjectSetInteger(ChartID(), name, OBJPROP_ARROWCODE, OBJ_ARROW_UP);
ObjectSetInteger(ChartID(), name, OBJPROP_COLOR, clrGreen);
}
SHOULD BE:
ObjectCreate(ChartID(), name, OBJ_ARROW, 0, getTime(shift), getLow(shift) - 20 * _Point); //draw an up arrow <- it can be considered also to be more than 20 as DownArrow has 140
Please see the PrintScreen Attached (Created in StrategyTester) - Green Arrows are presented ON THE Candles and not Below