For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
How to Inherit and add some features to existing indicators
-
For example, I want to check 2 peak value of AwesomeOscillator. It is better to encapsulate the logic in a indicator class. Do we have any example to show how to make this customized class?
Some simple questions:
- I don't want to cal ao again, how to fetch ao values in my indicator class?
- how to handle [-1] at very beginning?
- how do I declare define line with all values = 0
-
See this blog entry (there may be some other references, but this is the 1st google returns)