Im not going to do anything more complicated than I have to. Im not filing Trader Status, or 1256 contracts election. Just ordinary 988 summary reporting. I guess I'm worried that, 1. Since foreign brokers dont report to the IRS, the IRS wont take ...
Try tinkering with this. I combined it into 1 while loop. Remember always use this on demo first. I am not able to test any of this code on my demo account, it doesnt run scripts for some reason. This is fine for experimentation; but If you're ...
Not that this is much help but max should probably be 1 (for 0 or 1), & don't forget "Spread" should be defined as double. You need to set the above as a condition that tests somewhere before your open trade function. Other than that Im not able to ...