Replies

ctid2775993
04 Nov 2020, 10:22 ( Updated at: 21 Dec 2023, 09:22 )

Thank you for the prompt response PanagiotisCharalampous

Following your advice, I was able to get rid of that error by changing the private to public for those next statements in the indicator:

public IndicatorDataSeries _haOpen;
public IndicatorDataSeries _haClose;

Now the compiler says successfully but on a cbot backtest all values are NaN

I'm accessing the values in this way HA._haOpen or HA._haClose or HA._haClose.LastValue

 

What I miss there? Can you please guide me in the right direction ?

Regards


@ctid2775993

ctid2775993
03 Nov 2020, 19:06

Instead of using the indicator then pulling the data from it, can I make the calculations directly in the cbot ? since I don't have any important parameters to change on the Heikin Ashi indicator.


@ctid2775993