coding new tsi indicator

free & uncensored discussion arena for TheRumpledOne

Moderator: moderators

djevlen
rank: <50 posts
rank: <50 posts
Posts: 10
Joined: Fri Sep 18, 2009 8:28 am
Reputation: 0
Gender: None specified

coding new tsi indicator

Postby djevlen » Fri Sep 18, 2009 8:37 am

hello.
There is a TSI indicator in the java based trading platform of the AMC currency markets.
I tried to find a similiar TSI indicator for mt4 but its not possible.
Could some one here make this indicator work in mt4 ? the code is ready, it just has to be converted into mt4 indicator format ?
Please help.

This is the link of the demo dowonload of the java trading platform:
http://www.ac-markets.com/trading-softw ... login.aspx

greetins
kim

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 2
Gender: Male
Contact:

Postby flinux » Fri Sep 18, 2009 10:53 am

So faith, hope, love remain, these three; but the greatest of these is love. - 1 Corinthians 13:13

djevlen
rank: <50 posts
rank: <50 posts
Posts: 10
Joined: Fri Sep 18, 2009 8:28 am
Reputation: 0
Gender: None specified

Postby djevlen » Fri Sep 18, 2009 12:04 pm

i know there are several TSI for mt4.. but this is not it !!

User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 2
Gender: Male
Contact:

Postby flinux » Fri Sep 18, 2009 12:24 pm

Then post the AMC TSI code so we have not to download it and we can convert it in mt4 language.
So faith, hope, love remain, these three; but the greatest of these is love. - 1 Corinthians 13:13

djevlen
rank: <50 posts
rank: <50 posts
Posts: 10
Joined: Fri Sep 18, 2009 8:28 am
Reputation: 0
Gender: None specified

Postby djevlen » Sat Sep 19, 2009 9:45 am

OK...
this is how it looks like :

http://farm4.static.flickr.com/3430/393 ... b080_o.jpg

and

http://farm3.static.flickr.com/2468/393 ... ec24_o.jpg

and this is the code :


pr = close

PrMomentum = ExponentialAverage[R](Pr - Pr[1])

Num = 100 * ExponentialAverage[Sm](PrMomentum)
Den = ExponentialAverage[Sm](Abs(PrMomentum))

IF Den<>0 THEN
TSI = Num / Den
ELSE
TSI = 0
ENDIF

Sig = ExponentialAverage[Sigp](TSI)
Hist = TSI - Sig

RETURN TSI AS "TSI", Sig AS "Signal", Hist AS "Histogram",0 AS "Horizontal Line"

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.

User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 2
Gender: Male
Contact:

Postby flinux » Sat Sep 19, 2009 1:50 pm

Can you also post a screenshot of TSI graph ?
So faith, hope, love remain, these three; but the greatest of these is love. - 1 Corinthians 13:13

djevlen
rank: <50 posts
rank: <50 posts
Posts: 10
Joined: Fri Sep 18, 2009 8:28 am
Reputation: 0
Gender: None specified

graph

Postby djevlen » Sat Sep 19, 2009 2:09 pm


User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 2
Gender: Male
Contact:

Postby flinux » Sat Sep 19, 2009 2:32 pm

Ok, I think that the TSI version on AMC is an oscillator.
So I've found on internet TSI-Osc and I've added it the histogram.

Let me know if in this way, is fine.
Attachments
TSI-Osc.mq4
(2.82 KiB) Downloaded 236 times

djevlen
rank: <50 posts
rank: <50 posts
Posts: 10
Joined: Fri Sep 18, 2009 8:28 am
Reputation: 0
Gender: None specified

Postby djevlen » Sat Sep 19, 2009 2:50 pm

You must use the same mathematical function as ACM for the lines.

I have seen before the TSI u have used ...and its just not it

User avatar
flinux
rank: 150+ posts
rank: 150+ posts
Posts: 219
Joined: Wed May 27, 2009 9:52 pm
Reputation: 2
Gender: Male
Contact:

Postby flinux » Sat Sep 19, 2009 3:40 pm

I get it.
Done.
This version is WITHOUT the histogram, because i have to rewrite the indicator to use less than 9 buffers (8 is the mt4 limit).

Hope this time, i'm right :)
Attachments
FLI_TSI.mq4
(2.57 KiB) Downloaded 254 times

Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.


Return to “TheRumpledOne”