[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 150
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
Afternoon.
I need a EURUSD m5/m15 history from before 2009, can anyone share theirs? (i.e. the one on which you debug your experts).
I would be very grateful.
Afternoon.
I need a EURUSD m5/m15 history from before 2009, can anyone share theirs? (i.e. the one on which you debug your experts).
I would be very grateful.
Press F2 with your terminal open, then go to Fx Majors -> EURUSD -> 1 Minute (M1) -> Download.
The opening curly bracket { should be placed before price[...]=Ask; (see below). Read again about "if" operator. If there is no parenthesis immediately after if, it handles only one action (you have price[...]=Ask;), if several actions are required, they must be placed in {...} immediately after if.
but it didn't change anything. See the screenshot - it shows that the EA opened a buy position
and the price went down and crossed the levels of 1.2100 and 1.2200 and positions by the operator
if to open buy positions at 1.2100 and 1.2200 - did not open.
Thanks, but I put brackets right after the if statement, as you suggested,
but it didn't change anything. See the screenshot - it shows that the Expert Advisor opened a buy position
and the price went down and crossed the levels of 1.2100 and 1.2200 and the positions by the operator condition
if to open buy positions at 1.2100 and 1.2200 - did not open.
Thanks, but I put brackets right after the if statement, as you suggested,
but it did not change anything. see the screenshot - it shows that the EA opened a buy position
and the price went down and crossed levels 1.2100 and 1.2200 and positions according to the statement
If to open buy positions at 1.2100 and 1.2200 - they did not open.
Shouldn't we put return operator after ordersend to end tick processing?
Thank you. I put return operator after ordersend and nothing has changed.
Do you open the very first position manually or do you want the pending orders to be opened when the price reaches a certain level and then, based on it? Try the following:. Of course, we need more error handling in case a pending order is rejected by DC.
If the price reaches a certain level and then opens a position at the levels defined in the orders.
It turns out we have one position on one level - until it closes at the same time.
...
One pose at a time on the same level - until they close on the current.
Do you open the first position manually or do you want the pending orders to be placed after the price has crossed a certain level? Try this: There is no error handling in case your brokerage company rejects a pending order.
Thanks for the tip code of course, but as I'm not a very good programmer I couldn't find the error:'}' - unclosed parentheses
I looked through your code in Notepad++ in zoomed in and could not correct the error.
I see. I'm interested in the code itself, not the TS.
It generates the error '}'. - unbalanced parentheses
I don't know how to fix it.
Can you tell me why the EA does not open a position when testing, I don't understand why - I think I wrote the code correctly.