[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 466
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
Can I give you a link?)
Can I give you a link?)
A link to what? You need to be more specific. There were a lot of questions, not all were answered
I thought there are brokerage companies that broadcast quotes in demo mode at weekends to test EAs.
You said
Конечно есть, только спред будет сильно увеличен
so I asked for a link.
In the tester.
Thank you :) I've got it, but I can't get it to work in a loop :(
How do I get it to perform the operation a set number of times?
#property show_inputs
#include <WinUser32.mqh>
extern int Kol=3;
int start()
{
int i=0;
for(i=0; i<Kol; i++){
OrderSend(Symbol(),OP_SELL,0.05,Bid,333,0,0,"Тест",0,0,CLR_NONE);
return(0);}
while(!IsTradeAllowed()) Sleep(1000);
PostMessageA(WindowHandle(Symbol(),Period()), WM_COMMAND, 33050, 0);
}
Thank you:) I've got it, but I can't get it to cycle:(
How do I get it to perform the operation a given number of times?
#property show_inputs
#include <WinUser32.mqh>
extern int Kol=3;
int start()
{
int i=0;
for(i=0; i<Kol; i++){
OrderSend(Symbol(),OP_SELL,0.05,Bid,333,0,0,"Тест",0,0,CLR_NONE);
return(0);}
while(!IsTradeAllowed()) Sleep(1000);
PostMessageA(WindowHandle(Symbol(),Period()), WM_COMMAND, 33050, 0);
}
Hello, I have a function that calculates the S and B on every tick of a bar. When a new bar arrives, the S and B have to be reset and their calculation is repeated.
In the first line of the code of start() function assign these variables value = 0.
Hello! I have a question about the terminal! In the tester, when testing an EA, I get no information low and high when calling theMarketInfo() function. I want to know if this is supposed to be so! Or I have some kind of problem in the terminal!