Ok Eugene. No problem. Sorry if my English is not clear.
I will try to explain it in a different way.
Take the following script for example. it is available in the Quickref to explain how works "Priority".
CODE:
Please log in to see this code.
As you see in the script, "Priority" uses the CCI indicator value. By this way, you can sort your signals and take only the 10 firsts (if you select for example 10% of your equity for sizing). If you run the script on the Wealthlab100 dataset in RAW mode, you can have sometimes more than 90 orders at a time (look open positions in the Equity curve visualizer).
So... The main problem with this approach is that you don't know if the CCI indicator value is the best to select your signal and if your need to restrict to 10 positions (or more) to maximize your profit.
My idea is to have a new analysis series visualizer to help you to improve your strategy result by given you the possibility to see rapidly the profit if you change the value in the priority by another series available in your script (similar logic of the current Analysis series visualizer but apply to the logic of the priority).
For this, you need the following filters :
- Series selector
- an Analysis bar selector (Entrybar-1 / EntryBar) to see if the previous value of your series can improve the performance
- a type of signal value selector (best / worst) to see if you inverse the value of your series can influence the result
- a position selector (long / short / total) to focus on a group of trades
Result must be displayed :
- in the x axis : number of signal taken
- in the y axis : profit
- in the x,y position : bar chart which give you the cumulative result
Do you see now the subject ?