[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 446

 
mishel:
...sorry FT BillWillams Trader robot.............. it's in the EAs on 43 stfrice................them on the first three variables question................
A link to the EA so people don't have to count pages.
 
................. and there is no way without a club............. I don't want to join this club.................
 
mishel:
...sorry FT BillWillams Trader robot.............. it's in EAs on 43 stfr................there's a question on the first three variables................
extern string FT1="------Настройки фрактала:----------";
extern int CountBarsFractal=5;//количество баров из которых состоит фрактал
extern string FT2="------Настройки сигнала на вход:----------";
extern int indent=1; //количество пунктов для отступа от максимума и минимума
extern string FT3="------Настройки аллигатора:----------";
extern int jaw_period=13;  // -   Период усреднения синей линии (челюсти аллигатора). 

the second one is the indent from the fractal breakdown in pips...

The other two are all clear... should be... ???

This is a truncated version - entering trades only on the saucer signal...according to B.Williams.

 
mishel:
..there's a question on the first three variables................
extern string FT1="------Настройки фрактала:----------";
extern int CountBarsFractal=5;//количество баров из которых состоит фрактал
extern int ClassicFractal=1; //включение выключение классического паттерна
extern int MaxDistance=1000;//включение контроля расстояния от зеленой линии до точки входа
Here are the first three, what exactly is not clear?
 
semiromid:

-------------------------------- I want to understand how to do it.

You should buy a book. I myself, when I started out, had a whole collection of books ranging from "IBM PC for the User" to "Developing Device Drivers". Some of them are about programming languages.

The nearest language to MetaTrader4 is C (read C), while to MetaTrader5 it was C++ ("C_plus_plus").

List of issues that should be in the book:

-following structure;

- conditional operator;

-Loop structure, loop operators;

-types of variables;

-identifiers;

-operator brackets;

-An assignment operator sequence;

- and other entry-level questions.

The book is also convenient because it is always at hand, and it would be good to save your eyes and not constantly look at the monitor.

 
Hello, has anyone ever had the OrderSend () function return 0? I had this happen while testing an EA I wrote. And now I can't do without experienced and advanced...
 
peshihod:

You should buy a book. I myself, when I started out, had a whole collection of books ranging from "IBM PC for the user" to "Developing device drivers". Including on programming languages.

The nearest language to MetaTrader4 is C (read C), while to MetaTrader5 it was C++ ("C_plus_plus").

List of issues that should be in the book:

-following structure;

-fork structure; -cycle structure; -following structure; -forekward structure;

- loop structure; - loop structure;

-variable types;

-identifiers;

-operator brackets;

- and other entry-level questions.

The book is also convenient because it is always at hand, and it would be good to save your eyes and not constantly look at the monitor.


Thanks for the tip .

Answer the questions, they are not difficult for you at all.

как заставить оператор

   while ( Условие ) 

зациклить на один раз в советнике ?

Тойсть что бы оператор сработал всего один раз за всю свою работу .

--------------------------------Я хочу понять как это делаеться .

Задача №2 : Зациклить оператор, что бы срабатывал четко через 20 секунд .

 
semiromid:


Thanks for the advice.

Answer the questions, they are not difficult for you at all.

как заставить оператор

зациклить на один раз в советнике ?

Тойсть что бы оператор сработал всего один раз за всю свою работу .

--------------------------------Я хочу понять как это делаеться .

Задача №2 : Зациклить оператор, что бы срабатывал четко через 20 секунд .

I'm not an expert, but I think the cycles provide for an early exit via break when a certain condition is met

 
AlexR:

I'm not an expert, but I think the cycles allow for an early exit via break if a certain condition is met.


Hmm . Isn't break used in theswitch statement?

Answer the questions, they are not difficult for you.

как заставить оператор

зациклить на один раз в советнике ?

Тойсть что бы оператор сработал всего один раз за всю свою работу .

--------------------------------Я хочу понять как это делаеться .

Задача №2 : Зациклить оператор, что бы срабатывал четко через 20 секунд .

 
semiromid:


Thanks for the tip.

Answer the questions, they're not hard for you at all .

как заставить оператор

зациклить на один раз в советнике ?

Тойсть что бы оператор сработал всего один раз за всю свою работу .

--------------------------------Я хочу понять как это делаеться .

Задача №2 : Зациклить оператор, что бы срабатывал четко через 20 секунд .

Probably not while( ) but if( ) ?

[Single execution at startup -- function init() .]

About 20 seconds.

Function start() is executed again when a new tick comes. There are times when there are no ticks for several minutes at a time, for example, at night. In other words, it's the same as when I write a program, but nothing happens until the tick arrives.

Reason: