DownloadRe: MT4 Indicator requests and ideas

19502
Dear programmers, hello! Could you please convert my build to MT4. Thank you !

This Pine Script is an indicator for TradingView that performs several functions, including creating a dynamic fan of lines based on Hull Moving Averages (HMA), generating buy and sell signals, and calculating and displaying levels of support and resistance. Below is a detailed logical description of how the script works:

Indicator Initialization:

The script starts with indicator initialization, defining its name, title, and other settings.
Input parameters for the number of lines, their colors, and moving average lengths are defined.
Hull Moving Averages (HMA):

The script calculates two Hull Moving Averages (HMA) based on the closing price with different periods (5 and 20).
These HMA lines are then plotted on the chart and colored based on user-defined colors.
A fill is used to highlight the area between the two HMA lines.
Dynamic Fan of Lines:

The script creates a dynamic fan of lines on each bar. Each line starts at a specified point and extends based on the difference between the open and close prices over a defined number of bars (fiu_time).
These lines are color-coded based on whether they are pointing up or down.
The starting and ending points of each line are calculated and extended into the future to provide a visual representation of the fan.
Buy and Sell Signals:

Buy and sell signals are generated based on the crossover and crossunder of the two Hull Moving Averages (HMA). When the faster HMA crosses above the slower one, a buy signal is generated. Conversely, when the faster HMA crosses below the slower one, a sell signal is generated.
These signals are marked on the chart using arrow shapes.
Custom Functions:

The script defines two custom functions (f1 and f2) which seem to be related to certain calculations. Their exact purpose is not described in the code.
Moving Averages and Levels:

Additional moving averages and levels are calculated and displayed on the chart. These include Simple Moving Averages (SMA) and support/resistance levels.
The levels are represented by lines with specific colors.
Block and Line Drawings:

The script defines settings for drawing boxes and lines on the chart based on specific conditions.
These drawings are intended to represent levels of support and resistance and are color-coded.
Point and Draw Management:

The script manages points and drawings on the chart, including checking for certain conditions and updating them accordingly.
Volume Calculation:

The script calculates the volume associated with certain conditions (e.g., reaching a support or resistance level) and records it.
Level Overlapping:

The script checks for overlapping levels and adjusts them if necessary.
Display of Support and Resistance Levels:

The script defines settings for creating and displaying support and resistance levels on the chart.
These levels are updated on each candle, and their coordinates are adjusted as the chart progresses.
User-Defined Parameters:

The script provides user-defined parameters for specifying the number of blocks, the number of consecutive candles for support and resistance calculations, the data source (close, open, or high), and options to hide volume.
Display and Styling:

The script allows users to customize the visual appearance of the support and resistance levels, including their colors and text settings.
Final Output:

The script generates a final output on the chart, displaying "DN" (presumably representing "Down") at the bottom-right corner of the chart as a label with a specific color and text size.
Please note that this script is quite complex and may have been designed for a specific trading strategy. Understanding and modifying it for specific trading needs would require a deep understanding of Pine Script.
Who knows others is wise
Who knows himself is enlightened

Re: MT4 Indicator requests and ideas

19505
mntiwana wrote: Wed Sep 13, 2017 2:55 pm Ehlers Super Smoother Smoothed oscillator
this version using "Ehlers Two Pole Super Smoother Filter" for to work - attached
histo style oscillator - with alpha and shift options - in picture the lowest sw
Image
Possible to lighten the hang time of this and add mtf?
Needs attached indi for oscillator

Nvm my super pass band filter had unique id causing lag
0 + 0 = 0
Infinite / Infinite = 1
1 way to Heaven & it matters


Re: MT4 Indicator requests and ideas

19507
TransparentTrader wrote: Sat Oct 21, 2023 7:03 am TRADINGVIEW INDICATOR: "Extreme Entry with Mean Reversion and Trend Filter" by spudow

kvak, mrtools, or any of the many talented programmers here at Forex-Station, would it be possible to port this indicator into TradingView? I can't imagine the code is too complex or difficult just based off my first glance at it.

I am grateful for all the hard work everyone here puts in every day! :problem:

Hello programmers, I was wondering if anybody was able to see this indicator port request.

If you don't have the time to take it on, or the conversion can't be done, please let me know. :)

Re: MT4 Indicator requests and ideas

19510
mrtools wrote: Thu Oct 26, 2023 2:31 am So basically you want arrows when the histogram crosses zero, think we have macd's that do that already.
not histogram crosses zero, ma lines all crosses above and below zero .. not one time.
i have arrows, but that once arrow only appear. not to all crosses time as you know that..
"There is NO GOD higher than TRUTH" - Mahatma Gandhi


Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], ChatGPT [Bot], kvak, Proximic [Bot], specialkey, Yandex [Bot] and 46 guests