Re: Already Converted TradingView Indicators to MT4 Indicators

611
Jagg wrote: Fri May 09, 2025 9:55 pm Thanks for the work - the DrawDirectionArrow(s) are still "?" here... do they work for you?
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);


Re: Already Converted TradingView Indicators to MT4 Indicators

612
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:
These users thanked the author Pipa for the post (total 2):
Jackson Doh, kvak

Re: Already Converted TradingView Indicators to MT4 Indicators

613
dmnik wrote: Thu May 08, 2025 8:55 pm Linear Regression Volume Profile

This indicator combines a Linear Regression channel with a dynamic volume profile, providing traders with a powerful tool for visualizing both directional price movement and volume concentration along a trend.

Features

Linear Regression Channel:
  • Draws a statistically fitted channel
  • Tracks the market trend over a given period
Volume Profile Overlay:
  • Divides the channel into horizontal levels
  • Calculates the trading volume at each level
Percentage Labels:
  • Shows the share of each level in the total volume
  • Visualises high/low volume areas
Gradient Bars:
  • Colour from yellow (low volume) to red (high volume)
  • Quickly identify key areas of interest
Additional Features:
  • Adjust profile width and resolution
  • Channel direction indicator (arrow)
  • Customise line style (solid/dashed/dotted)
How to use the Linear Regression Volume Profile
  1. Trend Identification:
    • Use the Linear Regression Channel to identify direction
    • Analyse the slope of the central line
  2. Volume Analysis:
    • Look for levels with maximum volume - key S/R zones
    • Pay attention to large bars - zones of institutional interest
  3. Trading signals:
    • Direction arrow helps to determine the trend
    • Combine with other indicators (Price Action, RSI, MACD)
Summary

LR Volume Profile is a professional tool for:
  • Combined trend and volume analysis
  • Identifying significant price levels
  • Making informed trading decisions
The indicator is especially useful for:
  • Identifying accumulation/distribution zones
  • Filtering false breakouts
  • Finding entry points with volume confirmation
Using it in trading

Trend trading:
  • Buy on a rebound from the lower border with increasing volume
  • Sell on a rebound from the upper border with increasing volume
Counter-trend trading:
  • Buy at the lower border with low volume
  • Sell at the upper border with low volume
Filtering signals:
  • Use directional arrow to confirm trend
  • Pay attention to areas with maximum volume
Examples of strategies

Level breakout:
  • Enter when level breaks with low volume
  • Stop loss behind the nearest level with high volume
Level bounce:
  • Enter when level bounces with high volume
  • Take profit at the next level
👍👍👍 #LR_Volume Profile
hello its' seems to have problems
first it doesnt show the linear regressions channels and second i have only a lot of ????????????? IN THE INPUT PARAMETERS
MERCI