Re: MT4 Indicator requests and ideas

15821
PumbaPLS wrote: Thu Jun 23, 2022 6:07 am Forecast Oscillator

The Forecast Oscillator is a technical indicator that compares a security close price to its time series forecast. The time series forecast function name is "tsf" and it calculates the projection of the price trend for the next bar.

The Forecast Oscillator and therefore the time series forecast are based on linear regression . The time series forecast indicator is equal to the sum of two other indicators: the linear regression (LinearReg) and the linear regression slope (LinearReg_Slope).

Code: Select all

study("Forecast Oscillator", overlay=false)
src = input(close)
len = input(defval=14, minval=1, title="Length")
lrc = linreg(src, len, 0)
lrc1 = linreg(src,len,1)
lrs = (lrc-lrc1)
TSF = linreg(src, len, 0)+lrs
fosc=100*(src-TSF[1])/src
col12 = fosc > fosc[1]
col32 = fosc < fosc[1]
color2 = col12 ? #21C400 : col32 ? #960012 : color.blue
plot(fosc, color = color2,linewidth=2, title = "TSF")
hline(0, linestyle=2, color=color.blue)
Image


PS: I know we also have a forecast Oscillator on this website, but its different (as far I can tell, also not a histo version)
Will see if I can translate it.
These users thanked the author mrtools for the post (total 2):
PumbaPLS, Chickenspicy


Re: MT4 Indicator requests and ideas

15822
PumbaPLS wrote: Thu Jun 23, 2022 6:07 am Forecast Oscillator

The Forecast Oscillator is a technical indicator that compares a security close price to its time series forecast. The time series forecast function name is "tsf" and it calculates the projection of the price trend for the next bar.

The Forecast Oscillator and therefore the time series forecast are based on linear regression . The time series forecast indicator is equal to the sum of two other indicators: the linear regression (LinearReg) and the linear regression slope (LinearReg_Slope).

Code: Select all

study("Forecast Oscillator", overlay=false)
src = input(close)
len = input(defval=14, minval=1, title="Length")
lrc = linreg(src, len, 0)
lrc1 = linreg(src,len,1)
lrs = (lrc-lrc1)
TSF = linreg(src, len, 0)+lrs
fosc=100*(src-TSF[1])/src
col12 = fosc > fosc[1]
col32 = fosc < fosc[1]
color2 = col12 ? #21C400 : col32 ? #960012 : color.blue
plot(fosc, color = color2,linewidth=2, title = "TSF")
hline(0, linestyle=2, color=color.blue)
Image


PS: I know we also have a forecast Oscillator on this website, but its different (as far I can tell, also not a histo version)
Posted a version here Various indicators

Re: MT4 Indicator requests and ideas

15823
@ mrtools,


Reason for request :
To make this Indi more useful / output in simple form.
Trend Dots as histo will help us to see the output in simple form.


Respected Sir,

If you like this idea/suggestion & useful for all users, request you to kindly add this features in : MACD_Momentum_&_Trend_Index_1.031

1) Show Dots Output as Histo form also : User selectable drop down menu :
Histo as Dots ( Original Indi style ) & Histo as found in Waddah attar & normal histo bars in a straight line
( attachment pic for ref ) *

2) Arrows, Alerts if possible


Thanks for your Efforts, Times, support, kindness.
Thanks.


Re: MT4 Indicator requests and ideas

15828
mrtools wrote: Thu Jun 23, 2022 3:50 am Posted a version here Dynamic zone indicators
Dear Mr Tools,


The Alligator Window indicator wants Added all the averages too


gratitude
Be patient therefore, brethren, until the coming of the Lord. Behold, the husbandman waiteth for the precious fruit of the earth: patiently bearing till he receive the early and latter rain.
Behold, we account them blessed who have endured. You have heard of the patience of Job, and you have seen the end of the Lord, that the Lord is merciful and compassionate.

Re: MT4 Indicator requests and ideas

15829
thomdel wrote: Thu Jun 23, 2022 3:58 pm @ mrtools,


Reason for request :
To make this Indi more useful / output in simple form.
Trend Dots as histo will help us to see the output in simple form.


Respected Sir,

If you like this idea/suggestion & useful for all users, request you to kindly add this features in : MACD_Momentum_&_Trend_Index_1.031

1) Show Dots Output as Histo form also : User selectable drop down menu :
Histo as Dots ( Original Indi style ) & Histo as found in Waddah attar & normal histo bars in a straight line
( attachment pic for ref ) *

2) Arrows, Alerts if possible


Thanks for your Efforts, Times, support, kindness.
Thanks.
Image
With that indicator not sure how to do that, sorry.
These users thanked the author mrtools for the post:
thomdel

Re: MT4 Indicator requests and ideas

15830
sal wrote: Fri Jun 24, 2022 1:25 am mr.tools
can you please add addtional arrows based on the levels
rules for UParrow
when magenta line <= 15 level
&& blue line crosses up >=30 level
&& green line <30 level

if possible to add levels in custom setting will be great to custom levels
Image
More than likely you will get very few arrows that way, also that adx from my understanding is the same as the built in adx which is not a correct adx.
These users thanked the author mrtools for the post:
Chickenspicy


Who is online

Users browsing this forum: Amazon [Bot], Banzai, Efegocmen, Facebook [Crawler], Google [Bot], Grapeshot [Bot], navid110, PaperLi [Bot], Sogou [Bot], Tbot [Bot], whiteadrian23 and 105 guests