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
Thank you for editing your post.
A simple quick modification would be to set a bool variable to true or false depending on the result of the filter instead of using return, then check this bool before placing a new trade . . . for example . . .
Thanks i will work on it, let you know how i do
That what i have so far, getting 0 error(s),0 warning(s) so far so good but not opening trades. need a hint here thanks
pieronetto:
That what i have so far, getting 0 error(s),0 warning(s) so far so good but not opening trades. need a hint here thanks
You are using 2 different local variables, the TimeFilterAllowTrading in start() is not the same as the TimeFilterAllowTrading in OpenAtMarket() use a globally declared variable ( above start() ) and get rid of the 2 local TimeFilterAllowTrading variables.
0 error(s) 0 warning(s) and opens trades at right time
You are using 2 different local variables, the TimeFilterAllowTrading in start() is not the same as the TimeFilterAllowTrading in OpenAtMarket() use a globally declared variable ( above start() ) and get rid of the 2 local TimeFilterAllowTrading variables.
everything works now thank you very much for you help, im sure i come back with other problems.
I wish you the best.
my regards untill then
everything works now thank you very much for you help, im sure i come back with other problems.