
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi there
I'm trying to collect data for training a network.
This data is simple, just time taken for the price to move x amount of points.
Every x points move record time. I'll call these recordings singles, but I don't want to record them as singles but by groups of 2 3 4 5 and so on
just like Fibo sequence, I want to add up these singles like this: if there is 2 singles, add them up and place them into a 2s box and if there's 3 singles, add them up and place them into the 3s box...
The code below works as it should. If someone has time, please advice me how I can improve or write it better. Also how can I make the ARRAYS as vectors? like in C++ vector<double> p2? and what if I want
the ARRAYS to be dynamic?
Thank you.