Download MetaTrader 5

Stochastic Oscillator, the beginning - page 4

To add comments, please log in or register
banzai
298
banzai  

Stoch Thread

Stoch (6,3,3) to Stoch (24,3,3). Place the template in the template folder and not in the indicator folder.

Google for keywords: "Spuds Stochastic Thread Theory"

Mladen Rakic
59846
Mladen Rakic  

StochasticRSI

Not sure if there is allready this kind

This is basicaly a Smoothed Stochastic of an RSI

Of Bollinger bands addition to this indicator : I repeatedly fail to see any logic in fixed "overbought" and "oversold" levels, and repeatedly, when ataching a BollingerBands to such indicators, some sence starts to show in the otherwise "irrational" showings.

some of the parameters:

"RSIPrice"

0 Close price.

1 Open price.

2 High price.

3 Low price.

4 Median price, (high+low)/2.

5 Typical price, (high+low+close)/3.

6 Weighted close price, (high+low+close+close)/4.

"SmoothingMethod"

0 Simple moving average,

1 Exponential moving average,

2 Smoothed moving average,

3 Linear weighted moving average
Files:
banzai
298
banzai  

Stoch Threads on charts

To understand more about Stoch Threads, plot them on the charts. Special thanks to fxbs for the OnChart_Stochastic_Channel_(FL_MTF) indicator in post #23. You need to download that indicator to be used with the attached template.

https://www.mql5.com/en/forum/177239/page2

Attached is a documentation on how to trade the Stoch Threads too. It's not my system.

fxbs
3203
fxbs  

Thank you Banzai, templete - what-about 80 stoch..., my god!- you the man!

and big thanks 2 Mladen 4 great work on coding OnChart Stochastic, RSI.

P.S. Mart: "Not on dope - trade the Rope!"? (FF)

toddanderson
495
toddanderson  

Great indicators thank you

Could you add some dots to show over bought , over sold for the

on chart Stoc.

fxbs:
OnChart_Stochastic_Channel_(FL_MTF) from Mladen: Fibo Levels; MultiTimeFrame
fxbs
3203
fxbs  

OnChart_Stochastic_Channel_3TFx3

Mladen's OnChart_Stochastic; 3 in 1

mhn
6
mhn  

Calculate Stochastic Formula on a array (non indicator buffer array) - is iStochastic

Hi,

I need to calculate the stochastic formula on a array, this array is not a indicator buffered array. This is my code:

double

SmallestBuffer[],

LargestBuffer[],

COTIndex[];

int

COTIndexPeriod=13, //similar to Stochastic %K period

position=0;

ArrayResize(SmallestBuffer, ArraySize(Commercial));

ArrayResize(LargestBuffer, ArraySize(Commercial));

ArrayResize(COTIndex, ArraySize(Commercial));

for (i= ArraySize(Commercial)-COTIndexPeriod; i >= 0; i--)

{

position = ArrayMinimum(Commercial, COTIndexPeriod, i+COTIndexPeriod-1);

SmallestBuffer = Commercial[position];

//Print("Smallest: ", SmallestBuffer, " Index: ", i);

}

for (i= ArraySize(Commercial)-COTIndexPeriod; i >= 0; i--)

{

position = ArrayMaximum(Commercial, COTIndexPeriod, i+COTIndexPeriod-1);

LargestBuffer = Commercial[position];

//Print("Largest: ", LargestBuffer, " Index: ", i);

}

for (i= ArraySize(Commercial)-COTIndexPeriod; i >= 0; i--)

//for (i= ArraySize(Commercial)-1; i > 0; i--)

{

//position = ArrayMaximum(Commercial, COTIndexPeriod, i+COTIndexPeriod-1);

double top = Commercial-SmallestBuffer;

double bottom = LargestBuffer-SmallestBuffer;

if(bottom == 0.0) //prevent divide by zero errors

{ bottom=100.0; }

COTIndex = (top/bottom)*100;

Print("COTIndex: ", COTIndex, " Index: ", i);

ExtMapBuffer1 = COTIndex; //graph it

}

So the goal is to have the Stochastic value stored in the COTIndex array. However, the calculated values are in incorrect. Does anyone have a Stochastic-On-Array (iStochOnArray) implementation? or maybe does anyone see where the logical problem is on my code? I'm stuck and would greatly appreciate any help!

Thank you

Mike

banzai
298
banzai  

DigiStoch

I modified DigiStoch a little bit so you can choose mode sma, ema, smma, or lwma. And you get to choose high/low or close/close in the pricefield.

Files:
digistoch.mq4 21 kb
bassfisher74133
51
bassfisher74133  
Files:
ace
127
ace  

do you realise the Stoch can be placed — like all other indicators

in its own window below price bars

here's 3 Stoch indis all found on ForexTSD

1234567891011...128
To add comments, please log in or register