Skip to content

Custom Indicators

Custom Indicators

This is the group functions used in the creation of custom indicators. These functions can’t be used when writing Expert Advisors and Scripts.

FunctionAction
SetIndexBufferBinds the specified indicator buffer with one-dimensional dynamic array of the double type
IndicatorSetDoubleSets the value of an indicator property of the double type
IndicatorSetIntegerSets the value of an indicator property of the int type
IndicatorSetStringSets the value of an indicator property of the string type
PlotIndexSetDoubleSets the value of an indicator line property of the type double
PlotIndexSetIntegerSets the value of an indicator line property of the int type
PlotIndexSetStringSets the value of an indicator line property of the string type
PlotIndexGetIntegerReturns the value of an indicator line property of the integer type

Indicator properties can be set using the compiler directives or using functions. To better understand this, it is recommended that you study indicator styles in examples.

Last updated on