Uploaded **Express Generator v2.31**

Updates:

- optimized **R-squared** formula. The R-squared value of Express Generator is much closer to or completely matches the R-squared value shown in EA Studio.

Trade Safe!

Uploaded **Express Generator v2.31**

Updates:

- optimized **R-squared** formula. The R-squared value of Express Generator is much closer to or completely matches the R-squared value shown in EA Studio.

Trade Safe!

Uploaded **Expert Advisor Studio v23.5.31**

Updates:

- optimized **R-squared** formula. The R-squared value of EA Studio is much closer to or completely matches the R-squared value shown in Express Generator.

- this release is compiled targeting an older JavaScript standard - ECMAScript 5. It gives a 3%-5% performance boost.

Trade Safe!

Uploaded **Express Generator v2.30**

New features:

- added **--sort-by** option. It sets the sorting criteria for the Collection.

- added **--optimize-by** option. It sets the metric the Optimizer optimizes.

Both options accept the following parameters:

NetBalance, Profit, ProfitFactor, ReturnToDrawdown, RSquared, Stagnation, WinLossRatio

Example use:

`node .\bin\gen.js --symbol EURUSD --period M30 --enable-optimizer true --optimize-by ReturnToDrawdown`

Trade Safe!

I have let the generator working all night with theses acceptance criteria:

I had 0 strategies collected ! So you may said my acceptance criteria is too strict and That what I was thinking too .

So I have just unticked "Minimum count of trade" and now I have hundred's of strategies collected in few minute and maybe 30% of them have more than 100 trades.

I think the "minimum count of trade" are not working correctly or maybe thats just how it work and it is better for all of us to not use it .

Uploaded ** Express Generator v2.29**

New features: **Optimizer implemented**.

The Optimizer can be used in a workflow with the Generator or when validating imported collections.

New options:

```
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Optimizer ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
enable_optimizer = false
numeric_values_steps = 20
optimize_protections = false
```

Please note that the optimization takes time, and if you optimize collections, you must set a proper working time. For example, you can disable the timer with: `--max-working-minutes 0`.

You can use both the Optimizer and Monte Carlo.

`node .\bin\gen.js --symbol EURUSD --period M30 --enable-optimizer true --enable-monte-carlo true`

The above screenshots show that 14 strategies were optimized, and two of them passed Monte Carlo and ascended.

Trade Safe!

i changed the lines of code but it didn't work can you help me which line of codes i change separate takeprofit is working

You can have separate SL and TP for each strategy you create with FSB Pro.

For one strategy, you have one SL and TP.

But I need a separate tp for each warrant. This will make the ea work efficiently.

When the market is flat, one tp is causing a lot of damage.

Is it possible to make take profit separately for each order?

FSB Pro aggregates the modification orders to a single position. That's why it sets a single SL and TP.

For example, if you open an initial position with 1 lot and then add to it 0.2 lots, you end with a single position of 1.2 lots.

After the additional operation, FSB Pro sets the corresponding LS and TP related to the last entry.

The Generator composes the first strategy randomly.

If it doesn't pass the Acceptance Criteria, it ignores it and starts again.

Then, the Generator applies one operation to modify the strategy. The operation is chosen randomly and can be:

- Add, remove, or change SL.

- Add, remove, or change TP.

- Add, remove, or change BE.

- Change the Opening Point slot.

- Add, remove, or change a random Opening Logic Condition slot.

- Change the Closing Point slot.

- Add, remove, or change a random Closing Logic Condition slot.

...

The strategy is accepted or rejected depending on if it passes the Acceptance Criteria.

If you have stricter Acceptance Criteria, it is much harder for the Generator to find the first strategy.

To make it easier for the Generator, you must reduce the Acceptance Criteria or provide a better trading environment.

One possible workflow can be to generate many strategies and then revalidate them with the desired Acceptance Criteria.