AMIBROKER: THE TRUTH ABOUT VOLATILITY June 1, 2008
Posted by ilmusaham in Trading System, Useful Tools.Tags: intraday trading, short term trading, Swing Trading, trading volatile market
add a comment
In “The Truth About Volatility,” Jim Berg presents how to use several well-known volatility measures such as average true range (ATR) to calculate entry, trailing stop, and profit-taking levels. Implementing techniques presented in the article is very simple using the AmiBroker Formula Language (Afl), and takes just a few lines of code.
Listing 1 shows the formula that the plots color-coded price chart, trailing stop, and profit-taking lines, as well as a colored ribbon showing volatility-based entry and exit signals. The relative strength index (RSI) used by Berg is a built-in indicator in AmiBroker, so no additional code is necessary. See Figure 3 for an example.
FIGURE: AMIBROKER, VOLATILITY SYSTEM. Here is a sample AmiBroker chart demonstrating the techniques from Jim Berg’s article in this issue.
LISTING 1
EntrySignal = C > ( LLV( L, 20 ) + 2 * ATR( 10 ) );
ExitSignal = C < ( HHV( H, 20 ) – 2 * ATR( 10 ) );
Color = IIf( EntrySignal, colorBlue, IIf( ExitSignal, colorOrange, colorGrey50 ));
TrailStop = HHV( C – 2 * ATR(10), 15 );
ProfitTaker = EMA( H, 13 ) + 2 * ATR(10);
/* plot price chart and stops */
Plot( TrailStop, “Trailing stop”, colorBrown, styleThick | styleLine );
Plot( ProfitTaker, “Profit taker”, colorLime, styleThick );
Plot( C, “Price”, Color, styleBar | styleThick );
/* plot color ribbon */
Plot( 1, “”, Color, styleArea | styleOwnScale | styleNoLabel, -0.1, 50 );
–Tomasz Janeczko, AmiBroker.com
www.amibroker.com
Intraday Trading using Pivot Points May 9, 2008
Posted by ilmusaham in My Corner, Trading Resources, Trading System.Tags: intraday trading, Pivot points trading, short term trading
1 comment so far
Jika anda ingin investasi saham baik saham long/medium term yang anda trading-kan (beli, harga naik kemudian jual, kemudian koreksi dan buyback, dst..)…, anda keluar masuk di saham yang sama.
atau anda ingin menjadi short term trader? dengan saham berbeda-beda, lompat sana – lompat sini, seperti kutu loncat.
Motivasi apa yang melatarbelakngi short term trading?
Pivot points are especially useful to shortterm traders who are looking to take advantage of small price movements.
Sebagai gambaran: Harga saham x =3000, saham tersebut harganya bolak-balik 3000-3100, balik ke 3000 – naik lagi ke 3100, turun lagi ke 3000, balik lagi ke 3100 dan close di 3100.
- Bagi swinger yang swing entri dan exit bisa profit 100+100+100=rp.300. Bagi swinger saham x seolah-olah sudah naik dari 3000 ke 3300 (=3000+300) , gain= 10%.
- Bagi pemain Buy and hold tanpa swing: profit = rp.100, kenaikan harga saham “x” 3000 ke 3100, gain=3.3%.
Short term trading tersebut bagaimana strateginya? Saham apa yang bisa di buy/sell dan di harga berapa buy/sell nya?
Strategi yang bisa di ambil:
- Calculate pivot point and support/resistance levels.
- Determine the direction of the daily and weekly trend.
- Set profit objectives and stops.
- Wait 20 to 30 minutes after the market opens for prices to stabilize.
- Enter long positions if the trend is up and price is turning in an upward direction from the pivot.
- Enter short positions if the trend is down and price is turning in a downward direction from the pivot
Selengkapnya silakan anda implementasikan tutorial berikut, tutorial short term trading system klasik yang simple namun powerful, sehingga anda lebih safe dan tentu saja profit.
Pivot Points by Jayanthi Gopalakrishnan
Untuk memudahkan kalkulasi Pivot Points, jika anda pengguna amibroker silakan menggunakan SUPER PIVOT POINTS.afl sebagai alat bantu penentuan titik-titik pivot, support dan resistannya, afl dapat di download di: http://www.amibroker.com/library/formula.php?id=758
Selamat mencoba,
Budi Wiyono

