Simple Coding Help - No Promise.

vol is above 15 pd simple average of vol - trying to filter out low vol occurrence.

actually other filter may be the hi or lo condition

whatever suits u , use that filter

i will try to use the vol filter

ps - is the exploration working for u?

regards
Subroto


Many thanks 4 explanation.

Need more time to study as issues with RT data feeds.

Vl come back with some issues hope u wont mind helping further.:)
 
nothing special in TTTB provided by stockmanic. same as wisestocktrader.
If you need the same AFL i have that.
ocil

I am only interested in its KRA component ... Will you be able to share? Rest I have corrected from wisestock... At the moment, working on adding explorer to it.
Incidentally how is your experience with trend blaster thing....
 
nothing special in TTTB provided by stockmanic. same as wisestocktrader. If you need the same AFL i have that.
Here is the link containing KRA AFL that gets results matching 95% to 98% with the screen shots I have

http://www.traderji.com/amibroker/95791-tttb-t3b-trading-system-5.html#post1044336

Full KRA.AFL that I have approximated is here ...

KRA = (EMA(High + Close, 11) - EMA(Open + Low, 25)) / 2;
KRAS = EMA(KRA, 7);
Cross1 = Cross(KRA,KRAS);
Cross2 = Cross(KRAS,KRA);
KRALongMode = Flip(Cross1,Cross2);
KRAColor = IIf(KRALongMode, colorBlue, colorRed);
KRAPeaked = abs(KRA) >= 0.9 * MA(HHV(KRA, 10), 10);
KRATanked = abs(KRA) <= 0.1 * MA(HHV(KRA, 10), 10);
/////////////////////////////////////////
KRA = EMA(KRA, 15);
////////////////////////////////////////

Plot(KRA, "K Line", KRAColor, styleLeftAxisScale
| styleNoLabel | styleLine | styleThick);
 

hmp

Well-Known Member
Hi
Is there any afl for buy/sell signals with scanning for stochastic' s for daily time frame ?
Conditions for buy/sell are as follows
over sold below 40 ,so buy when turn above.
over bought above 80 , so sell when turn below.
Thanks & regards
 

ocil

Well-Known Member
Below is th KRA AFL.




//SetChartBkColor(ParamColor("BackGround Color", ColorRGB( 234,234,234 )));
VolColor = (C>O OR (C==O AND (H-C)<=(C-L)))*ParamColor ("VUpColor" ,colorBlue) +
(C<O OR (C==O AND (H-C)>(C-L)))*ParamColor( "VDnColor" ,colorRed) ;
VolScale = Param("1/Vol. Height (TimeBar chart)(fraction of window) 5=1/5=20%",2, 1, 100, 1.0) ; // Timebars

Vheight = VolScale;
Plot(Prec(Volume ,0),"V",VolColor, styleNoTitle| styleOwnScale|
ParamStyle( "VStyle", styleHistogram, maskHistogram) ,Vheight );
Plot( ml = MACD( 12, 26), StrFormat("KRA Line"), ParamColor("MACD color", colorGrey50 ), ParamStyle("MACD style", styleOwnScale | styleThick) );


ocil

I am only interested in its KRA component ... Will you be able to share? Rest I have corrected from wisestock... At the moment, working on adding explorer to it.
Incidentally how is your experience with trend blaster thing....
 
Below is th KRA AFL.

//SetChartBkColor(ParamColor("BackGround Color", ColorRGB( 234,234,234 )));
VolColor = (C>O OR (C==O AND (H-C)<=(C-L)))*ParamColor ("VUpColor" ,colorBlue) +
(C<O OR (C==O AND (H-C)>(C-L)))*ParamColor( "VDnColor" ,colorRed) ;
VolScale = Param("1/Vol. Height (TimeBar chart)(fraction of window) 5=1/5=20%",2, 1, 100, 1.0) ; // Timebars

Vheight = VolScale;
Plot(Prec(Volume ,0),"V",VolColor, styleNoTitle| styleOwnScale|
ParamStyle( "VStyle", styleHistogram, maskHistogram) ,Vheight );
Plot( ml = MACD( 12, 26), StrFormat("KRA Line"), ParamColor("MACD color", colorGrey50 ), ParamStyle("MACD style", styleOwnScale | styleThick) );
Ohhh, so the KRA being sold (for free!) by Stock maniacs is ... It is simple MACD with reinforced standard parameters.

Thank you very much for sharing this ocil... .
 
Last edited:

Similar threads