Thanks for the answer, but I need to optimize each currency pair in the code. And now all pairs are optimized for one result. For example, to make the sets - EURUSD take 22 stop 10 and EURJPY take 15 stop 7, when I insert into the code
Code:
trade(){
...
optimize(1,1,30,1)
buy or sell
}


run(){
...
set(PARAMETERS);
while (asset (loop ("EUR/USD", "EUR/JPY"))) {trade()}
}


Last edited by Sniv; 02/23/19 12:02.