Code/modify indicator code in Amibroker to show when a stochastic indicator has two steps up as defined by a new low followed by a higher low or two steps down as defined as a new high followed by a lower high. Code should be able to show an arrow for indication on the pane and provide proper code to be used for a "buy" step in an Amibroker analysis. The .afl file attachment shows the code currently used for a fast stochastic plot in amibroker. The png image shows an example stock with a higher high and a lower low that your code should be able to show.
6 pekerja bebas membida secara purata $128 untuk pekerjaan ini
Long when %K make higher low swing Short when %K make lower high swing Plot arrows at these moments. As swing calculation requires bar before and bar after, signal will be made one bar after the swing.