Hello, I'm currently programming an EA and want to implement a trailing-StopLoss. If an order is open the SL is calculated for the current bar and plotted on the chart. The SL is to be recalculated for the following bars. If the
Hello all, at the moment I'm traying to create an indicator. The indicator should plot every bar the maximum and the minimum of the last 50 bars to the chart-window. Also it should calculate the difference of maximum and minimum. I tried it like
Hello all, weeks ago I had a C-programming training. Now I will start to learn MQL5. I read some tutorials but I don`t know how I can get the maximum and minimum of bars to copy them into an own array. Concretely I would like to create an array