Hi all, I've a number of problems to solve for and am testing with random numbers as that's what I'll have to actually work with however, once the first random number is generated, I need to fix the number and run the rule on the next line from the (now) fixed first value, again with a random number for line two.
The idea is to test a trading strategy where all lines represent a new trade and we start with the balance from the previous trade which is why each time a random number is generated to represent the trade strategy, it needs to be locked so the next line is not suddenly changed.
The inputs are:
Starting balance and finish balance
The market price (random each time a trade is generated)
Value of trade - decided by rules, but any numbers can be used even $10 a trade to represent a transaction.
This is little more that an idea right now and I would value any support on how to generate a line item and then fix it. Maybe a macro and a button to generate as many line items as I specify and run a rule for all data. I have no experience with macros or VBA..
Bookmarks