Monday, February 16, 2009

Daytrading Osc




/* DT Oscillator
**
** AFL translation by X-Trader
** http://www.x-trader.net
**
*/

PeriodRSI= Param("PeriodRSI", 13, 1, 250, 1);
PeriodStoch=Param("PeriodStoch", 8, 1, 250, 1);
MAType=Param("MAType", 1, 1, 2, 1);
PeriodSK=Param("PeriodSK", 5, 1, 250, 1);
PeriodSD=Param("PeriodSD", 3, 1, 250, 1);
Upper=Param("Upper", 70, 50, 100, 1);
Lower=Param("Lower", 30, 0, 50, 1);


StoRSI= 100*(( RSI( PeriodRSI) - LLV( RSI( PeriodRSI ) , PeriodStoch ) ) / ( ( HHV( RSI( PeriodRSI) , PeriodStoch ) ) - LLV(RSI( PeriodRSI ), PeriodStoch ) ) );

if(MAType==1)
{
SK=MA(StoRSI,PeriodSK);
SD=MA(SK,PeriodSD);
}

if(MAType==2)
{
SK=EMA(StoRSI,PeriodSK);
SD=EMA(SK,PeriodSD);
}

Plot(SK,"DTOscSK",ParamColor( "ColorSK", colorBlue ),styleLine);
Plot(SD,"DTOscSD",ParamColor( "ColorSD", colorBlack ),styleDashed);
Plot(0,"ZeroLine",ParamColor( "ColorZero", colorBlack ),styleLine);
Plot(Upper,"Upper",ParamColor( "ColorUpper", colorRed ),styleLine);
Plot(Lower,"Lower",ParamColor( "ColorLower", colorGreen ),styleLine);

Sunday, February 8, 2009

IBSI countertrend trade system




Three lines converge on 100, it signals a short; coverge on -100 strong buy.

It is based on IBSI and EMA. This signal is pretty sensitive and normally gives you a good timing. You have to put 5% stop loss on it for actual trading. Even you do that, you still have the danger for overnight crash like BSC/Crox, so be careful with it


The code was written in Wealth-Lab



----------------------------------------------------
{$I 'NewMax'}
{#OptVar1 50;5;65;5}

{#OptVar2 30;5;65;5}

{#OptVar3 20;5;65;5}

{#OptVar4 20;5;65;5}
function IBSISeries( Series, Period: integer ): integer;
begin

Result := MultiplySeriesValue(

SumSeries( DivideSeries( SubtractSeries( Series, #Low ),

SubtractSeries( #High, #Low ) ), Period ), 100/Period );

end;
const MA1 = #OptVar1;

const MA2 = #OptVar2;

const MA3 = #OptVar3;

const MA4 = #OptVar4;

var IBSISer,Bar: integer;

var Trend1, Trend2, Trend3, Trendpane: integer;

var Trendlow,Trendhigh,Tbar: integer;
Trend1 := EMASeries( #Close, MA1 );

Trend2 := EMASeries( #Close, MA2 );

Trend3 := EMASeries( #Close, MA3 );

IBSISer := IBSISeries( #Close, 5 );
Trendlow := NewMaxSeries( Trend3, MA4 );

TrendHigh := NewMaxSeries( Trend1, MA4 );

Tbar := NewMaxSeries( IBSISer, MA4 );

PlotSeriesLabel( Trend1, 0, 007, 1, 'EMA-'+IntToStr( MA1 ) );

PlotSeriesLabel( Trend2, 0, 060, 1, 'EMA-'+IntToStr( MA2 ) );

PlotSeriesLabel( Trend3, 0, 500, 1, 'EMA-'+IntToStr( MA3 ) );
TrendPane := CreatePane( 75, true, true );

PlotSeries( Trendlow,TrendPane , 900, 2 );

PlotSeries( Trendhigh, TrendPane, 050, 2 );

PlotSeries( Tbar, TrendPane, 009, 2 );

DrawLabel( 'ISBI Trend', TrendPane );
InstallProfitTarget( 2);
for Bar := 65*3 to BarCount() - 1 do begin ApplyAutoStops( Bar );

if (( Getseriesvalue(bar,Trendlow) = -100) and ( Getseriesvalue(bar,Trendhigh) = -100) and ( Getseriesvalue(bar,Tbar) = -100) ) then BuyAtMarket( Bar + 1, '0' );

end;






Saturday, February 7, 2009

CPC VS ISEE

CPC is measuring intraday VOLUME ratio of put/call option trade. So this volume number includes the trades to open and ones to close. This is why you often see a very high opening reading on CPC when the market gap down and low opening reading when market gap up.ISEE, by definition, is a unique put/call value that only uses opening long customer transactions to calculate bullish/bearish market direction. Opening long transactions are thought to best represent market sentiment because investors often buy call and put options to express their actual market view of a particular stock. Market maker and firm trades, which are excluded, are not considered representative of true market sentiment due to their specialized nature. As such, the ISEE calculation method allows for a more accurate measure of true investor sentiment than traditional put/call ratios.Does that mean CPC is less valuable than ISEE? Of course not. If you have time, pay attention to the divergence btw CPC and ISEE reading, you will find a lot of interesting information about it.Pay attention to accumulative reading, instead of single day reading

Friday, February 6, 2009

An intraday ST strategy combining two STO signals




How to quick swing trade this crazy market



key points

1, pay attention to 15min SMA20的trend,

trending higher, look for buy opportunity, trending lower, look for short opportunity, no trend, no trade.

2, aggressive/conservative entry and exit point

two consecutive candle close up/below SMA20.
look for failed backtest of SMA20

3, leading indicator

StochRSI25 cross over/below 50

4, confirmation indicator

RSI cross over/below 50.

Again, this should be very profitable trades in a trending day.


Thursday, February 5, 2009

It is not about euro, not about oil, not about dollar




Today is not about euro, not about oil, not about dollar, not about BACIf you say that,it is like using DIA to predit SPY move. nobody is leading here.The true leader is Goldman,That is why in the chatroom, I always say, pay attention to AAPL and GS. They are true leader in the market.That is one of the reasons I called to long around 10AM