Replies

huge.fuze
19 Apr 2023, 08:56

RE:

firemyst said:

The Output has to be an IndicatorDataSeries.

If you want a public property that other indicators/cBots can access, then you have to remove the [Output] designation and leave it as a public property in your class.

//Example:

//Instead of this:
 [Output("bearCrossActive")]

  public bool bullCrossActive;  


//You need to do this:
  public bool bullCrossActive;  


//or create your own indicator data series as an output:
public IndicatorDataSeries bullCrossActive

 

See this thread for some more information:

 

 

Thank you very much, I really appreciate your assistance.


@huge.fuze