Hello Support,
I want to calculate Moving Average values using Sunday Daily Candle Filteration and Filter all Flats in Jforex API
I can do "Filter all Flats" using below code but how can I " Filter all Sunday Daily Candles"
public Filter indicatorFilter = Filter.ALL_FLATS ;
double ma_200 = indicators.ma(instrument, Period.DAILY, OfferSide.ASK, appliedPrice, 200 , maType, indicatorFilter, 2, prevBar.getTime(), 0);
Please also find enclosed a screen shot where it shows how to do in the chart and I want to do the same in my code to make it consistent with Chart calculation.
Your quick response is greatly appreciated..
Thx Ajay