Foresight 1.1.15 beta
This beta is about the optimizer's Results table: it now shows the best different results a search found, and a search after you change your costs or settings fills it again.
Optimizer
- The Results table keeps the best 500 different results, best first, instead of only each new best score. Two parameter sets count as the same result when nine in ten of their trades open in the same direction within a bar of each other; only the better of such a pair is kept, so you see distinct alternatives rather than hundreds of near-copies of the winner. The row for your current parameters is always there.
- Fixed: after changing the broker model, a cost, the score metric or the test window, a search could add nothing to the Results table, however many trials it ran (it was still measuring new trials against a best score from the old settings). A search under changed settings now starts afresh.
- A saved project keeps the best 50 rows (each is re-run when the project opens).
- A project that cannot be loaded now says why.
TradingView accuracy
- A function's series parameter keeps its own history (
s[1]inside a function reads the value passed on the previous call, as in TradingView). calc_on_order_fillsstrategies: a close sent at an unused open fills there, and exits in a chain of fills follow TradingView's order.ta.pivot_point_levelsreturns all 11 levels with TradingView's formulas for each type.