Assuming that the name of the indicator is OK check if parameter type is OK (if the parameters type is wrong, it can hang your terminal). Why don''t you upload the "MyIndicator" to get a correct call to it?
but if am not wrong it should also work with input parameters mentioned
my .ex4 file from build 509 does work
thanks again
mladen: privateer Assuming that the name of the indicator is OK check if parameter type is OK (if the parameters type is wrong, it can hang your terminal). Why don''t you upload the "MyIndicator" to get a correct call to it?
In the centered TMA half length is exactly the number of bars that the indicator recalculates?
In addition your absolutely no lag LWMA look different than centered TMA with similar length.
They should not be similar?
Best,
No "Absolutely no lag LWMA" was made as a game to show how easy is to make a holy grail" lookalikes - it was explained here what has been done : https://www.mql5.com/en/forum/general
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi can anyone pls upload an indicator which uses icustom function for build 610 ........
Hi can some one help me why this code does not work...(it used to work well in build 509)
in build 610 it compiles without errors but my terminal just hangs and unable to load...
int start()
{
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
int limit=Bars-counted_bars;
for(int i=0; i<limit; i++)
{
BUFFER_1 = iCustom(NULL,0,"MYindicator",Period,3,iBarShift(NULL,0,Time,false));
BUFFER_2 = iCustom(NULL,0,"MYindicator2",Period,3,iBarShift(NULL,0,Time,false));}
Hi can some one help me why this code does not work...(it used to work well in build 509)
in build 610 it compiles without errors but my terminal just hangs and unable to load...
int start()
{
int counted_bars=IndicatorCounted();
if(counted_bars>0) counted_bars--;
int limit=Bars-counted_bars;
for(int i=0; i<limit; i++)
{
BUFFER_1 = iCustom(NULL,0,"MYindicator",Period,3,iBarShift(NULL,0,Time,false));privateer
Assuming that the name of the indicator is OK check if parameter type is OK (if the parameters type is wrong, it can hang your terminal). Why don''t you upload the "MyIndicator" to get a correct call to it?
Dear mladen Thanks a lot i changed
BUFFER_1 = iCustom(NULL,0,"MYindicator",Period,3,iBarShift(NULL,0,Time,false)); to
BUFFER_1 = iCustom(NULL,0,"MYindicator",3,iBarShift(NULL,0,Time,false));
just removed custom indicator input parameters
but if am not wrong it should also work with input parameters mentioned
my .ex4 file from build 509 does work
thanks again
privateer Assuming that the name of the indicator is OK check if parameter type is OK (if the parameters type is wrong, it can hang your terminal). Why don''t you upload the "MyIndicator" to get a correct call to it?
Compile impossible
Hi,
Why canI not compile this EA :
static datetime lastAlerted = 0;
double close=0;
double Valeur1 =0;
double Valeur2=100;
int start()
{
if (close <= Valeur2)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE BAISSE ",close," ",Symbol());
}
if (close>=Valeur1)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE HAUSSE ",close," ",Symbol());
}
}
return(0);
I get no error message, nothing.
Thanks for help.
Jo
Hi,
Why canI not compile this EA :
static datetime lastAlerted = 0;
double close=0;
double Valeur1 =0;
double Valeur2=100;
int start()
{
if (close <= Valeur2)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE BAISSE ",close," ",Symbol());
}
if (close>=Valeur1)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE HAUSSE ",close," ",Symbol());
}
}
return(0);
I get no error message, nothing.
Thanks for help.
JoJo
Do it like this :
double close=0;
double Valeur1 =0;
double Valeur2=100;
int start()
{
if (close <= Valeur2)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE BAISSE ",close," ",Symbol());
}
if (close>=Valeur1)
if (iTime(NULL,PERIOD_D1,0)!=lastAlerted)
{
lastAlerted = iTime(NULL,PERIOD_D1,0);
Alert ("ALERTE HAUSSE ",close," ",Symbol());
}
return(0);
}HI GUYS.please someone add trailing stop to this Expert advisor. 30 pipstrailing stop。thanks。
this is ea hereea.rar
HI GUYS.please someone add trailing stop to this Expert advisor. 30 pipstrailing stop。thanks。
this is ea hereea.rar
HI GUYS.please someone add trailing stop to this Expert advisor. 30 pipstrailing stop。thanks。 this is ea hereea.rar
devilcode
Do you have the original (non-decompiled) code?
Dear Mladen
Some probably stupid questions!
In the centered TMA half length is exactly the number of bars that the indicator recalculates?
In addition your absolutely no lag LWMA look different than centered TMA with similar length.
They should not be similar?
Best,
Dear Mladen
Some probably stupid questions!
In the centered TMA half length is exactly the number of bars that the indicator recalculates?
In addition your absolutely no lag LWMA look different than centered TMA with similar length.
They should not be similar?
Best,No
"Absolutely no lag LWMA" was made as a game to show how easy is to make a holy grail" lookalikes - it was explained here what has been done : https://www.mql5.com/en/forum/general