Hello racepro
In the example trigger file (and the one I attached earlier) there are 2x trigger blocks.
one for backing and greening
one for laying and greening
only one of these should be enabled.
The constant pr_profit is the percentage of profit you want on the selection you are trading on. The balance of the profit will be spread evenly across all other selections.
You are correct, in the native example trigger the percentage on the selection being traded (pr_profit) is set to 50%. I have changed this constant to 90, and enabled the back and green block. The result is in the screenshot. 90% profit on the traded selection, remaining 10% on all other selections. No need to change any formulas, just the constant.
For info in the attached file above in the lay and green block, I changed a few small things so the greenup (hedge) is done by taking SP.
Hope this helps.