Re: Something interesting please post here (Metatrader 5)

2
Linear Regression Histogram


[*] This indicator is created by LuxAlgo

This indicator is inspired by traditional statistical histograms. It will return the number of occurrences of price falling within each interval (bins) of the linear regression channel. This can be useful to highlight zones of interest within a trend.


Settings :
  • Length : Number of recent closing prices used for the computation of the linear regression.
  • Bins Number : Number of intervals constructed from the linear regression channel.
  • Multiplier : Multiplicative factor for the RMSE. Controls the width of the linear regression channel.
  • Source: Input source of the indicator.
  • Show Histogram : true or false

Usage :

The indicator is constructed by dividing the linear regression channel range into a series of intervals (bins) of equal width. We then count the number of price values falling within each interval.




MEMO :
Avaible in TV [TradingView} : https://www.tradingview.com/script/1nJP ... m-LuxAlgo/
These users thanked the author Tsar for the post:
Banzai
Always looking the GREAT, never left GOOD Point...

Re: Something interesting please post here (Metatrader 5)

3
Tsar wrote: Fri Jan 02, 2026 4:53 am Linear Regression Histogram


[*] This indicator is created by LuxAlgo

This indicator is inspired by traditional statistical histograms. It will return the number of occurrences of price falling within each interval (bins) of the linear regression channel. This can be useful to highlight zones of interest within a trend.


Settings :
  • Length : Number of recent closing prices used for the computation of the linear regression.
  • Bins Number : Number of intervals constructed from the linear regression channel.
  • Multiplier : Multiplicative factor for the RMSE. Controls the width of the linear regression channel.
  • Source: Input source of the indicator.
  • Show Histogram : true or false

Usage :

The indicator is constructed by dividing the linear regression channel range into a series of intervals (bins) of equal width. We then count the number of price values falling within each interval.



Linear Regression Histogram - M15.jpg


Linear Regression Histogram - M30.jpg


Linear Regression Histogram - H1.jpg



MEMO :
Avaible in TV [TradingView} : https://www.tradingview.com/script/1nJP ... m-LuxAlgo/

For CODER

SOURCE of Theory and Formula :
- Linear Regression Explained with Example & Application in https://www.statisticalaid.com/linear-regression
- Regression in Machine learning in https://www.geeksforgeeks.org/machine-l ... regression
- From Histograms to Linear Regression: Building Deep Statistical Intuition for Data Science in https://medium.com/intern-elite/from-hi ... d1c92ad567


NOTICE :
I wish you can further develop it in the Future <3
These users thanked the author Tsar for the post (total 2):
Banzai, ashdays
Always looking the GREAT, never left GOOD Point...

Re: Something interesting please post here (Metatrader 5)

4
Tsar wrote: Fri Jan 02, 2026 4:53 am Linear Regression Histogram


[*] This indicator is created by LuxAlgo

This indicator is inspired by traditional statistical histograms. It will return the number of occurrences of price falling within each interval (bins) of the linear regression channel. This can be useful to highlight zones of interest within a trend.


Settings :
  • Length : Number of recent closing prices used for the computation of the linear regression.
  • Bins Number : Number of intervals constructed from the linear regression channel.
  • Multiplier : Multiplicative factor for the RMSE. Controls the width of the linear regression channel.
  • Source: Input source of the indicator.
  • Show Histogram : true or false

Usage :

The indicator is constructed by dividing the linear regression channel range into a series of intervals (bins) of equal width. We then count the number of price values falling within each interval.



Linear Regression Histogram - M15.jpg


Linear Regression Histogram - M30.jpg


Linear Regression Histogram - H1.jpg



MEMO :
Avaible in TV [TradingView} : https://www.tradingview.com/script/1nJP ... m-LuxAlgo/
Hello everyone! I converted this indicator, including the labels and MTF to MT4. If there are any errors, please let me know here.

Credits to TSAR and Luxalgo.
These users thanked the author RodrigoRT7 for the post (total 4):
Akela, Tsar, mazibee, kvak

HappyRe: Something interesting please post here (Metatrader 5)

5
Hello, This is probably not right but oh well :roll: (no i do not have the original code this was all made with AI) 6 To be fair a lot of errors needed to be fixed.. So this is my Clone i made of Legacy Of Gann for MT5 Since theres none out there in the internet only the original one from MQL5 Market. So yup enjoy Happy 2026 :)
These users thanked the author kysbog for the post (total 8):
BeatlemaniaSA, Tsar, kvak, Cagliostro, Jimmy, thomdel, Abdi, ricosuaveiii


Re: Something interesting please post here (Metatrader 5)

6
kysbog wrote: Mon Jan 05, 2026 6:17 am Hello, This is probably not right but oh well :roll: (no i do not have the original code this was all made with AI) 6 To be fair a lot of errors needed to be fixed.. So this is my Clone i made of Legacy Of Gann for MT5 Since theres none out there in the internet only the original one from MQL5 Market. So yup enjoy Happy 2026 :)
WOW, awesome job. I compared it with my new unfinished parallax indicator and the 1st two target levels are very similar, for the real extension GANN used a tricky formula... not so easy ;)

PS: parallax automatically finds valid ABC patterns, to avoid putting patterns where they are not valid.
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro

Re: Something interesting please post here (Metatrader 5)

7
Cagliostro wrote: Mon Jan 05, 2026 7:57 am WOW, awesome job. I compared it with my new unfinished parallax indicator and the 1st two target levels are very similar, for the real extension GANN used a tricky formula... not so easy ;)

PS: parallax automatically finds valid ABC patterns, to avoid putting patterns where they are not valid.

image_2026-01-04_215436260.png
Yeah its not easy doing the correct extension cant wait to see your creation :)