Forum

drawing a trend line with OBJPROP_RAY_RIGHT but not doing so on timeframe PERIOD_MN1 and PERIOD_W1

the following code is in the help tutorial and I am creating trend lines on frame_1H, the trendlines of (30 60 4H and 1day) is raying right as coded but the trendline of PERIOD_W1 and PERIOD_MN1 is not raying right,but the opposite direction as shown in the image any idea the problems? //---

array out of range error in backtesting

when I put the EA or predictor in the backtesting, there always pop out array out of range error like the following, I donot whether it's my error or the config of the ea. for example the first ea is from Deep neural network with Stacked RBM. Self-training, self-control the number of k lines cannot

how to get the value of TrendLine at each time point?

how to get the value of a trendline that I created at each time point of a timeframe? like the pic I attached, the value of the trendline at the timepoint is 1.25116 but I havenot found any foo concerned this. could somebody help me out