Page 1 of 2

Extreme TMA line indicator

PostPosted: Wed Oct 29, 2014 6:54 am
by Apprentice
EURUSDH1.png

Based on Lua template.
viewtopic.php?f=17&t=59406
Extreme_TMA_Line.mq4
(4.17 KiB) Downloaded 2666 times

Extreme_TMA_Line_Oscillator

PostPosted: Fri Jan 11, 2019 9:49 am
by Apprentice
eurusd-h1-fxcm-australia-pty.png

Extreme_TMA_Line_Oscillator.mq4
(5.45 KiB) Downloaded 1220 times

Re: Extreme TMA line indicator

PostPosted: Wed Jul 06, 2022 4:56 am
by Gilles
Hi Apprentice,

It will be possible to convert Extreme_TMA_Line_Oscillator.mq4 to LUA version please ?

Thank you for this very interesting work :) !

Re: Extreme TMA line indicator

PostPosted: Thu Jul 07, 2022 8:30 am
by Gilles
Hi Apprentice,
I worked on creating the extreme_tma_line_oscillator for lua and I don't get the same as you.
Could you take a look at it and tell me where the error is.
Thank you very much.

Re: Extreme TMA line indicator

PostPosted: Fri Jul 08, 2022 3:28 am
by Apprentice
Extreme_TMA_line_Oscillator.lua
(4.96 KiB) Downloaded 135 times

Try this version.

Re: Extreme TMA line indicator

PostPosted: Fri Jul 08, 2022 12:33 pm
by Gilles
Hi Apprentice,
Thank you very much for giving me a moment to watch/modify my code based on the one you had proposed for the MACD.
It is a code structure that I thought was valid and the mofications made to it are of great relevance. Thank you very much Apprentice, it is an honor to exchange with you.

Re: Extreme TMA line indicator

PostPosted: Tue Jul 19, 2022 12:15 pm
by Gilles
Hi Apprentice,
As for ATR_adaptive_period could we have a Extreme_TMA_Line_adaptive_period for Lua ?
Thank you very much Apprentice.
See you soon :)!

Re: Extreme TMA line indicator

PostPosted: Wed Jul 20, 2022 7:10 am
by Apprentice
Extreme_TMA_Line_adaptive_period is based on what code?
https://fxcodebase.com/code/viewtopic.php?f=17&t=59406

Variation Extreme TMA line indicator for MT4

PostPosted: Wed Jun 28, 2023 5:33 am
by Gilles
Hi Apprentice,
Will we be able to obtain the Extreme_TMA_Line.mq4 indicator with automatic smoothing activation of the line after each tick?

Next, I propose a variation of the indicator by incorporating the following elements:

With:
FullLength = 2 * HalfLength + 1.
upBuffer[period] = tmBuffer[period] + 6 * source:pipSize();
dnBuffer[period] = tmBuffer[period] - 6 * source:pipSize();

if tmBuffer[period] > tmBuffer[period-FullLength+1], then tmBuffer = green and upTrend = true
elseif tmBuffer[period] < tmBuffer[period-FullLength+1], then tmBuffer = red and upTrend = false
end

As long as upTrend is "true":
Place a green arrow to buy on dnBuffer[period] every time the price touches this line.

As long as upTrend is "false":
Place a red arrow to sell on upBuffer[period] every time the price touches this line.

The fact that the Extreme_TMA_Line indicator repaints will facilitate market visualization and the progression of its evolution through smoothing after each tick.
Thank you in advance :)

Re: Extreme TMA line indicator

PostPosted: Sat Jul 01, 2023 6:07 am
by Apprentice
We have added your request to the development list.
Development reference 574.