TTTB or T3B trading System

Nehal_s143

Well-Known Member
#54
found TSI similar to KRA, infect early signal the KRA

Code:
_SECTION_BEGIN("TSI");

r = Param( "TSI period 'R':", 25, 1, 100, 1 );
s = Param( "TSI period 'S':", 13, 1, 100, 1 );
u = Param( "TSI period 'U':", 1, 1, 100, 1 );
sig = Param( "Signal period:", 7, 1, 100, 1 );
 
Mtm = C - Ref ( C, -1 );
AbsMtm = abs ( Mtm );
Num_T = EMA ( EMA( EMA ( Mtm, r ), s ), u );
Den_T = EMA ( EMA( EMA ( AbsMtm, r ), s ), u);

TSI = 100 * Nz ( Num_T / Den_T );
TSIL = 100 * Nz ( Num_T / Den_T );

col = IIf( TSIL > Ref( TSIL, -1 ), colorGreen, colorRed );
Plot( TSIL, "TSI("+r+","+s+","+u+")", col, styleLine | styleThick);
col = IIf( EMA(TSI,sig) > Ref( EMA(TSI,sig), -1 ), colorGreen, colorRed );
Plot(0,"ZeroLine",ParamColor( "ColorZero", colorBlueGrey ),styleLine);

_SECTION_END();
 

hmp

Well-Known Member
#55
found TSI similar to KRA, infect early signal the KRA

Code:
_SECTION_BEGIN("TSI");

r = Param( "TSI period 'R':", 25, 1, 100, 1 );
s = Param( "TSI period 'S':", 13, 1, 100, 1 );
u = Param( "TSI period 'U':", 1, 1, 100, 1 );
sig = Param( "Signal period:", 7, 1, 100, 1 );
 
Mtm = C - Ref ( C, -1 );
AbsMtm = abs ( Mtm );
Num_T = EMA ( EMA( EMA ( Mtm, r ), s ), u );
Den_T = EMA ( EMA( EMA ( AbsMtm, r ), s ), u);

TSI = 100 * Nz ( Num_T / Den_T );
TSIL = 100 * Nz ( Num_T / Den_T );

col = IIf( TSIL > Ref( TSIL, -1 ), colorGreen, colorRed );
Plot( TSIL, "TSI("+r+","+s+","+u+")", col, styleLine | styleThick);
col = IIf( EMA(TSI,sig) > Ref( EMA(TSI,sig), -1 ), colorGreen, colorRed );
Plot(0,"ZeroLine",ParamColor( "ColorZero", colorBlueGrey ),styleLine);

_SECTION_END();
How to scan/explore?
Thanks & regards
 
#57
Came across number of AFLs for TTTB/T3B system across the web. I have setup 2 of these wherein Peaks & Troughs are slightly different. As I am new to this system am unsure which is the actual. Request forum members to please help me identify whether it is top one in the image or the bottom one, it is daily chart for ITC for last 3 mths. Thanx in advance
 

Attachments

#58
Kevin master,
could you share your afl from the picture u attached ?
the one with macdbb, and darkcyan and magenta dotted stops,
plus the one below with colored buy and sell ribbons
 
#59
New high = H > HHV(Ref(H,-1),240);
accVol =MA(V,125);

PeakLine = ValueWhen(
H>=Ref(H,-1) AND
H>=Ref(H,1) AND
H>=Ref(H,2) AND
H>=Ref(H,3) AND
H>L , H);

TroughLine = ValueWhen(
L<=Ref(L,-1) AND
L<=Ref(L,1) AND
L<=Ref(L,2) AND
L<=Ref(L,3) ,
L);


Plot(PeakLine,"",colorBlue,styleLine);
Plot(TroughLine,"",colorRed,styleLine);
Plot(C,"",colorBlack,styleCandle);

//http://www.traderji.com/amibroker/95791-tttb-t3b-trading-system-4.html
//http://www.wisestocktrader.com/indicators/4483-t3b-or-t-t-t-b
 

mastermind007

Well-Known Member
#60
New high = H > HHV(Ref(H,-1),240);
accVol =MA(V,125);

PeakLine = ValueWhen(
H>=Ref(H,-1) AND
H>=Ref(H,1) AND
H>=Ref(H,2) AND
H>=Ref(H,3) AND
H>L , H);

TroughLine = ValueWhen(
L<=Ref(L,-1) AND
L<=Ref(L,1) AND
L<=Ref(L,2) AND
L<=Ref(L,3) ,
L);


Plot(PeakLine,"",colorBlue,styleLine);
Plot(TroughLine,"",colorRed,styleLine);
Plot(C,"",colorBlack,styleCandle);

//http://www.traderji.com/amibroker/95791-tttb-t3b-trading-system-4.html
//http://www.wisestocktrader.com/indicators/4483-t3b-or-t-t-t-b

Above code will repaint.
 

Similar threads