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
I make this and results haven't changed and also i try with this
And The strategy tester send me alert every one hour (if I put this timeframe)
this is my code
I make this and results haven't changed and also i try with this
And The strategy tester send me alert every one hour (if I put this timeframe)
this is my code
Did I not just give you a perfectly good explanation and even supplied you with example code?
Why did you not try it (or at least show an attempt even if it produced errors, so we could analyse it and take it to then next step)?
Why then, have you decided to instead try something completely different that was not even discussed, and for which you did not even think logically about what the consequence could be?
Well, if you wish to ignore the information from someone more experience and knowledgeable in this matter, that is completely up to you, but if it fails to meet expectations, then you have only yourself to blame!
Did I not just give you a perfectly good explanation and even supplied you with example code?
Why did you not try it (or at least show an attempt even if it produced errors, so we could analyse it and take it to then next step)?
Why then, have you decided to instead try something completely different that was not even discussed, and for which you did not even think logically about what the consequence could be?
Well, if you wish to ignore the information from someone more experience and knowledgeable in this matter, that is completely up to you, but if it fails to meet expectations, then you have only yourself to blame!
I would never let you doubt her I just searched the problem and I found this other solution and I tried to apply it I apologize.
Now obviously I tried your code and nothing is changed the strategy tester doesnt give me error and the allert repeat every millisecond.
Sorry if i was rude.Oh i m sorry i just noticed I havent send you my code I have only write this is my code sorry for this.
Now this is the code:
Now obviously I tried your code and nothing is changed the strategy tester doesnt give me error and the allert repeat every millisecond.
Sorry if i was rude.Oh i m sorry i just noticed I havent send you my code I have only write this is my code sorry for this.
Now this is the code:
That is because you did it incorrectly a placed the "else" in the wrong place.
You must learn to "style", indent and space your code properly to prevent such mistakes and to allow the code to be readable. Obviously, you can use your own "style", not necessarily mine, but it should be easy to read and be indented to show the levels and blocks of code.
EDIT: Please remember NOT to share the same Alert flag for both Buy and Sell conditions. Use a BuyAlertFlag and a SellAlertFlag! For this reason, I revised the code in my original post
That is because you did it incorrectly a placed the "else" in the wrong place.
You must learn to "style", indent and space your code properly to prevent such mistakes and to allow the code to be readable. Obviously, you can use your own "style", not necessarily mine, but it should be easy to read and be indented to show the levels and blocks of code.
EDIT: Please remember NOT to share the same Alert flag for both Buy and Sell conditions. Use a BuyAlertFlag and a SellAlertFlag! For this reason, I revised the code in my original post
thank you so much now it work