phy,
Thanks for your answer.
From the following parameter, what it should be?
//---- input parameters
extern int CountBars = 16000;
extern int SSP = 6;
extern double Kmin = 1.6;
extern double Kmax = 50.6;
extern int Filter = 10 ;
And how to use it to open position?
Your answer is highly appreciated in advance.
Khairul Azizan Suda: From the forum i found several method as the following:
val1=iCustom(NULL,0,"SilverTrend",3,350,2,0,0);
val2=iCustom(NULL,0,"SilverTrend",3,350,2,1,0);
or
BuyST=iCustom(NULL, 0, "SilverTrend", 0, 0);
SellST=iCustom(NULL, 0, "SilverTrend", 1, 0);.
Be careful with NULL.
On MT4, you can use NULL in place of _Symbol only in those calls that the documentation specially says you can. iHigh does, iCustom does, MarketInfo does not, OrderSend does not.You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
Anyone got any idea on how to call this indicator to work in EA?
From the forum i found several method as the following:
val1=iCustom(NULL,0,"SilverTrend",3,350,2,0,0);
val2=iCustom(NULL,0,"SilverTrend",3,350,2,1,0);
or
BuyST=iCustom(NULL, 0, "SilverTrend", 0, 0);
SellST=iCustom(NULL, 0, "SilverTrend", 1, 0);
My question, what is the correct one for this indicator? So far no one has revealed it.
Will the answer in the following link will be the answer? MT-4 Ea And Custom Indicator
They take the following parameter
//---- input parameters
extern int RISK=3;
extern int CountBars=350;
extern int NumberofAlerts=2;
what about if i put the following parameters as shown in the coding below? What is the correct iCustom?
//---- input parameters
extern int CountBars = 16000;
extern int SSP = 6;
extern double Kmin = 1.6;
extern double Kmax = 50.6;
extern int Filter = 10 ;