showing custom strategies in charting area
Atom
12.05.2019


Sam

Фотография
Hello,
I've created a custom strategy and indicator following the help files. However, when I try to display it (the value should be around .1) it only shows the bitcoin price on the y axis and doesn't seem to draw anything. The number seems to be passing to the chart because if I hold the mouse over the connection, it shows the value. I have this in the code so it seems like it should work.

[DiagramExternal]
public event Action<IIndicatorValue> NewMirocanaIndicator;

var indicatorReturn = _NewMI.Process(candle);
NewMirocanaIndicator?.Invoke(indicatorReturn);

What do I need to do to show this correctly?



Спасибо:


Sam

Фотография
Дата: 15.05.2019
Ответить


So, after multiple days of frustration, the reason it was not painting is because the indicator never set the "IsFormed" property to true.
Different parts of the help give different parts of the equation. Make sure you look at other parts that deal with the issue you are working with. The answer may be in a different section.
Спасибо:

Mikhail Sukhov

Фотография
Дата: 17.05.2019
Ответить


Thank you for the feedback. We will improve our documentation.
Спасибо:


Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy