if((Ask>highest)...". It works in an EA with the Strategy tester but not with a code used for printing. The reason I want to print it is because I want to collect some statistics.
This is the code I´m using. Is there a problem using Ask and Bid inside a for-loop? "- How can I know local history is updated?
- Exit Code when the profit from Buy && Sell is greater than the breakeven level
- Calculating average WPR retrace over x bars
Per:
This is the code I´m using. Is there a problem using Ask and Bid inside a for-loop? "if((Ask>highest)...". It works in an EA with the Strategy tester but not with a code used for printing. The reason I want to print it is because I want to collect some statistics.
No problem using Bid or Ask inside a loop . . if the loop is very slow and very long there is the possibility that Bid and Ask are out of date . . . I don't see anything trying to print Bid or Ask in your code . . .
This is the code I´m using. Is there a problem using Ask and Bid inside a for-loop? "if((Ask>highest)...". It works in an EA with the Strategy tester but not with a code used for printing. The reason I want to print it is because I want to collect some statistics.
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