Voodoo Trading Russian Language
Main page Scripts Indicators Experts

Frequently asked questions:

How I can run a script ?
How I can change parameters of the script ?
How I can determine that the script works ?
Why the script does not trade ?
How I can assign "hot key" for start of a script ?
How I can determine that there was a error at execution of the script ?
How I can stop execution of a script ?
How I can use a few scripts watching the order simultaneously ?
What is the global variables ?
How I can change a value of the global variables ?
How I can run a indicator ?
How I can change parameters of the indicator ?
How I can determine that there was a error at execution of the indicator ?
How I can run a expert adviser ?
How I can change parameters of the expert adviser ?
Why the expert adviser does not trade ?
How I can determine that there was a error at execution of the expert adviser ?

How I can run a script ?
     For start a script is necessary to attach it to the chart. Double click with the left mouse button on the selected script in the "Navigator -- Scripts" window or execution of the "Execute on Chart" command of the script context menu will attach the script to the active chart. The "Drag'n'Drop" technique will allow to attach the script to any chart. Right after it the algorithm of a script is started. Attention: it is possible to attach to one chart only one script.

In the beginning

How I can change parameters of the script ?
     If the script uses own parameters the window of settings a script automatically will appear at its attach to the chart. External variables of the script can be changed in the "Inputs" tab. To change a parameter, one has to double-click with the left mouse button on its value and write the new one. At that, one can change the value of each variable or download the set of inputs already saved before (the "Load" button). One can save the current set of inputs with the button of the same name. The "Reset" button returns all default settings. The script with the defined parameters can be confirmed by pressing of "OK" and canceled by pressing of button of the same name.
     Some my scripts use global variables. It allows to once set parameters of trade necessary for you, and they will be stored without change. And in addition, such variables allow to transfer the data from one script in another. To change global variables it is possible in a window of the terminal (opens by pressing a key "F3"). If the script uses global variables as input parameters, and such variables are absent, at the first start the script automatically will create global variables necessary for it, then you can set its values.

In the beginning

How I can determine that the script works ?
     Presence the command "Remove Script" in the chart context menu shows that the script works. Also it is possible to read about a status of the attached scripts in logs (tabs "Experts" and "Journal" of the Terminal).
     Some my scripts in a working time show the name in the left top corner of the chart to that they is attached, or display some information on chart.

In the beginning

Why the script does not trade ?
     At the default settings of "MetaTrader 4" a scripts is forbidden to realize the trading operations. To change these settings it is possible in a window of "Adjustment" (it can be opened pressing "Ctrl+O" or through the main menu "Tools" -> "Options"). Open the tab "Expert Advisers" and establish a tag opposite to a string "Allow live trading".

In the beginning

How I can assign "hot key" for start of a script ?
     In a window "Navigator" open the list "scripts" and on necessary script press the right button of the mouse. In the opened menu choose item "Set hotkey". In the opened window press button "Set". Further in a column "Key" press the necessary button on the keyboard (for example: S) and if it is necessary in a column "Control" change managing button (for example: Alt). Close this window button "Close". And for start script simultaneously press earlier specified buttons (in my example: "Alt" + "S") also keep them in current approximately one second.

In the beginning

How I can determine that there was a error at execution of the script ?
     The scripts written by me output messages on the occurred errors in a logs (the tab "Experts" of the Terminal). At critical errors after which it is impossible to continue execution of a script, it finishes the work.

In the beginning

How I can stop execution of a script ?
     Normally, a script shuts down by itself. But it can be removed manually. To remove a script from the chart, one has to execute the chart contest menu "Remove Script" command or attach another script to the chart. Besides, a script will be removed from the chart after symbol or timeframe has been changed. Attention: all scripts will be removed after terminal has been shut down.

In the beginning

How I can use a few scripts watching the order simultaneously ?
     For this purpose it is necessary to start scripts (for example, MoveToNoLoss and LimiteTimeOrder) on different charts with an identical value of parametr ticket. Then these scripts will watch the same order simultaneously.

In the beginning

What is the global variables ?
     Unlike variables claimed at a global level in the programm source code and available only within the corresponding module, global variables exsist independently on programms. Their values are saved between terminal launches, unlike those of variables claimed at a global level (they are set at every programm launch and lost at programm remove). Global variables are available within four weeks since their last call from programms or manual modifying.

In the beginning

How I can change a value of the global variables ?
     There is a special window in terminal that manages global variables. It can be opened by execution of the "Tools" - "Global Variables" menu command or by pressing of "F3". All global variables, their values and times of their last calls are listed in a table in this window. Using buttons located in the right part of the window, one can add a new global variable or delete an existing one. To change the name or value of a global variable, one has to double-click with the left mouse button on the corresponding cell of the table. The last call time will be changed automatically for this variable.

In the beginning

How I can run a indicator ?
     For start a indicator is necessary to impose it on the chart. A custom indicator can be imposed into the active chart by a double click with the left mouse button on it in the "Navigator -- Custom Indicators" window or by execution of the context menu command "Attach to a chart". The "Drag'n'Drop" technique allows to impose the analytical tool into any chart. Immediately after that, recalculation if the indicator values and drawing thereof in the chart will start.

In the beginning

How I can change parameters of the indicator ?
     At imposing the indicator on the chart, the window of setting with several tabs automatically will appear. External variables of the indicator can be changed in the "Inputs" tab. To change a parameter, one has to double-click with the left mouse button on its value and write the new one. At that, one can change the value of each variable or download the set of inputs already saved before (the "Load" button). One can save the current set of inputs with the button of the same name. The "Reset" button returns all default settings. The script with the defined parameters can be confirmed by pressing of "OK" and canceled by pressing of button of the same name.

In the beginning

How I can determine that there was a error at execution of the indicator ?
     The paid indicators written by me output messages on the occurred errors in a logs (the tab "Experts" of the Terminal).

In the beginning

How I can run a expert adviser ?
     For start a expert advisor is necessary to attach it to the chart. The "Attach to a chart" command of the "Navigator -- Expert Advisors" window context menu or double click with the left mouse button on the selected expert in the same window allows to impose it into the active chart. "Drag'n'Drop" technique allows to impose the expert into any chart. Expert is attached if its name and a smiley can be seen in the upper right corner of the chart. Attention: it is possible to attach to one chart only one expert adviser.

In the beginning

How I can change parameters of the expert adviser ?
     The window of setting automatically will appear at an attaching of the expert adviser to the chart. External variables of the expert adviser can be changed in the "Inputs" tab. To change a parameter, one has to double-click with the left mouse button on its value and write the new one. At that, one can change the value of each variable or download the set of inputs already saved before (the "Load" button). One can save the current set of inputs with the button of the same name. The "Reset" button returns all default settings. The script with the defined parameters can be confirmed by pressing of "OK" and canceled by pressing of button of the same name.

In the beginning

Why the expert adviser does not trade ?
     At the default settings of "MetaTrader 4" a expert advisers is forbidden to realize the trading operations. To change these settings it is possible in a window of "Adjustment" (it can be opened pressing "Ctrl+O" or through the main menu "Tools" -> "Options"). Open the tab "Expert Advisers" and establish a tag opposite to a strings "Enable Expert Advisors" and "Allow live trading".

In the beginning

How I can determine that there was a error at execution of the expert adviser ?
     The expert advisers written by me output messages on the occurred errors in a logs (the tab "Experts" of the Terminal).

In the beginning


     The most part of this information is taken from "Help Topics" the client terminal "MetaTrader 4", accessible after pressing "F1" or a choice in the main menu an item of the same name.

At occurrence of questions or offers write on Serega.Lykov@gmail.com, Sergey Lykov.
I can create the scripts, indicators and advisers of "MetaTrader 4" for a payment.
The partial or full reprint is supposed only referring to a source.
The site is designed and created by Sergey Lykov, Copyright © 2008-2024.

Hosted by uCoz