Hi,
I've got some problems with the settings for the
custom indicator. I'd like to integrate the "RMI" Indicator. Here you can see the parameters of the indicator:
Code:
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 DodgerBlue
#property indicator_level1 15.0
#property indicator_level2 85.0
extern int RMIPeriod = 5;
extern int Shift = 13;
double g_ibuf_84[];
double g_ibuf_88[];
double g_ibuf_92[];
int init() {
IndicatorBuffers(3);
SetIndexBuffer(1, g_ibuf_88);
SetIndexBuffer(2, g_ibuf_92);
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(0, g_ibuf_84);
string ls_0 = "RMI(" + RMIPeriod + ")";
IndicatorShortName(ls_0);
SetIndexLabel(0, ls_0);
SetIndexDrawBegin(0, RMIPeriod);
return (0);
What do I have to set into the fields?
Symbol = current
Timeframe = H4
Custom fields = ???
Mode = ???
Shift = 1
Do I see the indicator in the chart after running the test?
Many thanks