fxcodebase-backup

Coloured Stochastic Indicator

Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=65818
Forum: 17 · Topic 65818 · 4 post(s)


Coloured Stochastic Indicator

Apprentice · Fri Mar 09, 2018 8:18 am

EURNZD D1 (03-09-2018 1217).png

Based on the request. viewtopic.php?f=27&t=65807

The K & D Lines are Black when between 80 & 20, but when in the Over Bought area they turn Red and when in the Over Sold area they turn Green.

Coloured Stochastic Indicator.lua


Re: Coloured Stochastic Indicator

alienmole · Fri Mar 09, 2018 10:47 am

Hi Thanks for this..

Couple of observations for feedback

1) The colours changing dont seem to correspond to going Overbought or oversold, they sort of do, but on your picture even it shows they are changing colours outside those areas

2) On the Smoothing for the D line theres an MT4 option?

3) The line Style options do not function


Re: Coloured Stochastic Indicator

Apprentice · Sun Mar 11, 2018 5:34 am

1) The colours changing dont seem to correspond to going Overbought or oversold, they sort of do, but on your picture even it shows they are changing colours outside those areas

Better is not possible.

2) On the Smoothing for the D line theres an MT4 option?

We only have MT4 option for K Line

3) The line Style options do not function

Fixed.


Re: Coloured Stochastic Indicator

alienmole · Sun Mar 11, 2018 12:14 pm

Thanks for this, much appreciated

All working well now after the changes, shame about the colours bleeding onto the areas that are not overbought and oversold, the one I have in Ninja Trader 7 only shows the colours when it goes beyond the 80/20 area, they managed to achieve a clean cut off line somehow, but I understand we are on a different platform and it may not therefore be possible.