Hello fellows,
I want to introduce my own Indicator API which I use to creating indicators...
Maybe you use it maybe not...
Application logic of your indicator you shouldn't write to an
abstract class Indicator...
As variable to inputs you can use
barInputs,
doubleInputs,
priceInputs...
As variable to outputs you can use
doubleOutputs,
intOutputs,
objectOutputs...
There are some event methods like: onNewBar() - called when there is a new bar in market, onInstrumentChange(), onOfferSideChange(), onPeriodChange(), onFeedChange() - called when one of instrument, offer side or period you have changed...
Note: This event methods work if the
INPUT_MAIN is
InputPrameterInfo.Type.BAR!
I created simple example indicator how to use the Indicator API to creating indicators ... The example indicator uses RSI indicator, ASK & BID inputs, drawOutput(), getMinMax(), ... Just for demonstrate how to use it. The indicator's output is drawn as histogram (gray bars = market is not oversold nor overbought, green bars = market is overbought, red bars = market is oversold)... You can set time period of RSI and treshold of oversold and overbought zone...
If you have some ideas to improve this API or you found a bug, please write here ...
Thanks for your attention

...
Regards
bojno