Interesting, thanks, didn't know I could fill the Price arrays from script.

Regarding synthetic data generation and backtest, I sugges this read (google translate): https://www-x--trader-net.translate...tl=en&_x_tr_hl=en&_x_tr_pto=wapp

Or the original website (in Spanish): https://www.x-trader.net/como-saber-si-una-estrategia-de-trading-esta-sobreoptimizada

What do you think?


Thanks