My Nested for loop does not work

 

hi, when i print result i realise first loop just run once! Please help me.

***

 

Forum on trading, automated trading systems and testing trading strategies

When you post code please use the CODE button (Alt-S)!

Use the CODE button