Hello,
Would you please help me with a small question I have.
I'm using the indicators.ht_dcperiod in my strategy. I want the indicator to use the Filter.WEEKENDS. But in order to do this I have to make an array?
double[] ht_dcperiod(Instrument instrument, Period period, OfferSide side, IIndicators.AppliedPrice appliedPrice, Filter filter,long from,long to) throws JFException
When the ht_dcperiod gets to high or to low the strategy doesn't open any trades.
But with an array I get an error when I use the symbols < >. Example:
if (ht_dcperiod > 20) {This gives an error.
How do I get around this?