Jackson Doh wrote: Fri May 09, 2025 10:24 pm
Unfortunately not. I get the "?" as well. It comes from line 239 which is:
string TextArrows = Tilt > 0 ? "↓" : "↑";
Maybe kvak can show us how to input a wingding code without any buffers?
I have been looking at code like:
ObjectSetInteger(0, ArrowName, OBJPROP_ARROWCODE, ArrowCodeUp);
Hi guys,
I'm still enjoying my long vaca, but noticed this great indicator. Replace the void DrawDirectionArrow() with the following and your fine:
Code: Select all
void DrawDirectionArrow()
{
if(!ShowArrow) return;
string ArrowName = "LRVP_DirectionArrow";
if(ObjectFind(0, ArrowName) < 0)
{
ObjectCreate(0, ArrowName, OBJ_ARROW, 0, 0, 0);
ObjectSetInteger(0, ArrowName, OBJPROP_FONTSIZE, FontSizeArrows);
ObjectSetInteger(0, ArrowName, OBJPROP_BACK, false);
}
datetime TimeHands = iTime(NULL, 0, CalculationLength-1);
double PriceHands = Tilt > 0 ? StartingPrice + ATR * (NumberOfLevels + 1) : StartingPrice - ATR * (NumberOfLevels + 1);
int TextArrows = Tilt > 0 ? 242 : 241;
color ColorArrows = Tilt > 0 ? DownTrendColor: UpTrendColor;
ObjectSetInteger(0, ArrowName, OBJPROP_ARROWCODE, TextArrows);
ObjectSetInteger(0, ArrowName, OBJPROP_COLOR, ColorArrows);
ObjectMove(0, ArrowName, 0, TimeHands, PriceHands);
}
Or download the 'fixed' versions: