Dmit_Rich write an EA for MT4 to test the strategy?
Thank you.
Sincerely.
There are two ways (in general you should write it somewhere large and attach it):
1) detailed and publicly state the idea on a forum in special threads or in your own thread, and it is as publicly implemented / supplemented / criticized
2) order it on a freelancer for a fee. Everything is private there, but for money
There are two ways (in fact, it needs to be written and attached somewhere):
1) you state the idea in detail and publicly on the forum in special branches or separately in your own and it is just as publicly implemented/added/critiqued
2) order it on a freelancer for a fee. Everything is private there, but for money
intOnInit()
{
MqlTick last_tick; // Получаю нули на ask bid, т.е. заполняется только на тике?
Ask=SymbolInfoDouble(Symbol,SYMBOL_ASK); // Так работает
Ask=SymbolInfoDouble(Symbol(),SYMBOL_ASK); // Почему ошибку скобок пишет? Не догоняю. Примеры полностью идут без ошибок.
....
}
voidOnTick()
{
MqlTick last_tick;
//--- if(SymbolInfoTick(Symbol(),last_tick))
{
Print(last_tick.time,": Bid = ",last_tick.bid,
" Ask = ",last_tick.ask," Volume = ",last_tick.volume); // здесь все заполняет
}
elsePrint("SymbolInfoTick() failed, error = ",GetLastError());
//---
}
Структура для получения текущих цен - Структуры данных - Константы, перечисления и структуры - Справочник MQL5 - Справочник по языку алгоритмического/автоматического трейдинга для MetaTrader 5
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Clearly, you know better than 2,000 km away.
So does the rest of the world.
Comrade moderators, please give the user a chance, he didn't mean it.
And delete this message.
He'll be out in a week.
Hello!
I am a dummy in programming from the word out, but have ideas for a trading strategy (simple enough, no indicators, purely mathematical calculation).
Can you tell me whether it is possible to find someone who can write an EA for MT4 to test the strategy?
Thank you.
Sincerely.
Thank you.
Sincerely.
There are two ways (in general you should write it somewhere large and attach it):
1) detailed and publicly state the idea on a forum in special threads or in your own thread, and it is as publicly implemented / supplemented / criticized
2) order it on a freelancer for a fee. Everything is private there, but for money
There are two ways (in fact, it needs to be written and attached somewhere):
1) you state the idea in detail and publicly on the forum in special branches or separately in your own and it is just as publicly implemented/added/critiqued
2) order it on a freelancer for a fee. Everything is private there, but for money
The question arose
Structure
MqlTick last_tick;
Where is Ask declared?
Global.
In the global field MqlTick also announced
Global.
In the global scope MqlTick is also declared
Then another question: where is Symbol declared ?
About using structure - do you fill it somewhere with SymbolInfoTick() ? Or decided, that poltergeist will fill it for you? :)
Then another question: where is Symbol declared ?
About using structure - do you fill it somewhere with SymbolInfoTick() ? Or decided, that poltergeist will fill it for you? :)
(Thank you, I understand).
In general, you may write about filling it explicitly)))), but not like this
MqlTickMqlTick variable allows you to receive values Ask, Bid, Last and Volume in one call to SymbolInfoTick() function.