Forum

Help with array - struct undefined error

I've been attempting to average the High/Low range for a predefined number of previous price bars but cannot even get the array to compile without the error "struct member undefined" Can someone inform me of what I am doing wrong here? double candle_body[]; ArrayResize (candle_body,num_quiet_bars);

Custom indicator fails to display on chart after running strategy tester

Hi folks, I seem to be having trouble with my custom indicators on MT5. They appear on the chart and work exactly as expected until I run strategy tester. After running strategy tester, even just once, they never appear again. I've closed the terminal, refreshed the chart, closed the chart, closed