[ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5. - page 74
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! I understand the logic. But how can it be fixed?
You leave return (true), but instead of all return (false) you do one AFTER the loop
What is the message?
ordersend error 130 and invalid double number as parameter 7 for ordersend function (just noticed)
ordersend error 130 and invalid double number as parameter 7 for ordersend function (only noticed)
So you missedthe slippage
So you missedslippage
Nah, it's the same, I think the seventh parameter should be there, I'll look at the ready-made examples now.
OrderSend(Symbol(), OP_BUYSTOP, Lot, PriceBuy, 0, StopLoss, TakeProfit, "Order", 0, Green);
I did it this way, it was of no use.
I've seen some code somewhere, there is something after the profit...
Put a closing parenthesis after the profit and a semicolon after it. The rest goes to hell.
This way the compiler won't skip
OrderSend(Symbol(), OP_BUYSTOP, Lot, PriceBuy, 0, StopLoss, TakeProfit, "Order", 0, Green);
Where is the MAGIC?