Support wrote:
Hi,
Please make sure platform flats filter is disabled (Tools/Preferences/Chart/Flats filtration).
The output of linearRegAngle is in degrees (rad*180/Pi).
yes thanks for your answer,thats the reason ,bu t i want to filter weekends ,and if so i must use double [] method,
but if i write in this way ,the output should be linearReg of current bar
double []L200_0=indicators.linearReg(instrument, selectedPeriod, OfferSide.BID, AppliedPrice.CLOSE, 200,indicatorFilter, 200, currentBar.getTime(), 0);
indicatorFilter is Filter.WEEKEND
in fact the output differs a lot from chart