Example:indicator that turns upside down the values of levels on which the horizontal lines are placed. #propertyindicator_separate_window //--- set the maximum and minimum values for the indicator window #propertyindicator_minimum0
IndicatorSetString(INDICATOR_LEVELTEXT,0, "First Level") - index 0 is used to set text description of the first level. Example:indicator that sets text labels to the indicator horizontal lines. #propertyindicator_separate_window #propertyindicator_minimum0 ...
'Condition' selects the condition for checking the signal. Next, set one or two indicators and one or two values of levels to be used (the second level is reserved for the future and will not be used in this experiment). Indicators in the 'Indicator' parameters are either the indicator ...
The function sets the value of the corresponding indicator property. Indicator property must be of the string type. There are two variants of the function. Call with specifying the property identifier. boolIndicatorSetString( intprop_id,// identifier ...
#propertylink"https://www.mql4.com" #propertydescription"Bill Williams' Alligator" #propertystrict //--- indicator settings #propertyindicator_chart_window #propertyindicator_buffers3 #propertyindicator_color1 Blue #propertyindicator_color2 Red
Example: Indicator that shows bar number #propertyindicator_chart_window #propertyindicator_buffers1 //--- indicator buffers doubleNumerationBuffer[]; //+---+ //| Custom indicator initialization function | //+---+ intOnInit() { //--- indicator buffers...
#propertylink"https://www.mql4.com" #propertydescription"Bill Williams' Alligator" #propertystrict //--- indicator settings #propertyindicator_chart_window #propertyindicator_buffers3 #propertyindicator_color1 Blue #propertyindicator_color2 Red
Example: Indicator that shows bar number #propertyindicator_chart_window #propertyindicator_buffers1 //--- indicator buffers doubleNumerationBuffer[]; //+---+ //| Custom indicator initialization function | //+---+ intOnInit() { //--- indicator buffers...