Page 2 of 2

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Sun Apr 19, 2020 12:44 pm
by mrtools
ionone wrote: Sat Apr 18, 2020 7:24 pm Hi

I'm creating t his thread to discuss about the dev of the indicator

the original indicator has been created in TradingView with Pine Script language.
Image
https://www.tradingview.com/script/aMag ... Step-LSMA/

i tried to convert the indi to MT4, but it's not good.

i have some doubts about some parts of the code

let's dicuss about this dev here and hopefully come with the perfect code !
Everybody is welcome to join the dev of this indicator. In the end the full code will be released ot the public !

T-Step LSMA 01.mq4

hre is the link to PineScript documentation
https://www.tradingview.com/pine-script ... e/#fun_cum

Jeff
Still working on it in my spare time trying to figure out exactly what was done.

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Sun Apr 19, 2020 5:58 pm
by ionone
mrtools wrote: Sun Apr 19, 2020 12:44 pm

Still working on it in my spare time trying to figure out exactly what was done.
THANK YOU

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 3:34 am
by mrtools
ionone wrote: Sun Apr 19, 2020 5:58 pm
THANK YOU
Using the old step ma made this step lsma, not sure how close it is.

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 5:37 am
by wojtek
MrTools, excellent indicator, though it doesn't display with the default settings in the 1M chart.

Would it be possible to express the objective setting - step size in pips - in a more
subjective way (e.g., using ATR, or others)?

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 9:18 pm
by ionone
mrtools wrote: Mon Apr 20, 2020 3:34 am

Using the old step ma made this step lsma, not sure how close it is.
no offense but it's not the same at all.

hmm I think i'll compare my code with each line in the PineScript jsut to be sure my code is correct.
we'll see

Jeff

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 9:23 pm
by wojtek
Ionone, could you please also make it two-colour as on the original picture?

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 10:23 pm
by ionone
wojtek wrote: Mon Apr 20, 2020 9:23 pm Ionone, could you please also make it two-colour as on the original picture?
yeah i'll make it two colours but I have to make it working first.

What is strange is I set the indicator in TradingView and the curve isn't at all like the original screenshot ! I tried changing the settings but no luck.

strange

EDIT : ok I switched to EURUSD and it looks more like a normal step. I think the code isn't good

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Mon Apr 20, 2020 11:05 pm
by ionone
ok here is the fixed version

the indi seems to behave differently according to the price so I don't guarantee it willl work perfectly, but I did my best

you can set a distance between bottoms/peaks for the color to change.

Apart from that it's the same as in TV
Jeff

Re: T-Step LSMA Development Thread -JOIN US !

Posted: Fri Jul 31, 2020 12:22 am
by NotInPortland
mrtools wrote: Mon Apr 20, 2020 3:34 am

Using the old step ma made this step lsma, not sure how close it is.
Multi TimeFrame version is available? With non standard timeframes choise too, please?

thanks you