Stochastic Indicators when lines crossing
Stochastic Indicators when lines crossing
28 Mar 2018, 18:21
Can somebody help me with this indicator? I need to know the syntax on when the K line crosses the D line when it's below 30.
TIA
Replies
PanagiotisCharalampous
30 Mar 2018, 09:37
Hi Kaworu,
This is just a sample. 1 represents the number of periods for which the check will take place. You can put any number you want.
Best Regards,
Panagiotis
@PanagiotisCharalampous
Kaworu
30 Mar 2018, 19:12
im not getting the correct results from my simulation and it still takes a trade well below the 20 line of the indicator regardless of what value i put in it.
which method should i use in order for me to check the current value of the lines inside the indicator? not the current price of the symbol but the value inside indicator?
what im trying to accomplish is i need to check if the lines are below 20 in the Stochastic Indicator and when the D line crossed aboved the K line.
thanks for your help so far
@Kaworu
PanagiotisCharalampous
02 Apr 2018, 09:10
Hi Kaworu,
which method should i use in order for me to check the current value of the lines inside the indicator? not the current price of the symbol but the value inside indicator?
You can use the LastValue property of each IndicatorDataSeries.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
29 Mar 2018, 09:40
Hi Kaworu,
Let's suppose you have a Stochastic Oscillator
You can a check like the below
If you want to check the last value of the D line, then you can use the following property
Let me know if the above is helpful.
Best Regards,
Panagiotis
@PanagiotisCharalampous