# TTTB or T3B trading System

#### KelvinHand

##### Well-Known Member
Kelvin

Do you have the book named "Secrets of Singapore Trading Gurus" - Alvin Chow?
No. I don't have.
All these secrets cannot deviate from these:
* 3M - Method, Mindset, Money Management.
* 1D - Discipline

#### Nehal_s143

##### Well-Known Member
Here the manual for shared:

#### Nehal_s143

##### Well-Known Member
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
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

#### jamesvd

##### New Member
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

• 43 KB Views: 451

#### peterpeter

##### New Member
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

#### Chaiset

##### New Member
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);

#### mastermind007

##### Well-Known Member
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);