i have a hard time understanding of how exactly the code goes for iCustom. and on how am i going to use to have a condition for the ea? which part of the indicator? and where to put those code in the ea?
though it seems that the set-up is...
iCustom(symbol,period,indicatorName,indicatorStuffs,buffers,shift);
and i found out also from Orchard with #define and #resource for the indicator that sets like the one below;
where the indicator once deleted in the source folder still runs even the indicator is deleted.
for example:
#define TDIRedGreen "indicators folder\\indicatorsName.ex4"
#resource "//" + TDIRedGreen
ResetLastError();
double tdired1 = iCustom(Symbol(),Period(), "::" + "TDIRedGreen",RSI_Period,RSI_Price,RSI_Price_Line,Trade_Signal_Line, buffers to fill-in, 1);
if(GetLastError()!=0) {
MessageBox("TDIRedGreen Indicator failed.");
iCustom(Symbol(),Period(), "::" + "TDIRedGreen", period, price, other stuff of indicator, buffers, shift);
now, the question is/are...
if given a buffers =7,
how many buffers should we use to fill-in the buffers?
or
Is it only the number for that buffer be place in the buffers to fill-in section?
thank you for dropping by and for helping solve the problem so other may know exactly what to put into for their iCustom indicator for their ea.
pls. do quote your ideas.
though it seems that the set-up is...
iCustom(symbol,period,indicatorName,indicatorStuffs,buffers,shift);
and i found out also from Orchard with #define and #resource for the indicator that sets like the one below;
where the indicator once deleted in the source folder still runs even the indicator is deleted.
for example:
#define TDIRedGreen "indicators folder\\indicatorsName.ex4"
#resource "//" + TDIRedGreen
ResetLastError();
double tdired1 = iCustom(Symbol(),Period(), "::" + "TDIRedGreen",RSI_Period,RSI_Price,RSI_Price_Line,Trade_Signal_Line, buffers to fill-in, 1);
if(GetLastError()!=0) {
MessageBox("TDIRedGreen Indicator failed.");
iCustom(Symbol(),Period(), "::" + "TDIRedGreen", period, price, other stuff of indicator, buffers, shift);
now, the question is/are...
if given a buffers =7,
how many buffers should we use to fill-in the buffers?
or
Is it only the number for that buffer be place in the buffers to fill-in section?
thank you for dropping by and for helping solve the problem so other may know exactly what to put into for their iCustom indicator for their ea.
pls. do quote your ideas.