• Any indicator found in the custom indicator folder will be available for
selection from the VTS Function’s Toolbox under the menu “Custom
Indicators”.
• NOTE: If the folder “Custom Indicators” is not shown from within the VTS
Functions Toolbox tab, it most likely because the MetaTrader tools
directory has not yet been configured. The best way to configure the
MetaTrader tools directory is to build a VTS system: From the Welcome
Page, click Start New -> QuickStart EA and press “Build”. If the
MetaTrader tools directory is not set you will be prompted.
• To make your custom indicator available for selection from the VTS
Toolbox, simply copy the custom indicator file into the custom indicator
folder.
• The first time a custom indicator is dragged from the VTS Toolbox to the
VTS drawing pad, the user will be prompted to define the custom
indicator’s Input Variables and Output Lines.
• Many VTS users do not have the MQL source code for their custom
indicators; therefore it is necessary to manually enter the custom
indicator’s Input Variables and Output Lines.
• Open the MetaTrader platform and attach the custom indicator ZigZag to
any price chart. (From the Navigator window of the MetaTrader platform,
expand “Custom Indicators” menu and double-click “ZigZag”.)
• When the indicator is attached to the price chart the following window,
called the “Indicator Configuration” window, will appear. Leave this
window open to help when entering the custom indicator’s Input Variables
and Output Lines into VTS.
• Select the Functions Toolbox Tab and expand the “Custom Indicators”
menu.
• NOTE: If the folder “Custom Indicators” is not shown from within the
VTS Functions Toolbox tab, it most likely because the MetaTrader
tools directory has not yet been configured. The best way to configure
the MetaTrader tools directory is to build a VTS system: From the
Welcome Page, click Start New -> QuickStart EA and press “Build”. If
the MetaTrader tools directory is not set you will be prompted.
• The first time the “ZigZag” custom indicator is dragged onto the
drawing pad, the “Custom Indicator Definition” window is shown.
• Note, the input variables for your custom indicator are best identified
from the “Indicator Configuration” window shown when attaching the
indicator to a MetaTrader price chart. Select the “Inputs” tab to view
the inputs.
• Repeat this procedure for the other input variables “ExtDeviation” and
“ExtBackstep”.
• The “Indicator Configuration” window for the “ZigZag” indicator shows one
output line: “Red”.
• To define the “Red” output line in VTS, return to the “Custom Indicator
Definition” window and select the “Add Output Line” button. The
“Custom Indicator Line Definition” window will be shown.
• Enter the value Red into the Line Name field and select OK.
• The “Output Lines” appear as selection items for the “mode” parameter.
• Note, after making changes to the custom indicator definition, remove the
element from the drawing and drag and drop another copy to view the new
changes.
double iCustom(string symbol, int timeframe, string name, , int mode, int shift)
Calculates the specified custom indicator and returns its value. The custom indicator must be compiled (*.EX4 file) and be in the
terminal_directory\experts\indicators directory.
Parameters:
symbol - Symbol the data of which should be used to calculate indicator. NULL means current symbol.
timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
name - Custom indicator compiled program name.
- Parameters set (if necessary). The passed parameters and their order must correspond with the
desclaration order and the type of extern variables of the custom indicator.
mode - Line index. Can be from 0 to 7 and must correspond with the index used by one of SetIndexBuffer
functions.
shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of
periods ago).
Sample:
double val=iCustom(NULL, 0, "SampleInd",13,1,0);
• What makes the iCustom function difficult to use is the fourth parameter.
The ellipsis (…) indicates there can be zero to N number of parameters
defined. The number depends on the specific custom indicator.
• The mode parameter is used to get the value of the specific line output of
the custom indicator. Many indicators have more than one line drawn on
the chart. This value must be defined correctly to receive the value of the
correct line.
. , .
5 . , , .
— , . . — ( ).
, . , , .
, .
— , .
, , . .
, .
RSI — , . 0 .
, , RSI 30, . .
ATR — , . — , , .
, ATR , , . , .
— . .
Parabolic SAR , . , . .
Parabolic SAR , , .
, . . .
, RSI , .
, RSI , .
- - .
Risk Warning:
CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.
Trading leveraged products such as Forex and CFDs carries a high level of risk and may not be suitable for all investors. There is a possibility of losing all your initial capital. Before trading, you should fully understand the true extent of your exposure to the risk of loss and your level of experience. Please note that past performance does not constitute a reliable indicator of future results. Future forecasts do not constitute a reliable indicator of future performance. If you do not fully understand the risks involved before deciding to trade, you should carefully consider your investment objectives, level of experience and risk tolerance; you should become aware of all the related risks and seek independent advice from a suitably licensed financial advisor.
The information on this website is of a general nature only and does not consider your goals, financial situation or needs. Every effort is made to provide accurate information. However, the information is subject to change at any time without notice. VT Markets cannot guarantee or assume any legal responsibility for the relevance, accuracy, timeliness, or completeness of the information.
The information or services on this website is not directed or offered to residents of certain jurisdictions such as the United States, North Korea etc. For more information please contact our support team.
VT Markets is a brand name of different entities authorised and registered in various jurisdictions.
VT Global Pty Ltd is authorised and regulated by the Australian Securities & Investments Commission (ASIC) and holds an Australian Financial Service under licence number VT Markets Pty Ltd Contact Number: +61 02 Register Address: Level 16, Kent Street,SYDNEY NSW , Australia. Register No:
VT Markets (Pty) Ltd is an authorised Financial Service Provider (FSP) registered and regulated by the Financial Sector Conduct Authority (FSCA) of South Africa under license number Contact Number: + Register Address: 9 Lilian Avenue, Lilianton, Boksburg, Gauteng, , South Africa. Register No: //
VT Markets Pty Ltd is registered with the Australian Securities & Investments Commission (ASIC) under ACN
This website is owned and operated by VT Markets.
Copyright © VT Markets
Forex Wcci Chart Indicator:
A forex indicator is a statistical tool that currency traders use to make judgements about the direction of a currency pair’s price action. Forex indicators come in many types, including leading indicators, lagging indicators, confirming indicators and so on. Popular forex indicators include moving averages, relative strength index (RSI) and average true range (ATR). A forex trader must choose the indicators that fit his or her trading strategy.
To shut down an indicator, one has to remove it from the chart. At that, its drawing and recalculation of its values will stop. To remove an indicator from the chart, one has to execute its context menu commands of Delete Indicator or Delete Indicator Window, or the chart context menu command of Indicators List – Delete.
@miro
Yes, I meant Columns. I made a few extra showing different indicator values.
I got the idea if we add many more columns, if we can make it a more effective code with an array somehow for the columns as well, like you said - the reason for your tutorial was to create + less blocks. Is it a good idea and how would one add another dimension array in that case?
About Max & Min sorting I find the concept very useful, I get new ideas all the time now, where it could be very useful.
E.g. I have MAs on the chart or even more - or some other indicators of course. I would like to know which one is the highest (MAX PRICE) and the lowest (MIN). I could then calculate the distance between them and save that result in a Variable, to know some range.
I tried the code from [eunic-brussels.eu](link url) but could not get it to compile correctly. Lost of errors. And how would I store the Max / min value in variables?
I could of course create a massive amount of formula blocks and calculate all combinations, but with many indicators, this method too would get into the nds of blocks.
I thought if this could be done as smart, as you have been using arrays, to reduce blocks used, to use MathMax & Min to store the value simply and immediately to a variable, as simple as that, since MQL has the function already built in. Knowing this could be very useful for many applications.
Does FXDreema not have the Math Functions built in? It should. Even VTS/iExpertAdvisor has that (but in the end, it's a useless software, where even basic functions don't work, like limiting the number of trades etc, that's why I had to dump it & fortunately found FXDreema).
MQL Math would however be very useful in FXDreema, especially for us who don't code much raw MQL code.
Do you have any idea how we could sort out the Max & min values, even if it is not in an array, but I suppose it could be?
I really loved your tutorial. It's useful. I'm going to check out more.
Interestingly, I made the same conclusion earlier about drawing the average ATR line some time ago.
I have also been thinking how to solve the problem of self adaptation, so your link was very spot on for that too.
It seems like we are very synchronized.
Big thanks to you my friend!
аналитика форекс gbp кaртa мирa форекс вспомогательные индикаторы форекс как платят налоги трейдеры валютного рынка форекс лучшие индикаторы для входа индикаторы измерения температуры щитовые дмитрий котенко форекс клипaрт для форекс имхо на форексе дц форекс брокер отзывы безрисковая комбинация форекс индикаторы рынка ферросплавов