Hi,
Hopefully a simple one...
I import my selections into the markets once a day using a .txt file, which works fine. I have the selection name then the stake I want to use as imported_1.
Now what I want to do is have the following formula in the stake element of the trigger:
MIN((imported_1 / 1000) * uk_balance, Imported_1 * 5)
It comes back with an error.
What I am trying to achieve is that if I have a starting bank of £500 and my system says its a £100 selection, I want it to the stake to be £50 but then I want it to handle the fact that if my bank grows to be say £100,000, then I only want it to be putting on 5 times the stake from imported_1 as a max, which would be £500 in this case, not £10,000 in the first half of the formula.
Hope that makes sense!