The original code. Why does he/she use LN as variable since it is a key word for natural log? Is there something I'm missing about this code?
CODE:
Please log in to see this code.
Notice that variable LN is translated as Math.Log. I would have to change this to a reasonable variable. If I did that everything looks ok except for SetSeriesBarColor. How to correct SetSeriesBarColor?
CODE:
Please log in to see this code.
Ok, more specifically, when I set SetSeriesBarColor(Bar, KCD, Color.Red) I get an error. I am confused about why WL_RED is used in the translator.
Size:
Color:
QUOTE:
Why does he/she use LN as variable since it is a key word for natural log?
It was overlooked by whomever made this code.
QUOTE:
How to correct SetSeriesBarColor?
It's simple. In this fragment, swap the main loop and the 3 lines that plot series:
CODE:
Please log in to see this code.
In other words, here's how the resulting code snippet should look like:
CODE:
Please log in to see this code.
Size:
Color:
(KaseCd)KCD = PeakOscillator - average(PeakOscillator), n
thus can you please help me with the code for Peak Oscillator only, i want to be able to see both Kasecd and Peak Oscillator and see if they diverge
Size:
Color:
CODE:
Please log in to see this code.
Size:
Color:
thank you
Size:
Color:
To be included in the upcoming release of Community Indicators (2015.07).
Size:
Color: