I am quite sure that at the post from which that picture is, is written how you can access it too ...
all the best
lover: https://www.mql5.com/en/forum
this one i found it in one of ur posting. i am posting link to the screenshot, i bet u can easily put an alert on it big brother
line that is saying "int k = MathMin(i+j,Bars-1);" reuses the last (current) value over and over if it would go out of the scope of the available elements (so, in the future). Don't be puzzled with the inverted way it uses indexes : those are "raw" (C like array) and that is why it uses that way of accessing array elemnts
Dear Mladen
I'm desperate!
Why this great indicator that you created in the last bar is different from the one I created in excel?
It works (the indicator) as you described it so I really have no idea where the difference comes from. If the excel version works as described than there should be no difference
lucmat: Dear Mladen
I'm desperate!
Why this great indicator that you created in the last bar is different from the one I created in excel?
i've used the 2 indis for a long time now, but the problem is every time i want to change parameters, i have to create 2 new indis as the parameters are hardcoded.
could you kindly modify these indis and combine both into one single indi?
i'm confident lucmat and all cycle traders will find the resulting indi useful for their cycle analysis.
Here you go Attached the SnakeSMA too (since both of the indicators depend on that indicator too). Added external parameters (I did nit change the logic of the indicators, I assume that they work as you expect them to work logic wise)
engula: hi mladen,
user clahn04 posted some years ago 2 interesting indis, where slope2 calls slope:
i've used the 2 indis for a long time now, but the problem is every time i want to change parameters, i have to create 2 new indis as the parameters are hardcoded.
could you kindly modify these indis and combine both into one single indi?
i'm confident lucmat and all cycle traders will find the resulting indi useful for their cycle analysis.
Attached the SnakeSMA too (since both of the indicators depend on that indicator too). Added external parameters (I did nit change the logic of the indicators, I assume that they work as you expect them to work logic wise)
mladen, which is now the 'new' indi that combines the two 'old' ones?
They are all changed (to be able to accept external parameters) so they are all new (sort of speaking). But if you wish to have separate ones, use these, so you can compare then to the old ones
engula: mladen, which is now the 'new' indi that combines the two 'old' ones?
mladen: They are all changed (to be able to accept external parameters) so they are all new (sort of speaking). But if you wish to have separate ones, use these, so you can compare then to the old ones
sorry, i'm not sure if i understand, my bad...
my wish was to have the 2 indis combined into 1, but i see that you modified them both. or did i misunderstand sth?
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.
Sorry, I am lost What lwma slope indicator are you referring to?
https://www.mql5.com/en/forum
this one i found it in one of ur posting. i am posting link to the screenshot, i bet u can easily put an alert on it big brother
I am quite sure that at the post from which that picture is, is written how you can access it too ...
all the best
https://www.mql5.com/en/forum this one i found it in one of ur posting. i am posting link to the screenshot, i bet u can easily put an alert on it big brother
I am quite sure that at the post from which that picture is, is written how you can access it too ... all the best
https://www.mql5.com/en/forum/181241
i have it its ur indi i need an alert for it its not elite indi
lucmat
The "version 2" does that
In this part of code :
{
i = Bars-i-1;
//
//
//
//
//
double sum = work;
double sumw = 1;
//
//
//
//
//
for(int j=1; j<=halfLength; j++)
{
sum += work;
sumw += 1;
int k = MathMin(i+j,Bars-1);
sum += work[k];
sumw += 1;
}
return(sum/sumw);
}Dear Mladen
I'm desperate!
Why this great indicator that you created in the last bar is different from the one I created in excel?
There must be a solution ....
Thanks
lucmat
It works (the indicator) as you described it so I really have no idea where the difference comes from. If the excel version works as described than there should be no difference
Dear Mladen
I'm desperate!
Why this great indicator that you created in the last bar is different from the one I created in excel?
There must be a solution ....
Thankshi mladen,
user clahn04 posted some years ago 2 interesting indis, where slope2 calls slope:
https://www.mql5.com/en/forum/175938/page17
i've used the 2 indis for a long time now, but the problem is every time i want to change parameters, i have to create 2 new indis as the parameters are hardcoded.
could you kindly modify these indis and combine both into one single indi?
i'm confident lucmat and all cycle traders will find the resulting indi useful for their cycle analysis.
many thanks as always.
engula
Here you go
Attached the SnakeSMA too (since both of the indicators depend on that indicator too). Added external parameters (I did nit change the logic of the indicators, I assume that they work as you expect them to work logic wise)
hi mladen,
user clahn04 posted some years ago 2 interesting indis, where slope2 calls slope:
https://www.mql5.com/en/forum/175938/page17
i've used the 2 indis for a long time now, but the problem is every time i want to change parameters, i have to create 2 new indis as the parameters are hardcoded.
could you kindly modify these indis and combine both into one single indi?
i'm confident lucmat and all cycle traders will find the resulting indi useful for their cycle analysis.
many thanks as always.engula
Here you go
Attached the SnakeSMA too (since both of the indicators depend on that indicator too). Added external parameters (I did nit change the logic of the indicators, I assume that they work as you expect them to work logic wise)mladen, which is now the 'new' indi that combines the two 'old' ones?
They are all changed (to be able to accept external parameters) so they are all new (sort of speaking). But if you wish to have separate ones, use these, so you can compare then to the old ones
mladen, which is now the 'new' indi that combines the two 'old' ones?
They are all changed (to be able to accept external parameters) so they are all new (sort of speaking). But if you wish to have separate ones, use these, so you can compare then to the old ones
sorry, i'm not sure if i understand, my bad...
my wish was to have the 2 indis combined into 1, but i see that you modified them both. or did i misunderstand sth?