Source: https://fxcodebase.com/code/viewtopic.php?f=38&t=60222
Forum: 38 · Topic 60222 · 11 post(s)
Apprentice · Mon Jan 20, 2014 3:11 pm

Indicator is based on Stochastic Indicator. If Type 0 is used formula is StochasticROC=((Stochastic(Now) -Stochastic(Prev)) If Type 1 is used formula is StochasticROC=((Stochastic(Now) -Stochastic(Prev)) /Stochastic(Prev))*100;
Eagle3 · Mon Jan 20, 2014 4:33 pm
Hi Apprentice,
Thank you very much for creating the indicator. I am looking to calculate the % changes in the Stochastic values with the aim of identifying points when the Stochastic decreases more slowly than the previous bar or increases more slowly than the previous bar.
Accordingly, type 1 would seem to be appropriate as the formula you provided calculates the % change. However, when applied to the chart, the type 1 indicator creates predominantly a flat line at value 0.0000 with occasional, brief blips in value. Is there a way of adjusting the type 1 calculation/code to better reflect the % ROC of the Stochastic?
Apprentice · Tue Jan 21, 2014 3:19 am
Try updated version. I have fix minor bug.
Eagle3 · Thu Jan 23, 2014 12:05 pm
Hi Apprentice,
Thanks for the adjustment.
Would you be able to create the following script/EA:?
The EA would exit(close) an existing trade under the conditions laid out below. I would manually enter the trade, the EA would exit it At Market:
Exit long trade:
Exit short trade: (the opposite of a long trade)
Please also include the following options: a) Move the Stop Loss to Breakeven + 5 pips after trade is in profit by X pips. I enter the value of X b) Option to select the Stochastic settings
The EA/script would need to function on all time frames.
Your assistance would be greatly appreciated!
Regards Eagle3
Apprentice · Sat Jan 25, 2014 3:50 am
Your request is added to the development list.
richard19 · Sat Sep 07, 2019 7:32 am
Dear Apprentice,
Can you please make this indicator MTF?
Thank you for the great set of indicators that you have done.
Cheers richard
Apprentice · Tue Sep 10, 2019 8:03 am
Is your goal to have a dashboard? Or to add a higher time frame selector to this indicator.
richard19 · Tue Sep 10, 2019 10:29 am
Dear Apprentice.
Its to add a higher time frame selector to this indicator. The ROC works well for a certain timeframe, so would like to look at the lower TF with the same setting.
Thank you
Cheers Richard
Apprentice · Wed Sep 11, 2019 4:39 am
Your request is added to the development list. Development reference 72.
Apprentice · Thu Sep 12, 2019 6:54 am
Higher time frame version.
richard19 · Thu Sep 12, 2019 10:59 am
Dear Apprentice,
Thank you very much for making the HTF version. Works like a charm
Cheers Richard