Hello everybody !
My question is : How to save in a file the result of an optimization ?
For exemple, i would like to know the best RSI for a symbol.
I wrote the code :
Barre_Mini = Optimize("Barre_Mini",30, 5, 40, 2);
Barre_Maxi = Optimize("Barre_Maxi",70, 60, 95, 2);
Ind = Optimize("Ind",14, 5, 25, 1);
Buy = RSI(Ind) <= Barre_Mini;
Sell = RSI(Ind) >= Barre_Maxi;
It works.
But i would like to save the results in a file :
the values : Barre_Mini, Barre_Maxi, Ind, Net % profit and Trades.
I know everything about fopen, fclose, StrFormat and fputs, but the problem is : how can i get the values Net % profit and Trades ?
If you could help me, that will be a nice Christmas for me
Best regards
Carmciahel
My question is : How to save in a file the result of an optimization ?
For exemple, i would like to know the best RSI for a symbol.
I wrote the code :
Barre_Mini = Optimize("Barre_Mini",30, 5, 40, 2);
Barre_Maxi = Optimize("Barre_Maxi",70, 60, 95, 2);
Ind = Optimize("Ind",14, 5, 25, 1);
Buy = RSI(Ind) <= Barre_Mini;
Sell = RSI(Ind) >= Barre_Maxi;
It works.
But i would like to save the results in a file :
the values : Barre_Mini, Barre_Maxi, Ind, Net % profit and Trades.
I know everything about fopen, fclose, StrFormat and fputs, but the problem is : how can i get the values Net % profit and Trades ?
If you could help me, that will be a nice Christmas for me
Best regards
Carmciahel