Re: Something interesting please post here (Metatrader)

2241
gaarmitaar wrote: Sun Oct 16, 2022 12:57 pm There is a good article here explaining why SE is superior to moving average in many ways

And I'm wondering what would a mix of G-Channel and this could create :Rofl:
Hi gaarmitaar,

Thanks for the interesting post and contribution. I'm sure the Master Coders on the forum will seriously consider this. I am NOT a coder but I love the simplicity and the complexity of mathematics.

Just because things are DOES NOT mean they should always be. A fresh and unbiased view is openly welcomed in the forum.

If you have some sample code to share with the coders to experiment with please feel free to share it with them. :)

Welcome to the forum. :thumbup:

Regards,
BeatlemaniaSA
BEATS V5 - "Enjoy The Quiet Between Trades”

Improve Your Trading Psychology - NO FEAR, NO DOUBT


Re: Something interesting please post here (Metatrader)

2242
gaarmitaar wrote: Sun Oct 16, 2022 12:57 pm Dear respected Sirs,

This is my first post here , so i will start with a big big thank you to everyone involved in this wonderfull forum. I have learned much here.

i am starting my trading journey in a few month after learning for so many years, and after studying the work of many traders, from the mega top to the average Joe. My conclusion about their work (probably everybody knows that at this point) is that the difference between the mega top and the good traders is....

the exit strategy !

A 10 years old child can enter the market following an indicator, but managing a trade when its developing is an art , im sure you will all agree on this.

Hence i have reviewed many types of stops and exit strategies.

What boggles my mind , is that i cant find anywhere an implementation of the standard errors bands for mt4.

If i missed something , please i beg you to pardon me , but i just couldnt find it. Kindly point me towards it.

Standard error bands will be my stops because they fit my strategy. And seriously , they are awesome, but it seems like nobody knows about them.
They were created and made public in the Article/Author: "Standard Error Bands" Jon Anderson, Stocks&Commodities Magazine, Traders Tips, 09/1996

This is from multicharts forum :
The construction of standard error bands is similar to that of Bollinger bands. The difference: instead of measuring the variance or degree of volatility around the average price using the standard deviation, standard error bands require the use of the standard error of the estimate around a 21-period linear regression line. The middle band is calculated as the ending value of a 21-period linear regression line and adding two standard errors to the ending value of the regression line to form the upper standard error band. To form the lower standard error band, subtract two standard errors from the end value of the linear regression line.

Upper Band = SmoothedRegressionLine (EndPointOfRegression of Close Price,SDeg) + 2 x SmoothedStdError
Lower Band = SmoothedRegressionLine (EndPointOfRegression of Close Price,SDeg) - 2 x SmoothedStdError

This is from a Phemex blog :
The Standard Error equation is based on a square of the linear regression line and the price average. The oscillator and the bands have different formulas. Here is how to calculate the Standard Error:

Standard Error Formula : standard error 1.png

The Standard Error bands are based on a smoothened regression line and four standard errors – two for each regression band. The upper regression line is based on a 21-period regression curve. The line uses smoothening with a Simple Moving Average (SMA) combined with two standard errors.

The lower regression line uses linear regression minus two standard errors. The Standard Error Bands formula is the following:

The Standard Error Bands formula : standard error 2.png

And this if from ATAS technical description :
standard error 3.png


This is extracted from a very interesting article about stops on a hightick website. Fellow trader Mark Kingsburg made this picture :

se4.png


There is a good article here explaining why SE is superior to moving average in many ways : https://www.brookstradingcourse.com/gue ... ror-bands/

And im wondering what would a mix of GChannel and this could create :Rofl:

Anyway.

My request would be that a coder would first implement the SE bands into an indicator for mt4 and make a trailing stop EA.
If you would do this , you would be my god , and hell , right now im poor AF , but ill tip you good in 5 years , i wont forget you thats for sure.

If i broke the rules with the attachments , please i beg you to pardon me , im genuinely just trying to point out to relevant information. Please dont ban me. :stressed:

And if nobody is interested in doing this , then its ok , ill just have to move on to a different platform.

I wish you all a happy life and great trades. Stay awesome , and thank you for reading.

edit : i didnt post in requests because of the long post , attachments , and potentiel into developing new tools for everyone
edit 2 : sorry for bad english
Mladen did these quite a while back.

ps) also a mtf version (version 1.1)

Re: Something interesting please post here (Metatrader)

2243
Thank you so much for your replies.

I couldnt find the indi via search fonction because it is spelled incorrectly.

Standar error bands.mq4 but should be : standarD error bands.mq4

Ive been toying around with the channel and the bands this morning , and to me the se bands are far superior on nasdaq and dax and stocks in general to extract profit and get reentries compared to g channel. I havent looked on commodities and forex yet , but my guess would be that it doesnt really work on forex while its minblowing on commodities.

Both are on period 145 on this renko graph of yesterdays session. Granted it was a crazy session and these settings work only with huge trends.
G channel : SE bands : this is a test on ranging markets : but it gets better if you use period = 45 and this is the crazy market in the first pictures with settings 45 many more charts to come.

i have attached template for easy setup if you want to test

Re: Something interesting please post here (Metatrader)

2245
ionone wrote: Sun Oct 16, 2022 10:56 pm screenshot.313.jpg


I acutally modified the original indi to my liking with separate StdError Period length which make the indi closer to what the article has shown
This is a great indicator, could you put a max history setting on it?
You cannot solve a problem from the same consciousness that created it. You must learn to see the world anew


Re: Something interesting please post here (Metatrader)

2249
gaarmitaar wrote: Sun Oct 16, 2022 11:32 pm If you trade onyl second touch of SR or retest after break , its :Fire:

and yes sometimes you get stopped out too early , but which system doesnt ?

oil and sp500 on daily.

TSLA on daily. The 2020 crash fucked up the bands but still few and great trades

Looks interesting (especially on Renko charts) but I'm still confused about how to use this indicator.

Would it be possible to visually show where your entries and exits are, and how you determine them? If possible I'd like to see this on the chart where you use the SE bands instead of the G Channel indicator.


Who is online

Users browsing this forum: CommonCrawl [Bot], Grapeshot [Bot], IBM oBot [Bot], Majestic-12 [Bot], PaperLi [Bot], whiteadrian23 and 105 guests