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
Your issue lies in the following line:
You call CheckForOpen every tick, your time_waiting resets upon each call. Maybe you should add a while-loop to wait for the time to pass.
Since you are using TimeLocal in your code, which uses the current computer time, I think you will not be able to backtest the code correctly.
it doesn't work too
updated code
No one reply here pffffffffffffffff
You have had a number of replies!
Nobody is obligated to help you.
I saw William's reply concerning
and I see in your updated code that you have completely ignored him.
When I see good advice get ignored, it makes me less inclined to waste my time helping that person as I will expect any advice that I give will also be ignored.
You have had a number of replies!
Nobody is obligated to help you.
I saw William's reply concerning
and I see in your updated code that you have completely ignored him.
When I see good advice get ignored, it makes me less inclined to waste my time helping that person as I will expect any advice that I give will also be ignored.
sorry for that then
I am terribly sorry
To tell the truth, I did not understand what he mean but terribly sorry all
Checking for a new bar is very simple