Jan-04-2020, 11:09 PM
And that's a great example of why not to use global. Your global statement is still in the conditional, so the variable is only global if row is 2.
Here's how to fix it. First, delete line 22. Then change line 15 to:
Here's how to fix it. First, delete line 22. Then change line 15 to:
prev_entry_price, prev_exit_price = setup_eoddata(row, sym_open_cell, entry_price_cell, prev_entry_price, exit_price_cell, prev_exit_price)
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures