Fave This

Friday, 15 April 2011

Re: [Komunitas AmiBroker] TD Mark Trendline Trading sistem



Oya pak? Woow

Sori emailnya suka ketumpuk jd ga kebaca, hehehehe

Coba sy cari, hehehe,

Thx pak

Powered by Telkomsel BlackBerry®


From: Eco Syariah <esyariah@gmail.com>
Sender: amibroker-4-bei@yahoogroups.com
Date: Sat, 16 Apr 2011 07:58:38 +0700
To: <amibroker-4-bei@yahoogroups.com>
ReplyTo: amibroker-4-bei@yahoogroups.com
Subject: Re: [Komunitas AmiBroker] TD Mark Trendline Trading sistem

 

Mas Rachmat,

Sebaiknya ganti AFL Trendline dgn yang terbaru, karena ada komen Tomasz atas AFL TDTL yang dipakai ini:

Tomasz Janeczko
2009-06-05 16:03:16    The formula is extremely inefficiently written.
IT IS RECOMMENDED NOT USE IT.
It makes unnecessary repeated function calls AND has N*N complexity (where N is number of bars)
making it extremelly inneficient. do NOT use it for anything but very Short EOD databases.


AFL TDTL terbaru ada di Library, bisa juga lihat email-email sebelumnya ttg TDTL di milis ini... seingat saya juga reply ke sampean.

Juga harus DIINGAT... TDTL itu reference to future data, jadi kudu ti-ati makainya.

Thanks,
ES


On Fri, Apr 15, 2011 at 9:29 PM, Rachmat Guntur <broniscoklat78@gmail.com> wrote:
Dear Pak Eco dan para senior2,

bisa tolong bantu pak, juga untuk senior2 lainnya,

saya kesulitan buat peraturan buy jika momentum>100, untuk melengkapi
TD Mark trendline rulenya, berikut saya copas rule nya:

//Set up:

//1- EMA 9, EMA 30, Momentum indicator (draw a horizontal line at the
100 point).

//2- The hourly chart.

//3- Draw a Tom Demark trend line (connecting at least 3 swing High
(OR Low). AND should avoid steep angles

//Entry:

//Enter Buy when the 9 EMA crosses up the 30 EMA AND the momentum line
is above 100. AND price breaks the down trend line.

//(The trend line is our invaluable Filter so make sure you do a lot
of practice with it). Entry should be placed at the opening of the

//new hourly candle after the Cross (to make sure the crossing AND
trend break are real AND to keep away from whipsaw).

//Enter Sell when the 9 EMA crosses down the 30 EMA AND the momentum
line is below 100. AND price breaks the trend line, at

//the new hourly candle after the EMA crossing.

//The EMA crossing can occur before OR after the trend line break.

//Stop: 40 pips (it has to be respected).

//Target: from 40 pips up to 150 pips (depending on pair volatility
AND current situation).

//Move your stop in the direction of trade in steps of 10 pips. When
market reaches 75% of its daily range tighten your stop. When

//you see signs of reversal Close order at market price. When you do
NOT see any signs of reversal get rid of your limit AND follow

//the price very closely with your trailing stop.


Ini AFL hasil dragdrop copas saya pak, hehehehe, pgn nyoba beneran
bisa buat trading ga :p

atas bantuannya sy ucapkan terimakasih

_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g,
Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC(
C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();


_SECTION_BEGIN("Tom De Mark Trendline");
//Set up:

//1- EMA 9, EMA 30, Momentum indicator (draw a horizontal line at the
100 point).

//2- The hourly chart.

//3- Draw a Tom Demark trend line (connecting at least 3 swing High
(OR Low). AND should avoid steep angles

//Entry:

//Enter Buy when the 9 EMA crosses up the 30 EMA AND the momentum line
is above 100. AND price breaks the down trend line.

//(The trend line is our invaluable Filter so make sure you do a lot
of practice with it). Entry should be placed at the opening of the

//new hourly candle after the Cross (to make sure the crossing AND
trend break are real AND to keep away from whipsaw).

//Enter Sell when the 9 EMA crosses down the 30 EMA AND the momentum
line is below 100. AND price breaks the trend line, at

//the new hourly candle after the EMA crossing.

//The EMA crossing can occur before OR after the trend line break.

//Stop: 40 pips (it has to be respected).

//Target: from 40 pips up to 150 pips (depending on pair volatility
AND current situation).

//Move your stop in the direction of trade in steps of 10 pips. When
market reaches 75% of its daily range tighten your stop. When

//you see signs of reversal Close order at market price. When you do
NOT see any signs of reversal get rid of your limit AND follow

//the price very closely with your trailing stop.





/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
       THIS SECTION DRAWS TD TREND LINES */

percent  = 0.01 * 1; /* Adjust this percent as necessary, I use .01 because
FOREX is a 0.0000 number */
firstpointL = 2;
firstpointH = 2;

y0=LastValue(Trough(L,percent,firstpointL));
y1=LastValue(Trough(Ref(L,-1),percent,1));

for( i = 1; i < BarCount AND y0 >= y1; i++ )
{

               firstpointL++;
               y0=LastValue(Trough(L,percent,firstpointL));
}

x0=BarCount - 1 - LastValue(TroughBars(L,percent,firstpointL));
x1=BarCount - 1 - LastValue(TroughBars(Ref(L,-1),percent,1));
LineL = LineArray( x0, y0, x1, y1, 1 );
/*
Plot(C, "C", colorBlack, styleCandle);
*/
Plot( LineL, " Support Trend line", colorWhite,4 +8 );


yt0=LastValue(Peak(H,percent,firstpointH));
yt1=LastValue(Peak(Ref(H,-1),percent,1));

for(i = 1; i < BarCount AND yt0 <= yt1; i++ )
{

               firstpointH++;
               yt0=LastValue(Peak(H,percent,firstpointH));
}
xt0=BarCount - 1 - LastValue(PeakBars(H,percent,firstpointH));
xt1=BarCount - 1 - LastValue(PeakBars(Ref(H,-1),percent,1));
LineH = LineArray( xt0, yt0, xt1, yt1, 1 );

Plot( LineH, "Resistance Trend line", colorBrown,4 + 8 );

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

breakoutresist =  C>LineH;

//breakoutresist = Ref(C,-1)<LineH AND C>LineH;
/* Buy and Sell */

Buy = Cross( EMA( Close, 9 ), EMA( Close, 30 ) )AND breakoutresist;


/* Exploration Columns for Sorting */

NumColumns = 2;

Column0 = C;
Column1 = LineH;



Column0Name = "Price";
Column1Name = "Breakout Resist";



Column0Format = 1.0;
Column1Format = 1.8;




/* Filter */

Filter = Buy;







//============== Plot Shape ==============
PlotShapes (Buy*shapeUpArrow, colorLime, 0, Low, Offset=-12);
_SECTION_END();

_SECTION_BEGIN("EMA1");
P = ParamField("Price field",-1);
Periods = Param("Periods", 9 );
Plot( EMA( P, Periods ),_DEFAULT_NAME(), ParamColor( "Color",
colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("EMA2");
P = ParamField("Price field",-1);
Periods = Param("Periods", 30);
Plot( EMA( P, Periods ),_DEFAULT_NAME(), ParamColor( "Color",
colorCycle ), ParamStyle("Style") );
_SECTION_END();


_SECTION_BEGIN("Momentum");
function Momentum( array, period )
{
 return array - Ref( array, -period );
}

//Plot( Momentum( ParamField( "Field" ), Param("Period", 10, 1, 100 ) ),
//              _DEFAULT_NAME(), ParamColor("Color", ColorCycle ) );

//PlotGrid(100,colorRed);



_SECTION_END();


------------------------------------

Apabila membutuhkan software AmiBroker, Realtime Intraday Data & Pelatihan silahkan kontak : Dendo Valentino | Cell : 08159304868 | e-mail: amibrokerfreak{at}yahoo.co.id | YM id : dendov | http://www.facebook.com/dendo.amibrokerfreak | http://www.amibroker-4-bei.org

Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/amibroker-4-bei/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/amibroker-4-bei/join
   (Yahoo! ID required)

<*> To change settings via email:
   amibroker-4-bei-digest@yahoogroups.com
   amibroker-4-bei-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
   amibroker-4-bei-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/




__._,_.___


Apabila membutuhkan software AmiBroker, Realtime Intraday Data & Pelatihan silahkan kontak : Dendo Valentino | Cell : 08159304868 | e-mail: amibrokerfreak{at}yahoo.co.id | YM id : dendov | http://www.facebook.com/dendo.amibrokerfreak | http://www.amibroker-4-bei.org





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

No comments:

Post a Comment