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
coding new tsi indicator
Moderator: moderators
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"
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"
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.
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 268 times
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
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 285 times

