Re: [amibroker] Re: User's Guide 5.30 in PDF format?

2010-09-08 Thread Mubashar Virk

 Hi TJ,
There are only a handful of bookmark errors. I fixed my copy in under 5 
minutes.

Thanks for the document.
Regards,
Mav


On 9/8/2010 12:28 PM, Tomasz Janeczko wrote:


Hello,

The PDF is automatically created out of HTML files, it is provided for 
sole purpose of printing only.
Some rare bookmarks may not be in place but they were not added by 
hand only

by automatic conversion from HTML.

For properly bookmarked help file with index and search features use 
User's Guide that was shipped
with AmiBroker (Start-Programs-AmiBroker-Users' Guide) in HTMLHelp 
format.
This help is directly accessible via F1 key from AmiBroker and should 
serve all needs
except printing (although it is possible to print from that help file 
too).


Best regards,
Tomasz Janeczko
amibroker.com

On 2010-09-04 21:00, Mubashar Virk wrote:


The PDF is incorrectly bookmarked.

On 9/4/2010 11:36 PM, windwhupper wrote:



The new PDF Document seems to have a problem. Just go to the Using 
Layers part of the document and you will see what I mean.


Rgds

--- In amibroker@yahoogroups.com 
mailto:amibroker%40yahoogroups.com, Tomasz Janeczko gro...@... 
wrote:


 Hello,

 Available now.

 Best regards,
 Tomasz Janeczko
 amibroker.com

 On 2010-05-28 07:26, Keith McCombs wrote:
 
 
  When should we expect to see the AB 5.30 User's Guide available 
in PDF format?

  I'm looking forward to it.
  Thank you,
  -- Keith
 
 
 










[amibroker] Plotting Arrows on Prices of Pivot Chart

2010-09-06 Thread Mubashar Virk
  HI Reinsley,

I have tried to mark PH  PL with arrows instead of stars in the below
AFL of yours. I tried various combination of plotshape but failed in
every instance. Can you please help?

Thanks,
Mav

--
// pivots and prices
// based on Pramod's comments http://www.amibroker.com/library/detail.php?id=617
// adapted by Reinsley : Prices on Pivot and ajustable digits #
// mod by Sanjiv Bansal : take care of Highs or Lows when two adjacent bars are 
equal
// does not reference to future

SetChartOptions( 0, chartShowDates );

_SECTION_BEGIN( Price );
_N( Title = StrFormat( {{NAME}} - {{INTERVAL}} {{DATE}} \nOp %g, \nHi
%g, \nLo
%g, \nCl %g (%.1f%%) {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 )
) ) );
Plot( C, Close, ParamColor( Color, colorBlack ), styleNoTitle |
styleCandle
  | styleThick );
_SECTION_END();

_SECTION_BEGIN( pivot );
price = ParamToggle( Plot Price, Off|On, 1 );
num = Param( trend, 4, 1, 10, 1 );
dist = 0.5 * ATR( 10 );
rightfig = Param( rightfig , 7, 1, 10, 1 );
xspace = Param( GraphXSpace , 10, 1, 20, 1 );

mHHV = HHV( H, num );
mLLV = LLV( L, num );

FirstVisibleBar = Status( FirstVisibleBar );
Lastvisiblebar = Status( LastVisibleBar );

for ( b = Firstvisiblebar + num; b= Lastvisiblebar AND b  BarCount -
num; b++ )
{
 i = num;
 ml = 0;
 mu = 0;

 while ( i  0 )
 {

 if ( L[b]  L[b+i] )
 {
 ml++;
 }


 if ( H[b]  H[b+i] )
 {
 mu++;
 }

 i--;
 }


 if ( ml == num AND L[B] == mLLV[B] )
 {
 PlotText( \n *\n, b, L[b], colorGreen );

 if ( price == 1 )
 {
 p = StrRight( NumToStr( L[b], 4.1 ), rightfig );
 PlotText( \n\n + p, b - 2 , L[b] , colorGreen );
 }
 }


 if ( mu == num AND H[B] == mHHV[B] )
 {
 PlotText(  *\n, b, H[b], colorRed );

 if ( price == 1 )
 {
 p = StrRight( NumToStr( H[b], 4.1 ), rightfig );
 PlotText( p , b - 2 , H[b] + dist[b] + 1, colorRed );
 }
 }
}
_SECTION_END();



Re: [amibroker] Plotting Arrows on Prices of Pivot Chart

2010-09-06 Thread Mubashar Virk

 Edward,

WOW!
Beautiful!

Edward, the only differece  between your and Reinsley Codes is that 
future is referenced in your code.
But the concept of PH  PL is such that future referencing does not make 
any difference.


Thank you very much for this easy to understand beauty.

Best regards,
Mav


On 9/6/2010 12:18 PM, Edward Pottasch wrote:


hi,
I don't see why you need this complicated code. Code below gives same 
result (arrows included), rgds, Ed

// E.M.Pottasch 09/06/10
SetBarsRequired(*sbrAll*,*sbrAll*);
nbar = Param(nbar,4,2,50,1);

PHigh = *H*  Ref(HHV(*H*,nbar),-1) *AND* Ref(HHV(*H*,nbar),nbar)  *H*;
PHighPrice = ValueWhen(PHigh,*H*);
PLow = *L*  Ref(LLV(*L*,nbar),-1) *AND* Ref(LLV(*L*,nbar),nbar)  *L*;
PLowPrice = ValueWhen(PLow,*L*);

*GraphXSpace* = 5;
SetChartOptions(0, *chartShowDates*);
Plot(*C*,\nLast,*colorWhite*,*styleCandle*);
PlotShapes(*shapeSmallCircle**PLow,*colorGreen*,0,*L*,-10);
PlotShapes(*shapeSmallCircle**PHigh,*colorRed*,0,*H*,10);
PlotShapes(*shapeUpArrow**PLow,*colorGreen*,0,*L*,-25);
PlotShapes(*shapeDownArrow**PHigh,*colorRed*,0,*H*,-25);

*From:* Mubashar Virk mailto:mvir...@gmail.com
*Sent:* Monday, September 06, 2010 8:44 AM
*To:* amibroker@yahoogroups.com mailto:amibroker@yahoogroups.com
*Subject:* [amibroker] Plotting Arrows on Prices of Pivot Chart

HI Reinsley,

I have tried to mark PH PL with arrows instead of stars in the below
AFL of yours. I tried various combination of plotshape but failed in
every instance. Can you please help?

Thanks,
Mav

--
// pivots and prices
// based on Pramod's comments 
http://www.amibroker.com/library/detail.php?id=617

// adapted by Reinsley : Prices on Pivot and ajustable digits #
// mod by Sanjiv Bansal : take care of Highs or Lows when two adjacent 
bars are equal

// does not reference to future

SetChartOptions( 0, chartShowDates );

_SECTION_BEGIN( Price );
_N( Title = StrFormat( {{NAME}} - {{INTERVAL}} {{DATE}} \nOp %g, \nHi
%g, \nLo
%g, \nCl %g (%.1f%%) {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 )
) ) );
Plot( C, Close, ParamColor( Color, colorBlack ), styleNoTitle |
styleCandle
| styleThick );
_SECTION_END();

_SECTION_BEGIN( pivot );
price = ParamToggle( Plot Price, Off|On, 1 );
num = Param( trend, 4, 1, 10, 1 );
dist = 0.5 * ATR( 10 );
rightfig = Param( rightfig , 7, 1, 10, 1 );
xspace = Param( GraphXSpace , 10, 1, 20, 1 );

mHHV = HHV( H, num );
mLLV = LLV( L, num );

FirstVisibleBar = Status( FirstVisibleBar );
Lastvisiblebar = Status( LastVisibleBar );

for ( b = Firstvisiblebar + num; b= Lastvisiblebar AND b BarCount -
num; b++ )
{
i = num;
ml = 0;
mu = 0;

while ( i 0 )
{

if ( L[b] L[b+i] )
{
ml++;
}

if ( H[b] H[b+i] )
{
mu++;
}

i--;
}

if ( ml == num AND L[B] == mLLV[B] )
{
PlotText( \n *\n, b, L[b], colorGreen );

if ( price == 1 )
{
p = StrRight( NumToStr( L[b], 4.1 ), rightfig );
PlotText( \n\n + p, b - 2 , L[b] , colorGreen );
}
}

if ( mu == num AND H[B] == mHHV[B] )
{
PlotText(  *\n, b, H[b], colorRed );

if ( price == 1 )
{
p = StrRight( NumToStr( H[b], 4.1 ), rightfig );
PlotText( p , b - 2 , H[b] + dist[b] + 1, colorRed );
}
}
}
_SECTION_END();






Re: [amibroker] Plotting Arrows on Prices of Pivot Chart

2010-09-06 Thread Mubashar Virk

 Ed,
It was beautiful to begin with. Now, it is absolutely and positively SEXY.
I am amazed at the simplicity of the horizontal-line code.
Thank you very much, sir.
Best regards,
Mav

On 9/6/2010 1:42 PM, Edward Pottasch wrote:

// E.M.Pottasch 09/06/10
SetBarsRequired(*sbrAll*,*sbrAll*);
nbar = Param(nbar,4,2,50,1);

PHigh = *H*  Ref(HHV(*H*,nbar),-1) *AND* Ref(HHV(*H*,nbar),nbar)  *H*;
PHighPrice0 = ValueWhen(PHigh,*H*);
PHighPrice1 = IIf(PHighPrice0 *AND* BarsSince(PHigh)  
nbar,PHighPrice0,*Null*);
PHighPrice2 = IIf(PHighPrice0 *AND* BarsSince(PHigh) = 
nbar,PHighPrice0,*Null*);

PLow = *L*  Ref(LLV(*L*,nbar),-1) *AND* Ref(LLV(*L*,nbar),nbar)  *L*;
PLowPrice0 = ValueWhen(PLow,*L*);
PLowPrice1 = IIf(PLowPrice0 *AND* BarsSince(Plow)  
nbar,PLowPrice0,*Null*);
PLowPrice2 = IIf(PLowPrice0 *AND* BarsSince(Plow) = 
nbar,PLowPrice0,*Null*);


*GraphXSpace* = 5;
SetChartOptions(0, *chartShowDates*);
Plot(*C*,\nLast,*colorWhite*,*styleCandle*);
PlotShapes(*shapeSmallCircle**PLow,*colorGreen*,0,*L*,-10);
PlotShapes(*shapeSmallCircle**PHigh,*colorRed*,0,*H*,10);
PlotShapes(*shapeUpArrow**PLow,*colorGreen*,0,*L*,-25);
PlotShapes(*shapeDownArrow**PHigh,*colorRed*,0,*H*,-25);

Plot(PHighPrice1,\nPHighPrice,*colorOrange*,*styleThick*);
Plot(PHighPrice2,,*colorOrange*,*styleDots* | *styleNoLine*);
Plot(PLowPrice1,\nPLowPrice,*colorBrightGreen*,*styleThick*);
Plot(PLowPrice2,,*colorBrightGreen*,*styleDots* | *styleNoLine*);




Re: [amibroker] Plotting Arrows on Prices of Pivot Chart

2010-09-06 Thread Mubashar Virk

 Ed,
How do you feel about a two-bar wait for PH or PL confirmation.

// E.M.Pottasch 09/06/10
SetBarsRequired(sbrAll,sbrAll);
nbar = Param(nbar,4,2,50,1);
cbar = Param(cbar,2,2,50,1); // wait

PHigh = H  Ref(HHV(H,nbar),-1) AND Ref(HHV(H,nbar),nbar)  H;
PHighPrice0 = ValueWhen(PHigh,H);
PHighPrice1 = IIf(PHighPrice0 AND BarsSince(PHigh)  cbar,PHighPrice0,Null);
PHighPrice2 = IIf(PHighPrice0 AND BarsSince(PHigh) = 
cbar,PHighPrice0,Null);

PLow = L  Ref(LLV(L,nbar),-1) AND Ref(LLV(L,nbar),nbar)  L;
PLowPrice0 = ValueWhen(PLow,L);
PLowPrice1 = IIf(PLowPrice0 AND BarsSince(Plow)  cbar,PLowPrice0,Null);
PLowPrice2 = IIf(PLowPrice0 AND BarsSince(Plow) = cbar,PLowPrice0,Null);

GraphXSpace = 5;
SetChartOptions(0, chartShowDates);
Plot(C,\nLast,colorBlack,styleCandle);
PlotShapes(shapeSmallCircle*PLow,colorGreen,0,L,-10);
PlotShapes(shapeSmallCircle*PHigh,colorRed,0,H,10);
PlotShapes(shapeUpArrow*PLow,colorGreen,0,L,-25);
PlotShapes(shapeDownArrow*PHigh,colorRed,0,H,-25);

Plot(PHighPrice1,\nPHighPrice,colorOrange,styleThick);
Plot(PHighPrice2,,colorOrange,styleDots | styleNoLine);
Plot(PLowPrice1,\nPLowPrice,colorBrightGreen,styleThick);
Plot(PLowPrice2,,colorBrightGreen,styleDots | styleNoLine);

On 9/6/2010 1:42 PM, Edward Pottasch wrote:


1 line was missing:
// E.M.Pottasch 09/06/10
SetBarsRequired(*sbrAll*,*sbrAll*);
nbar = Param(nbar,4,2,50,1);

PHigh = *H*  Ref(HHV(*H*,nbar),-1) *AND* Ref(HHV(*H*,nbar),nbar)  *H*;
PHighPrice0 = ValueWhen(PHigh,*H*);
PHighPrice1 = IIf(PHighPrice0 *AND* BarsSince(PHigh)  
nbar,PHighPrice0,*Null*);
PHighPrice2 = IIf(PHighPrice0 *AND* BarsSince(PHigh) = 
nbar,PHighPrice0,*Null*);

PLow = *L*  Ref(LLV(*L*,nbar),-1) *AND* Ref(LLV(*L*,nbar),nbar)  *L*;
PLowPrice0 = ValueWhen(PLow,*L*);
PLowPrice1 = IIf(PLowPrice0 *AND* BarsSince(Plow)  
nbar,PLowPrice0,*Null*);
PLowPrice2 = IIf(PLowPrice0 *AND* BarsSince(Plow) = 
nbar,PLowPrice0,*Null*);


*GraphXSpace* = 5;
SetChartOptions(0, *chartShowDates*);
Plot(*C*,\nLast,*colorWhite*,*styleCandle*);
PlotShapes(*shapeSmallCircle**PLow,*colorGreen*,0,*L*,-10);
PlotShapes(*shapeSmallCircle**PHigh,*colorRed*,0,*H*,10);
PlotShapes(*shapeUpArrow**PLow,*colorGreen*,0,*L*,-25);
PlotShapes(*shapeDownArrow**PHigh,*colorRed*,0,*H*,-25);

Plot(PHighPrice1,\nPHighPrice,*colorOrange*,*styleThick*);
Plot(PHighPrice2,,*colorOrange*,*styleDots* | *styleNoLine*);
Plot(PLowPrice1,\nPLowPrice,*colorBrightGreen*,*styleThick*);
Plot(PLowPrice2,,*colorBrightGreen*,*styleDots* | *styleNoLine*);

*From:* Edward Pottasch mailto:empotta...@skynet.be
*Sent:* Monday, September 06, 2010 10:40 AM
*To:* amibroker@yahoogroups.com mailto:amibroker@yahoogroups.com
*Subject:* Re: [amibroker] Plotting Arrows on Prices of Pivot Chart

Mav,
I admit I did not plough through the code you posted in detail but it 
seems to me it is unavoidable that future quotes are needed to be able 
to determine that a bottom or top has been found.
below I added a little extension. Only where the horizontal lines are 
solid it does not use future quotes, regards, Ed

// E.M.Pottasch 09/06/10
SetBarsRequired(*sbrAll*,*sbrAll*);
nbar = Param(nbar,4,2,50,1);

PHigh = *H*  Ref(HHV(*H*,nbar),-1) *AND* Ref(HHV(*H*,nbar),nbar)  *H*;
PHighPrice0 = ValueWhen(PHigh,*H*);
PHighPrice1 = IIf(PHighPrice0 *AND* BarsSince(PHigh)  
nbar,PHighPrice0,*Null*);
PHighPrice2 = IIf(PHighPrice0 *AND* BarsSince(PHigh) = 
nbar,PHighPrice0,*Null*);

PLow = *L*  Ref(LLV(*L*,nbar),-1) *AND* Ref(LLV(*L*,nbar),nbar)  *L*;
PLowPrice0 = ValueWhen(PLow,*L*);
PLowPrice1 = IIf(PLowPrice0 *AND* BarsSince(Plow)  
nbar,PLowPrice0,*Null*);
PLowPrice2 = IIf(PLowPrice0 *AND* BarsSince(Plow) = 
nbar,PLowPrice0,*Null*);


*GraphXSpace* = 5;
SetChartOptions(0, *chartShowDates*);
Plot(*C*,\nLast,*colorWhite*,*styleCandle*);
PlotShapes(*shapeSmallCircle**PLow,*colorGreen*,0,*L*,-10);
PlotShapes(*shapeSmallCircle**PHigh,*colorRed*,0,*H*,10);
PlotShapes(*shapeUpArrow**PLow,*colorGreen*,0,*L*,-25);
PlotShapes(*shapeDownArrow**PHigh,*colorRed*,0,*H*,-25);

Plot(PHighPrice1,\nPHighPrice,*colorOrange*,*styleThick*);
Plot(PHighPrice2,,*colorOrange*,*styleDots* | *styleNoLine*);
Plot(PLowPrice1,\nPLowPrice,*colorBrightGreen*,*styleThick*);

*From:* Mubashar Virk mailto:mvir...@gmail.com
*Sent:* Monday, September 06, 2010 10:22 AM
*To:* amibroker@yahoogroups.com mailto:amibroker@yahoogroups.com
*Subject:* Re: [amibroker] Plotting Arrows on Prices of Pivot Chart

Edward,

WOW!
Beautiful!

Edward, the only differece  between your and Reinsley Codes is that 
future is referenced in your code.
But the concept of PH  PL is such that future referencing does not 
make any difference.


Thank you very much for this easy to understand beauty.

Best regards,
Mav


On 9/6/2010 12:18 PM, Edward Pottasch wrote:


hi,
I don't see why you need this complicated code. Code below gives same 
result (arrows included), rgds, Ed

// E.M.Pottasch 09/06/10
SetBarsRequired(*sbrAll*,*sbrAll*);
nbar = Param(nbar,4,2,50,1);

PHigh = *H*  Ref(HHV(*H*,nbar),-1) *AND* Ref(HHV

Re: [amibroker] Req afl code for SAR use in best way for intraday trading

2010-09-05 Thread Mubashar Virk
  HI Reinsley,
I have tried to mark PH  PL with arrows instead of stars in the below 
AFL of yours. I tried various combination of plotshape but failed in 
every instance. Can you please help?
Thanks,
Mav

--
// pivots and prices
// based on Pramod's comments 
http://www.amibroker.com/library/detail.php?id=617
// adapted by Reinsley : Prices on Pivot and ajustable digits #
// mod by Sanjiv Bansal : take care of Highs or Lows when two adjacent 
bars are equal
// does not reference to future

SetChartOptions( 0, chartShowDates );

_SECTION_BEGIN( Price );
_N( Title = StrFormat( {{NAME}} - {{INTERVAL}} {{DATE}} \nOp %g, \nHi 
%g, \nLo
%g, \nCl %g (%.1f%%) {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) 
) ) );
Plot( C, Close, ParamColor( Color, colorBlack ), styleNoTitle | 
styleCandle
  | styleThick );
_SECTION_END();

_SECTION_BEGIN( pivot );
price = ParamToggle( Plot Price, Off|On, 1 );
num = Param( trend, 4, 1, 10, 1 );
dist = 0.5 * ATR( 10 );
rightfig = Param( rightfig , 7, 1, 10, 1 );
xspace = Param( GraphXSpace , 10, 1, 20, 1 );

mHHV = HHV( H, num );
mLLV = LLV( L, num );

FirstVisibleBar = Status( FirstVisibleBar );
Lastvisiblebar = Status( LastVisibleBar );

for ( b = Firstvisiblebar + num; b = Lastvisiblebar AND b  BarCount - 
num; b++ )
{
 i = num;
 ml = 0;
 mu = 0;

 while ( i  0 )
 {

 if ( L[b]  L[b+i] )
 {
 ml++;
 }


 if ( H[b]  H[b+i] )
 {
 mu++;
 }

 i--;
 }


 if ( ml == num AND L[B] == mLLV[B] )
 {
 PlotText( \n *\n, b, L[b], colorGreen );

 if ( price == 1 )
 {
 p = StrRight( NumToStr( L[b], 4.1 ), rightfig );
 PlotText( \n\n + p, b - 2 , L[b] , colorGreen );
 }
 }


 if ( mu == num AND H[B] == mHHV[B] )
 {
 PlotText(  *\n, b, H[b], colorRed );

 if ( price == 1 )
 {
 p = StrRight( NumToStr( H[b], 4.1 ), rightfig );
 PlotText( p , b - 2 , H[b] + dist[b] + 1, colorRed );
 }
 }
}
_SECTION_END();


Re: [amibroker] Re: User's Guide 5.30 in PDF format?

2010-09-04 Thread Mubashar Virk

 The PDF is incorrectly bookmarked.

On 9/4/2010 11:36 PM, windwhupper wrote:



The new PDF Document seems to have a problem. Just go to the Using 
Layers part of the document and you will see what I mean.


Rgds

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Tomasz Janeczko gro...@... wrote:


 Hello,

 Available now.

 Best regards,
 Tomasz Janeczko
 amibroker.com

 On 2010-05-28 07:26, Keith McCombs wrote:
 
 
  When should we expect to see the AB 5.30 User's Guide available in 
PDF format?

  I'm looking forward to it.
  Thank you,
  -- Keith
 
 
 







Re: [amibroker] Data Window?

2010-09-04 Thread Mubashar Virk

 View  Data Window

On 9/5/2010 12:36 AM, blackcat54 wrote:


Is there some kind of data window feature that will display indicator 
and price values when you mouse over them?

Thanks





Re: [amibroker] Re:How to count tomorow RSI ?.

2010-09-03 Thread Mubashar Virk

 Here is a stupid question.

What is the utility of a next-bar Indicator?

On 9/3/2010 6:07 PM, Carl Vanhaesendonck wrote:


Reverse engineer RSI posted earlier:

_SECTION_BEGIN(RSI_Next_Bar);



// Reverse Engineer RSI



Value_Exit_Long = Param(RSI ExitLong, 70, 1, 100, 0.1 );

Value_Exit_Short = Param(RSI ExitShort, 30, 1, 100, 0.1 );

WildPer = Param(Time periods, 2, 1, 100 );

ExpPer = 2 * WildPer - 1;

AUC = EMA( Max( *C* - Ref( *C*, -1 ), 0 ), ExpPer );

ADC = EMA( Max( Ref( *C*, -1 ) - *C*, 0 ), ExpPer );

long_x = (WildPer - 1) * ( ADC * Value_Exit_Long / 
(100-Value_Exit_Long) - AUC);


long_RevEngRSI = IIf( long_x = 0, *C* + long_x, *C* + long_x * 
(100-Value_Exit_Long)/Value_Exit_Long );


short_x = (WildPer - 1) * ( ADC * Value_Exit_short / 
(100-Value_Exit_short) - AUC);


short_RevEngRSI = IIf( short_x = 0, *C* + short_x, *C* + short_x * 
(100-Value_Exit_short)/Value_Exit_short );


Plot( *Close*, Date()+, Close , *colorBlack*, *styleCandle* );

Plot( long_RevEngRSI,LongRevEng. RSI( +WriteVal(WildPer,1.0)+, 
+WriteVal(Value_exit_long, 1.2)+ ),*colorGreen* );


Plot( short_RevEngRSI,ShortRevEng. RSI( +WriteVal(WildPer,1.0)+, 
+WriteVal(Value_exit_short, 1.2)+ ),*colorRed* );


_SECTION_END();






Re: [amibroker] AFL Help needed

2010-08-29 Thread Mubashar Virk

 On 8/29/2010 8:29 AM, arun wrote:



Dear All

Assistance required from the experts... Can any one pls make an AFL 
for me with
which i can back test, explore and scan and get buy sell signal alerts 



Rules are as below

Long Entries

The Buy Setup

1. The 5-day MA has crossed above the 20-day MA


AA = CROSS (MA(C,5), MA(C,20));


2. The 20-day MA is sloping up


BB = MA(C,20)  ref(MA(C,20,-1);


3. The 5-day SlowK having reached below 30 then crosses above the SlowD


CC = STOCHK(5)  30 AND CROSS(STOCHK(), STOCHD());


4. MACD crossover signal from below


DD = CROSS (MACD(), SIGNAL());


5. RSI- 15 reached below 30 and rise back and cross 30.


EE = CROSS (RSI(15),30);

BUY = AA AND BB AND CC AND DD AND EE;






Short Entries

The Sell Setup

1. The 5-day MA has crossed below the 20-day MA
2. The 20-day MA is sloping down
3. The 5-day SlowK having reached above 70 then crosses below the SlowD
4. MACD crossover signal from above
5. RSI- 15 reached above 70 and fall below 70

Exits - Money Management Stop

Money risk per position should not be more than 2 percent of initial 
account
size inclusive of commission and slippage. This means that in the 
event that a
position turns out wrong, the position would be stopped out with a 
loss that is

not more than US$400 (US$20,000 X 0.02) per contract.

Exits - Profit Protection Trailing Stop

While the initial money management stop take care of the initial money 
risk,
this will drop out once the position has accumulated an unrealized 
profit of
US$2,500 (100-tic). A profit protection trailing stop takes over to 
protect the

unrealized profit to the amount of 80 percent. This means that if maximum
unrealized profit were to drop by 20 percent, the trailing stop 
automatically

exit us out of the position.

Thanking u in advance

regards

Arun






Re: [amibroker] Digital indicators FATL, SATL,....

2010-08-26 Thread Mubashar Virk
 Shoot! It was late at night and English is my fourth language only. 
The second line of my last reply does not read well. It should have been:


I understand what you mean by how plain old FIR (finite impulse 
response) can be proprietary, and I agree.


On 8/26/2010 6:05 AM, Tomasz Janeczko wrote:


Hello,

I could package bread and butter, and sell it. But I can not claim 
any intellectual rights to it. This is the point.


This indicator is not different that say MA(16). It is well-known 
formula (yes simple moving average
is also FIR filter!)  plus arbitrarily selected parameter (16). 
Nothing more.


There are many freeware IIR and FIR design programs (even on line 
like this:

http://www-users.cs.york.ac.uk/~fisher/mkfilter/
that allow you to enter cutoff frequency, passband ripple, etc
and so on and the result is just the set of coefficients, and even 
C-source code ! so everybody can come up with zillions of

such inventions in a matter of 5 seconds.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-08-26 00:41, Mubashar Virk wrote:


Hi,

I did not say you added them. I just said you may/might remove them.

I understand what you mean plain old FIR (finite impulse response) 
can be proprietary, and I agree.


However, there are lots of guys out there busy packaging the open 
stuff into neural-networks and other number generators, and selling 
them as there own.  Fin-Ware is one of the guys. They sell FATL, 
SATL, etc. and the numbers/indicators generator software. Hence, the 
assumption that they are (or may be) proprietary.


http://www.fin-ware.com/indicators.html

Regards,
Mav

PS: Is it DeMark who own a copyright on OHLC. ;)



On 8/26/2010 1:35 AM, Tomasz Janeczko wrote:


Hello,

The original poster (soni67c) added them.

With regards to 'proprietary' claim - could you explain?
I don't think that a plain old FIR (finite impulse response) can be 
proprietary,

and the formula in question is nothing more than basic FIR filter.

http://en.wikipedia.org/wiki/Finite_impulse_response

Z-transform (which is core idea behind
digital filters like FIR) was introduced in 1952 (Ragazzini  Zadeh).
Applications to sampled data systems are known from 1955 (Lago, G.V)
1958 (Jury)

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-08-25 21:08, Mubashar Virk wrote:


Who posted them?
Fin-ware!
If not then TJ may have to take them out. These are proprietary 
(and not for public disclosure), I think.


On 8/25/2010 11:48 PM, soni67c wrote:


Dear members,
This is to notify that INDICATORS for FATL,SATL,RFTL,RSTL has been 
posted in AB Library .

Thank you











Re: [amibroker] Re: Digital indicators FATL, SATL,....

2010-08-26 Thread Mubashar Virk

  :-)

On 8/26/2010 5:37 PM, booker_1324 wrote:


It should have been:

I understand what you mean by I don't think that a plain old FIR 
(finite impulse response) can be proprietary, and I agree.


--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 Shoot! It was late at night and English is my fourth language only.
 The second line of my last reply does not read well. It should have 
been:


 I understand what you mean by how plain old FIR (finite impulse
 response) can be proprietary, and I agree.

 On 8/26/2010 6:05 AM, Tomasz Janeczko wrote:
 
  Hello,
 
  I could package bread and butter, and sell it. But I can not claim
  any intellectual rights to it. This is the point.
 
  This indicator is not different that say MA(16). It is well-known
  formula (yes simple moving average
  is also FIR filter!) plus arbitrarily selected parameter (16).
  Nothing more.
 
  There are many freeware IIR and FIR design programs (even on line
  like this:
  http://www-users.cs.york.ac.uk/~fisher/mkfilter/ 
http://www-users.cs.york.ac.uk/%7Efisher/mkfilter/

  that allow you to enter cutoff frequency, passband ripple, etc
  and so on and the result is just the set of coefficients, and even
  C-source code ! so everybody can come up with zillions of
  such inventions in a matter of 5 seconds.
 
  Best regards,
  Tomasz Janeczko
  amibroker.com
 
  On 2010-08-26 00:41, Mubashar Virk wrote:
 
  Hi,
 
  I did not say you added them. I just said you may/might remove them.
 
  I understand what you mean plain old FIR (finite impulse response)
  can be proprietary, and I agree.
 
  However, there are lots of guys out there busy packaging the open
  stuff into neural-networks and other number generators, and 
selling

  them as there own. Fin-Ware is one of the guys. They sell FATL,
  SATL, etc. and the numbers/indicators generator software. Hence, the
  assumption that they are (or may be) proprietary.
 
  http://www.fin-ware.com/indicators.html
 
  Regards,
  Mav
 
  PS: Is it DeMark who own a copyright on OHLC. ;)
 
 
 
  On 8/26/2010 1:35 AM, Tomasz Janeczko wrote:
 
  Hello,
 
  The original poster (soni67c) added them.
 
  With regards to 'proprietary' claim - could you explain?
  I don't think that a plain old FIR (finite impulse response) can be
  proprietary,
  and the formula in question is nothing more than basic FIR filter.
 
  http://en.wikipedia.org/wiki/Finite_impulse_response
 
  Z-transform (which is core idea behind
  digital filters like FIR) was introduced in 1952 (Ragazzini  
Zadeh).

  Applications to sampled data systems are known from 1955 (Lago, G.V)
  1958 (Jury)
 
  Best regards,
  Tomasz Janeczko
  amibroker.com
 
  On 2010-08-25 21:08, Mubashar Virk wrote:
 
  Who posted them?
  Fin-ware!
  If not then TJ may have to take them out. These are proprietary
  (and not for public disclosure), I think.
 
  On 8/25/2010 11:48 PM, soni67c wrote:
 
  Dear members,
  This is to notify that INDICATORS for FATL,SATL,RFTL,RSTL has 
been

  posted in AB Library .
  Thank you
 
 
 
 







Re: [amibroker] Digital indicators FATL, SATL,....

2010-08-25 Thread Mubashar Virk

 Who posted them?
Fin-ware!
If not then TJ may have to take them out. These are proprietary (and not 
for public disclosure), I think.


On 8/25/2010 11:48 PM, soni67c wrote:


Dear members,
This is to notify that INDICATORS for FATL,SATL,RFTL,RSTL has been 
posted in AB Library .

Thank you






Re: [amibroker] Digital indicators FATL, SATL,....

2010-08-25 Thread Mubashar Virk

 Hi,

I did not say you added them. I just said you may/might remove them.

I understand what you mean plain old FIR (finite impulse response) can 
be proprietary, and I agree.


However, there are lots of guys out there busy packaging the open stuff 
into neural-networks and other number generators, and selling them as 
there own.  Fin-Ware is one of the guys. They sell FATL, SATL, etc. and 
the numbers/indicators generator software. Hence, the assumption that 
they are (or may be) proprietary.


http://www.fin-ware.com/indicators.html

Regards,
Mav

PS: Is it DeMark who own a copyright on OHLC. ;)



On 8/26/2010 1:35 AM, Tomasz Janeczko wrote:


Hello,

The original poster (soni67c) added them.

With regards to 'proprietary' claim - could you explain?
I don't think that a plain old FIR (finite impulse response) can be 
proprietary,

and the formula in question is nothing more than basic FIR filter.

http://en.wikipedia.org/wiki/Finite_impulse_response

Z-transform (which is core idea behind
digital filters like FIR) was introduced in 1952 (Ragazzini  Zadeh).
Applications to sampled data systems are known from 1955 (Lago, G.V)
1958 (Jury)

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-08-25 21:08, Mubashar Virk wrote:


Who posted them?
Fin-ware!
If not then TJ may have to take them out. These are proprietary (and 
not for public disclosure), I think.


On 8/25/2010 11:48 PM, soni67c wrote:


Dear members,
This is to notify that INDICATORS for FATL,SATL,RFTL,RSTL has been 
posted in AB Library .

Thank you









Re: [amibroker] Re: Getting weird negative prices in AA backtests.

2010-08-25 Thread Mubashar Virk
 Funny! I got the same negative prices error while exploring with a 
formula that did not have ATR. Negative prices were limited to 5 
securities only and for a few Saturdays  Sundays (!) of February 2003. 
I checked my MetaStock detabase, which is the source for my AB database. 
It was fine. Went back to AB and tried to find what may have caused the 
error. Did not find anything. So deleted the securities and all the 
qoutes from AB. Performed a fresh Import from MetaStock. All is fine 
now. Strange.




On 8/26/2010 2:37 AM, radmobile_radmobile wrote:


just a follow up so others can know solution to this problem i was having.

support finally got back to me, it turns out that if you use atr 
inside of an applystop, you must specify within the relevant 
buy/sell/short/cover commands to wait for the length of the specified 
atr, so in my case i had to add: barindex()173 in to my short command


-rm

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
radmobile_radmobile dan...@... wrote:


 I am running the latest build of AB, and am noticing a strange 
problem where AA shows certain exit prices as negative.


 Please see this screen shot. 
http://easycaptures.com/fs/uploaded/420/4977805058.png

 Clearly there was no negative price for the bar showing.

 This appears to have something to do with how I am implementing stops.
 I am using ATR inside my stops code in a short only system based on 
daily OHLC data. The system trades on the open and exits same day on 
close. When I put a fixed value such as 1.50 the problem does not happen.


 SetTradeDelays(0,0,1,0);
 SetOption(ActivateStopsImmediately,1); // used when trading next 
day at open and want stops to be hit immediately as in intraday

 SetOption(AllowSameBarExit,1);
 ShortPrice=Open;
 CoverPrice=Close;
 Maxp=3;//3
 SetOption(MaxOpenPositions, Maxp);

 Short = rsi(2)=90;//just for example
 Cover = 1;

 //uses ref-1 for stops and score to avoid look-ahead bias
 ApplyStop(0,2,ref(1.09 *ATR(173),-1) ,1); // the culprit, negative 
price problem disappears if I replace ATR with a fixed value


 PositionScore = Ref(rsi(10),-1) -100 ;
 SetPositionSize(150/Maxp,spsPercentOfEquity);



 For some reason I am getting stopped out on phantom prices... Very 
strange. I have double checked my price data through an exploration of 
all data(there are no negative prices), re-downloaded everything from 
yahoo through amiquote, and switched between several different 
databases but the problem persists.


 I need some help trouble shooting this.
 Thanks for your time and consideration.
 -rm







Re: [amibroker] Re: Smoothed rate of change indicator

2010-08-24 Thread Mubashar Virk

 Hi Denis,

It is a one-plot only indicator, calculated in two steps . See Ara's 
reply and add


Plot(ROCxma, SROC, colorred);

On 8/24/2010 6:57 PM, reinsley wrote:



??

Plot(ROCxma, _DEFAULT_NAME(), colorRed, styleLine);
Plot(EMAclose, _DEFAULT_NAME(), colorBlue, styleLine);

Best regards

Le 24/08/2010 10:05, Dennis O'Flynn a écrit :

Thanks for the replies to date, but I'm looking for 2 plots, not 1 
resultant.


Sorry if that was not clear.

The first is the 13 day XMA close
Second is the 21 day ROC of the XMA.

cheers

Dennis








[amibroker] Date of a Past Price Bar

2010-08-24 Thread Mubashar Virk
  Hi All,
I need a little help with the following.

These Lines:
/
_N( tname = Name() );
HighestV = Highest( Close );
HighestS = HighestBars ( Close );
printf (tname +  saw a highest Close of  + WriteVal(HighestV, 1.2) + 
,+ WriteVal(HighestS, 1.0) + -bars ago.);
///

Gives me:
XYZ saw a highest Close of 1234.56,  50-bars ago.

QUESTION: What do I need to add at the end of the code to get the 
following line:
XYZ saw a highest Close of 1234.56,  50-bars ago on 12/12/2009.

Thanks,


Re: [amibroker] Re: Date of a Past Price Bar

2010-08-24 Thread Mubashar Virk

 Mike,
Thank you very much.

On 8/25/2010 4:03 AM, Mike wrote:


Try this:

printf (tname +  saw a highest Close of  + WriteVal(HighestV, 1.2) + 
,  + WriteVal(HighestS, 1.0) + -bars ago on  + 
NumToStr(ValueWhen(Close == HighestV, DateTime()), formatDateTime));


Mike

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 Hi All,
 I need a little help with the following.

 These Lines:
 /
 _N( tname = Name() );
 HighestV = Highest( Close );
 HighestS = HighestBars ( Close );
 printf (tname +  saw a highest Close of  + WriteVal(HighestV, 1.2) +
 ,  + WriteVal(HighestS, 1.0) + -bars ago.);
 ///

 Gives me:
 XYZ saw a highest Close of 1234.56, 50-bars ago.

 QUESTION: What do I need to add at the end of the code to get the
 following line:
 XYZ saw a highest Close of 1234.56, 50-bars ago on 12/12/2009.

 Thanks,







Re: [amibroker] what is the difference between these two code lines

2010-08-21 Thread Mubashar Virk

 Both lines cover the the latest/or the last cross.

First line buys if/when(ever) Close is greater than 13- bar EMA of the 
Close.

Second lines buys when close last crossed over the 13-bar EMA of the Close.

If you are looking for the last cross only then use second line.



On 8/21/2010 10:34 PM, kin ford7 wrote:


hi friends
what is difference between buy signals below given
buy = c ema(c,13);
or buy =cross(c,ema(c,13);
To get latest cross over which is better
please help
ford







Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore

2010-08-18 Thread Mubashar Virk

 Hi All,

There is an error in the following code that I am somehow not able to 
fix. While running the explorer The Score and Trend columns match 
till I get a score of -60. the corresponding Trend colums show a 
blank instead of showing downtrend.


I have highlighted the possible error area in bold. Please help.



//uptrend
event1 = IIf(C  MA(C,20),20,0);
event3 = IIf(CMA(C,50),35,0);
event5 = IIf(CMA(C,200),45,0);

// downtrend
event2 = IIf(C  MA(C,20),-20,0);
event4 = IIf(C  MA(C,50),-35,0);
event6 = IIf(C  MA(C,200),-45,0);

totalscore = event1 + event2 + event3 + event4 + event5 + event6;

//Plot(totalscore,  , colorRed);

Filter = 1;

AddColumn (totalscore , Score, 1.0);

*StrongUpTrend = totalscore == 100;
Neutral = (totalscore  -40 AND totalscore  40);
Uptrend = (totalscore  40 AND totalscore = 99);
DownTrend = (totalscore  -40 AND totalscore = -99);
StrongDownTrend = totalscore == -100;*


Trend =
WriteIf(StrongUpTrend , Strong UpTrend ,
WriteIf(Neutral , Neutral ,
WriteIf(Uptrend , Uptrend ,
WriteIf(DownTrend , DownTrend ,
WriteIf(StrongDownTrend , Strong DownTrend,
);

AddTextColumn(Trend, Trend, 5.6);
//


On 8/8/2010 4:35 PM, Mubashar Virk wrote:

Hi Ford,
I think I have removed the silly error now. Please see the attachments.
I am an EOD Trader and this scoring idea seems nice to me.
Mav


On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com 
mailto:amibroker%40yahoogroups.com, Mubashar Virk mvir...@... wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND
 totalscore = 40, Neutral, // this argument needs to be written more
 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day or 
anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or neutral
 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 









Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore

2010-08-18 Thread Mubashar Virk

  :-)

On 8/19/2010 6:15 AM, Keith McCombs wrote:


DownTrend = (totalscore  -40 AND totalscore **= -99);

On 8/18/2010 20:32, Mubashar Virk wrote:


Hi All,

There is an error in the following code that I am somehow not able to 
fix. While running the explorer The Score and Trend columns match 
till I get a score of -60. the corresponding Trend colums show a 
blank instead of showing downtrend.


I have highlighted the possible error area in bold. Please help.



//uptrend
event1 = IIf(C  MA(C,20),20,0);
event3 = IIf(CMA(C,50),35,0);
event5 = IIf(CMA(C,200),45,0);

// downtrend
event2 = IIf(C  MA(C,20),-20,0);
event4 = IIf(C  MA(C,50),-35,0);
event6 = IIf(C  MA(C,200),-45,0);

totalscore = event1 + event2 + event3 + event4 + event5 + event6;

//Plot(totalscore,  , colorRed);

Filter = 1;

AddColumn (totalscore , Score, 1.0);

*StrongUpTrend = totalscore == 100;
Neutral = (totalscore  -40 AND totalscore  40);
Uptrend = (totalscore  40 AND totalscore = 99);
DownTrend = (totalscore  -40 AND totalscore = -99);
StrongDownTrend = totalscore == -100;*


Trend =
WriteIf(StrongUpTrend , Strong UpTrend ,
WriteIf(Neutral , Neutral ,
WriteIf(Uptrend , Uptrend ,
WriteIf(DownTrend , DownTrend ,
WriteIf(StrongDownTrend , Strong DownTrend,
);

AddTextColumn(Trend, Trend, 5.6);
//


On 8/8/2010 4:35 PM, Mubashar Virk wrote:


Hi Ford,
I think I have removed the silly error now. Please see the attachments.
I am an EOD Trader and this scoring idea seems nice to me.
Mav


On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com 
mailto:amibroker%40yahoogroups.com, Mubashar Virk mvir...@... 
wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND
 totalscore = 40, Neutral, // this argument needs to be written 
more

 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day or 
anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or neutral
 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 












Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore

2010-08-18 Thread Mubashar Virk

 Yes, you're absolutely right.
Thanks.

On 8/19/2010 7:33 AM, Keith McCombs wrote:


BTW, you're going to have a similar problem when totalscore is exactly 
40 or -40.
Also I would use  -100 and  100, just to cover all possibilities (if 
later code modifications make fractional totalscores possible).


On 8/18/2010 21:29, Mubashar Virk wrote:


:-)

On 8/19/2010 6:15 AM, Keith McCombs wrote:


DownTrend = (totalscore  -40 AND totalscore **= -99);

On 8/18/2010 20:32, Mubashar Virk wrote:


Hi All,

There is an error in the following code that I am somehow not able 
to fix. While running the explorer The Score and Trend columns 
match till I get a score of -60. the corresponding Trend colums 
show a blank instead of showing downtrend.


I have highlighted the possible error area in bold. Please help.



//uptrend
event1 = IIf(C  MA(C,20),20,0);
event3 = IIf(CMA(C,50),35,0);
event5 = IIf(CMA(C,200),45,0);

// downtrend
event2 = IIf(C  MA(C,20),-20,0);
event4 = IIf(C  MA(C,50),-35,0);
event6 = IIf(C  MA(C,200),-45,0);

totalscore = event1 + event2 + event3 + event4 + event5 + event6;

//Plot(totalscore,  , colorRed);

Filter = 1;

AddColumn (totalscore , Score, 1.0);

*StrongUpTrend = totalscore == 100;
Neutral = (totalscore  -40 AND totalscore  40);
Uptrend = (totalscore  40 AND totalscore = 99);
DownTrend = (totalscore  -40 AND totalscore = -99);
StrongDownTrend = totalscore == -100;*


Trend =
WriteIf(StrongUpTrend , Strong UpTrend ,
WriteIf(Neutral , Neutral ,
WriteIf(Uptrend , Uptrend ,
WriteIf(DownTrend , DownTrend ,
WriteIf(StrongDownTrend , Strong DownTrend,
);

AddTextColumn(Trend, Trend, 5.6);
//


On 8/8/2010 4:35 PM, Mubashar Virk wrote:


Hi Ford,
I think I have removed the silly error now. Please see the 
attachments.

I am an EOD Trader and this scoring idea seems nice to me.
Mav


On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com 
mailto:amibroker%40yahoogroups.com, Mubashar Virk mvir...@... 
wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 
AND
 totalscore = 40, Neutral, // this argument needs to be 
written more

 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day 
or anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or 
neutral

 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 














Re: [amibroker] req afl code for finding score for each stock find best score stocks by explore

2010-08-08 Thread Mubashar Virk

 //uptrend
event1 = IIf(C  MA(C,20),20,0);
event3 = IIf(CMA(C,50),35,0);
event5 = IIf(CMA(C,200),45,0);

// downtrend
event2 = IIf(C  MA(C,20),-20,0);
event4 = IIf(C  MA(C,50),-35,0);
event6 = IIf(C  MA(C,200),-45,0);

totalscore = event1 + event2 + event3 + event4 + event5 + event6;

// Plot(totalscore,  , colorRed);

Filter = 1;

AddColumn (totalscore , Score, 1.0);

Trend =
WriteIf(totalscore == 100, Strong Uptrend,
WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND 
totalscore = 40, Neutral, // this argument needs to be written more 
accurately.

WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
WriteIf(totalscore == -100, Strong Down Trend,
);

On 8/8/2010 10:43 AM, ford7k wrote:



Hi afl experts

I am trying to make an afl code.
This code uses points alloted to each event like
price above 20dma =20,
price above 50dma=35 pointr,
price goes above 200=45 points.

if the opposite happens,score is negative,
price cross below 20ma= -20 points
price cross below 50ma = -35 points
price cross below 200dma = -45 points

I like to see the total score at current time or current day or anyday 
on screen or in exploration


Can I try this way
event1
iif(c  ma(c,20),20,0);
event3
iif(cma(c,50),35,0);
event5
iif(cma(c,200),45,0);

event2
iif(c  ma(c,20),-20,0);
event4
iif(c  ma(c,50),-35,0);
event6
iif(c ma(c,200),-45,0);

total score =
example
currently event1 occured,event3 occured and event6 occured
the score is =5
current total score = 20+30+(-45) =5 means mild uptrend or neutral

suppose
event1 + event2 +event 3 occured then
total score =20+35+45=100 strong uptrend occured
time to initiate longs
suppose
event2 +event4+event6 occured,
we get total score =-100 strong downtrend-time to initiate shorts

the score summation was used in,Mr Hiutels against all odds. afl

I just gave the line of my thinking
please give some help

regards
thanks
ford






Re: [amibroker] req afl code for finding score for each stock find best score stocks by explore

2010-08-08 Thread Mubashar Virk

 I think this might be okay.


//uptrend
event1 = IIf(C  MA(C,20),20,0);
event3 = IIf(CMA(C,50),35,0);
event5 = IIf(CMA(C,200),45,0);

// downtrend
event2 = IIf(C  MA(C,20),-20,0);
event4 = IIf(C  MA(C,50),-35,0);
event6 = IIf(C  MA(C,200),-45,0);

totalscore = event1 + event2 + event3 + event4 + event5 + event6;

Plot(totalscore,  , colorRed);

Filter = 1;

AddColumn (totalscore , Score, 1.0);

StrongUpTrend = totalscore = 100;
Neutral = (totalscore = -40 AND totalscore = 40);
Uptrend = (totalscore  40 AND totalscore = 99);
DownTrend = (totalscore  -40 AND totalscore = -99);
StrongDownTren = totalscore = -100;


Trend =
WriteIf(StrongUpTrend , Strong UpTrend ,
WriteIf(Neutral , Neutral ,
WriteIf(Uptrend , Uptrend ,
WriteIf(DownTrend , DownTrend ,
WriteIf(StrongDownTren , Strong DownTrend,
);

AddTextColumn(Trend, , 5.6);

On 8/8/2010 10:43 AM, ford7k wrote:



Hi afl experts

I am trying to make an afl code.
This code uses points alloted to each event like
price above 20dma =20,
price above 50dma=35 pointr,
price goes above 200=45 points.

if the opposite happens,score is negative,
price cross below 20ma= -20 points
price cross below 50ma = -35 points
price cross below 200dma = -45 points

I like to see the total score at current time or current day or anyday 
on screen or in exploration


Can I try this way
event1
iif(c  ma(c,20),20,0);
event3
iif(cma(c,50),35,0);
event5
iif(cma(c,200),45,0);

event2
iif(c  ma(c,20),-20,0);
event4
iif(c  ma(c,50),-35,0);
event6
iif(c ma(c,200),-45,0);

total score =
example
currently event1 occured,event3 occured and event6 occured
the score is =5
current total score = 20+30+(-45) =5 means mild uptrend or neutral

suppose
event1 + event2 +event 3 occured then
total score =20+35+45=100 strong uptrend occured
time to initiate longs
suppose
event2 +event4+event6 occured,
we get total score =-100 strong downtrend-time to initiate shorts

the score summation was used in,Mr Hiutels against all odds. afl

I just gave the line of my thinking
please give some help

regards
thanks
ford






Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore

2010-08-08 Thread Mubashar Virk

 I think I have messed up a few of the conditions. Sorry about that.

On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND
 totalscore = 40, Neutral, // this argument needs to be written more
 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day or 
anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or neutral
 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 







Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore [2 Attachments]

2010-08-08 Thread Mubashar Virk

 Hi Ford,
I think I have removed the silly error now. Please see the attachments.
I am an EOD Trader and this scoring idea seems nice to me.
Mav


On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND
 totalscore = 40, Neutral, // this argument needs to be written more
 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day or 
anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or neutral
 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 







Re: [amibroker] Re: req afl code for finding score for each stock find best score stocks by explore

2010-08-08 Thread Mubashar Virk

 Hi Ford,
Just saw Marcus Davidsson's  Trend Exploration: Slope Moving Average. 
It is beautiful.

Mav

On 8/8/2010 2:32 PM, ford7k wrote:


Mr Mubashar virk

Many thanks for this superfast reply.
Real kind of you to provide me the code
you have separated trend in a good way
warm regards
keep your spirit up
ford
ps
please refer to
following
I am sure you must be well aware of it.
==
/* Formula Name: Trend Exploration: Slope Moving Average
Author/Uploader: marcus - marcusdavidsson
Date/Time added: 2009-09-20 06:38:06
Origin:
Keywords:
Level: basic
Flags: exploration
==
take care

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 //uptrend
 event1 = IIf(C  MA(C,20),20,0);
 event3 = IIf(CMA(C,50),35,0);
 event5 = IIf(CMA(C,200),45,0);

 // downtrend
 event2 = IIf(C  MA(C,20),-20,0);
 event4 = IIf(C  MA(C,50),-35,0);
 event6 = IIf(C  MA(C,200),-45,0);

 totalscore = event1 + event2 + event3 + event4 + event5 + event6;

 // Plot(totalscore,  , colorRed);

 Filter = 1;

 AddColumn (totalscore , Score, 1.0);

 Trend =
 WriteIf(totalscore == 100, Strong Uptrend,
 WriteIf(totalscore = -40 OR totalscore = 40 OR totalscore  0 AND
 totalscore = 40, Neutral, // this argument needs to be written more
 accurately.
 WriteIf(totalscore  40 AND totalscore = 99, Uptrend,
 WriteIf(totalscore  -40 AND totalscore = -99, Downtrend,
 WriteIf(totalscore == -100, Strong Down Trend,
 );

 On 8/8/2010 10:43 AM, ford7k wrote:
 
 
  Hi afl experts
 
  I am trying to make an afl code.
  This code uses points alloted to each event like
  price above 20dma =20,
  price above 50dma=35 pointr,
  price goes above 200=45 points.
 
  if the opposite happens,score is negative,
  price cross below 20ma= -20 points
  price cross below 50ma = -35 points
  price cross below 200dma = -45 points
 
  I like to see the total score at current time or current day or 
anyday

  on screen or in exploration
 
  Can I try this way
  event1
  iif(c  ma(c,20),20,0);
  event3
  iif(cma(c,50),35,0);
  event5
  iif(cma(c,200),45,0);
 
  event2
  iif(c  ma(c,20),-20,0);
  event4
  iif(c  ma(c,50),-35,0);
  event6
  iif(c ma(c,200),-45,0);
 
  total score =
  example
  currently event1 occured,event3 occured and event6 occured
  the score is =5
  current total score = 20+30+(-45) =5 means mild uptrend or neutral
 
  suppose
  event1 + event2 +event 3 occured then
  total score =20+35+45=100 strong uptrend occured
  time to initiate longs
  suppose
  event2 +event4+event6 occured,
  we get total score =-100 strong downtrend-time to initiate shorts
 
  the score summation was used in,Mr Hiutels against all odds. afl
 
  I just gave the line of my thinking
  please give some help
 
  regards
  thanks
  ford
 
 







Re: [amibroker] Multiple Higher Highs in Amibroker?

2010-08-07 Thread Mubashar Virk

 Take is easy, Rick.
What is an Array?

On 8/7/2010 5:58 PM, Rick Osborn wrote:

It's amazing what a good night's sleep does for a little perspective.
Of course these functions only look back from the right edge of the 
chart - and do not produce full arrays.  Thus, they are of very little 
use.


That will teach me to try to be creative at 1 in the morning
Best Regards
Rick Osborn



*From:* Rick Osborn ri...@rogers.com
*To:* amibroker@yahoogroups.com
*Sent:* Sat, August 7, 2010 1:06:46 AM
*Subject:* Re: [amibroker] Multiple Higher Highs in Amibroker?

Interesting.  I've often wondered how to do that.
I have created a function that can be called based on this code.  I 
have quickly checked the results and think it works as intended.


It is 1 based - not zero based.  To calculate the 4th Highest Close - 
pass C to array etc.


|*function* NextHiRank ( array,  Lookback, element )
// to get 4th Highest High in last 10  periods call NextHiRank (H,10,4)
{
element = *Min*(Lookback, element)-1;
bi = *BarIndex*();
a = *LastValue*( bi );
b = a - Lookback;
z = *IIf*( bi = b, array, *Null* );

*for* ( i = b;i = a;i++ )
{

*for* ( j = i + 1;j = a;j++ )
{

*if* ( z[i]  z[j] )
{
temp = z[i];
z[i] = z[j];
z[j] = temp;
}
}
}

*return* z[b + element];
}|


Based on the same logic - here is the NextLoRank function.

|*function* NextLoRank ( array,  Lookback, element )
{
element = *Min*(Lookback, element)-1;
bi = *BarIndex*();
a = *LastValue*( bi );
b = a - Lookback;
z = *IIf*( bi = b, array, *Null* );

*for* ( i = b;i = a;i++ )
{

*for* ( j = i + 1;j = a;j++ )
{

*if* ( z[i]  z[j] )
{
temp = z[i];
z[i] = z[j];
z[j] = temp;
}
}
}

*return* z[b + element];
}|

Thanks to Inquisitive Voyager for a great idea.


Best Regards
Rick Osborn



*From:* Inquisitive Voyager hedonist2008@ gmail.com
*To:* amibro...@yahoogrou ps.com
*Sent:* Fri, August 6, 2010 10:54:13 AM
*Subject:* Re: [amibroker] Multiple Higher Highs in Amibroker? [1 
Attachment]


(1) find the attachment
(2) this code works in commentary window only.
(3)copy paste the code.dont overlay.

On Thu, Aug 5, 2010 at 7:29 PM, n7wyw dennisljohnston@ hotmail.com 
mailto:dennisljohns...@hotmail.com wrote:


I want to find out the three highest highs for the past 100
periods. Highest give only the top value, how can I get the next
highest value and the next?

Thanks,

Dennis







Re: [amibroker] OT: WIN 7 email

2010-08-06 Thread Mubashar Virk

 I found salvation in Mozilla Thunderbird too, brother.

On 8/6/2010 10:05 PM, Ara Kaloustian wrote:


Just a follow up ...

I had previously selected Windows Live mail as my email program for
Windows 7, using with gmail address.

I noticed two problems:
1. I was missing some emails (both incoming and outgoing)
2. The organization of Window Mail was not very good. I could not see
who the mail was sent to in the sent folder. All that was visible was
the source (me) ... maybe I did not set it right??

At any rate I switched to Thunderbird, which seems to work more like
Outlook Express, that I was happy with when using my XP.






Re: [amibroker] Re: AmiBroker running stinking slow on super fast new system ???

2010-07-08 Thread Mubashar Virk
 Which is the toughest (or at least better) laptop brand, when it 
comes to:

Body stability
Battery life
Heating issues
etc.

Thanks.

On 7/9/2010 3:25 AM, Weidong wrote:




Plan to buy a new computer, which one is faster for AB exploration,

1.Inspiron 14 Notebook (Inspiron 1440)

Intel Core 2 Duo P8700 2.53GHz, 1066Mhz, 3M L2 Cache
8GB, DDR2, 800MHZ, 2 DIMM
500G HARD DRIVE, 5400RPM Hard Drive
Intel Graphics Media Accelerator 4500MHD

2. Dell Studio 14 (1458)

Intel Core i7-720QM Quad Core Mobile CPU
4GB Shared Dual Channel DDR3 at 1066MHz
500GB 7200 RPM SATA Hard Disk Drive
ATI Mobility Radeon HD 5450 1GB

Thanks,

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Keith McCombs kmcco...@... wrote:


 50 times faster, is that what they told you?

 On 6/29/2010 09:49, gmorlosky wrote:
 
  I'm using alien technology (top secret Area 51 stuff) :-)
 
  --- In amibroker@yahoogroups.com 
mailto:amibroker%40yahoogroups.com 
mailto:amibroker%40yahoogroups.com,

  Keith McCombs kmccombs@ wrote:
  
   Where on earth did you get the 50 times faster from?
  
   On 6/27/2010 08:26, gmorlosky wrote:
   
I am very disappointed in the speed I am getting running an
  Explore in
AmiBroker 5.20. Here is my example:
   
Both units are running the same 32 bit version of Amibroker 5.20,
running the same Explore I created, with no other software 
other than

basic antivirus running.
***
Old system (about 7 years):
Pentium D (single core) 2.4 mhz, 1 gig memory 233 mhz, 5400 rpm
  drive,
Windows XP Pro
   
Results of Explore (5500 sysmbols):
CPU usage 100%, 8 minutes 5 seconds
***
New system (about 2 months):
i7-930 (quad core) 2.6 mhz, 6 gig memory 1600 mhz, 7200 high rpm
drive, Windows 7 64 bit
   
Results of Explore (5500 sysmbols):
CPU usage 12%, 2 minutes 3 seconds
***
Why so stinking slow ??? when the new system is roughly 50 times
faster in overall processing ???
   
   
  
 
 







Re: [amibroker] Re: New 3rd party toolset for AmiBroker

2010-06-25 Thread Mubashar Virk

 ... and Ehlers (along with others) wept.

On 6/25/2010 4:33 AM, WiseStockTrader wrote:


Hello,

I think you are supremely mistaken with you quick assessment (without 
actually trying the toolbox). Nothing in that toolbox is coded in AFL 
and some of its features can never be. Its entire implementation is in 
C++ for speed and usability. (NO PART OF IT OR ITS CODE HAS BEEN 
COPIED FROM EXISTING AFL). Yes, there are some AFL out there that may 
appear to do a similar thing but they do not provide the same results 
and in some cases the result generated are not correct. You will not 
find an AFL that does trendline scanning or triangle pattern scanning 
like those provided in the toolbox. It is more comparable to the 
capabilities of the RAMP program but it is for Amibroker. The adaptive 
indicators in this toolbox are not available as AFL anywhere except 
for a few here and there like RSI and certainly not with different 
adaptors like the HomodyneDiscriminator, EnhancedSNR etc.


This plugin will soon have neural networks with full multi-core 
capabilities not available anywhere.


Regards,
Paul Rudiger (WiseTrader Toolbox)

--- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
Mubashar Virk mvir...@... wrote:


 This guy must be a great genius: Adding some color codes and selling
 other peoples' freely available work for US$ 299.00 is supremely 
fantastic.


 On 6/24/2010 5:34 PM, Tomasz Janeczko wrote:
 
  Hello,
 
  I have just received the following notice about new 3rd party tool for
  AmiBroker, that you may find useful:
 
  ---
  www.wisetradertoolbox.com has released an advanced indicator 
toolset for
  Amibroker. This includes advanced pattern exploration: Gartley, 
Head And
  Shoulders, Trendlines, Triangles, Double Bottoms and Tops and 
Fibonnacci

  Retracements. The toolbox also includes a large number adaptive and
  reduced lag indicators with 5 smoothers and 7 adaptors to choose from.
  It also includes a number of other unique indicators just visit
  www.wisetradertoolbox.com for more information.
 
  Those who purchase before the 30th of June 2010 will receive the 
Neural

  Network addon free when it is released in the coming weeks.
  ---
 
  This is informational notice only. AmiBroker.com does not endorse any
  3rd party products.
 
  Best regards,
  Tomasz Janeczko
  amibroker.com
 
 







Re: [amibroker] New 3rd party toolset for AmiBroker

2010-06-24 Thread Mubashar Virk
 This guy must be a great genius: Adding some color codes and selling 
other peoples' freely available work for US$ 299.00 is supremely fantastic.


On 6/24/2010 5:34 PM, Tomasz Janeczko wrote:


Hello,

I have just received the following notice about new 3rd party tool for
AmiBroker, that you may find useful:

---
www.wisetradertoolbox.com has released an advanced indicator toolset for
Amibroker. This includes advanced pattern exploration: Gartley, Head And
Shoulders, Trendlines, Triangles, Double Bottoms and Tops and Fibonnacci
Retracements. The toolbox also includes a large number adaptive and
reduced lag indicators with 5 smoothers and 7 adaptors to choose from.
It also includes a number of other unique indicators just visit
www.wisetradertoolbox.com for more information.

Those who purchase before the 30th of June 2010 will receive the Neural
Network addon free when it is released in the coming weeks.
---

This is informational notice only. AmiBroker.com does not endorse any
3rd party products.

Best regards,
Tomasz Janeczko
amibroker.com






Re: [amibroker] Volatility bands

2010-06-04 Thread Mubashar Virk

It should be easy provided you have custom atr formula.

On 6/4/2010 12:47 PM, infynhome wrote:


I am referring to the book Technical analysis for the trading 
professional by constance brown.


She had mentioned about Volatility band formula written in 
tradestation language.


I need this formula to be converted into afl language.

Can somebody help me with this.

Input: Coefdwn[2.1],Coefup[2.3];
Plot1[Average[[RSI[Close,14]],6]]+[Coefup*[Average[TrueRangeCustom[[RSI[Close,14]],[RSI[close,14]]],14]]],Plot1];
Plot2[Average[[RSI[Close,14]],6]]-[Coefup*[Average[TrueRangeCustom[[RSI[Close,14]],[RSI[close,14]]],14]]],Plot2];
Plot3[[RSI[Close,14]], plot 3];

IF CheckAlert Then Begin
IF Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3
Then Alert = TRUE;
End;

thanks
Mithil






Re: [amibroker] MetaStock language to AFL

2010-05-06 Thread Mubashar Virk
It is very simple.

/
F1=ValueWhen(HRef(H,-2) AND Ref(H,-1)Ref(H,-2) AND Ref(H,-3)Ref(H,-2) 
AND Ref(H,-4)Ref(H,-2),Ref(H,-2),1);
F2=ValueWhen(LRef(L,-2) AND Ref(L,-1)Ref(L,-2) AND Ref(L,-3)Ref(L,-2) 
AND Ref(L,-4)Ref(L,-2),Ref(L,-2),1);
a=Cross(H,F1);
b=Cross(F2,L);
state=IIf(BarsSince(a)BarsSince(b),1,0);
Buy = stateRef(state,-1);
Sell = stateRef(state,-1);
PlotShapes( IIf(Buy, shapeSmallCircle,0) , colorGreen,0,L,-10);
PlotShapes( IIf(Sell, shapeSmallCircle,0) , colorOrange,0,H,10);

SetChartOptions( 0, chartShowDates | chartShowArrows | chartWrapTitle );
_N( Title = StrFormat( {{NAME}} -  + SectorID( 1 ) +  - {{INTERVAL}} 
{{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol  + WriteVal( V, 
1.0 ) +  {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );
Plot( C, Close, colorWhite, styleBar | styleNoTitle | ParamStyle( 
Style ) | GetPriceStyle() );

if ( ParamToggle( Tooltip shows, All Values|Only Prices ) )
{
 ToolTip = StrFormat( Open: %g\nHigh:  %g\nLow:   %g\nClose:  %g 
(%.1f%%)\nVolume:  + NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( 
C, 1 ) ) );
}
/


On 5/6/2010 8:31 AM, Vinay Gakkhar. wrote:
 Can senior members please translate for me the following from 
 MetaStock language to the AFL ?

 I want to have the enter  exit arrows also.

 Thank you.

 vgakkhar

 WriteIf(F1:=ValueWhen(1,HRef(H,-2) AND Ref(H,-1)Ref(H,-2) AND 
 Ref(H,-3)Ref(H,-2) AND 
 Ref(H,-4)Ref(H,-2),Ref(H,-2));F2:=ValueWhen(1,LRef(L,-2) AND 
 Ref(L,-1)Ref(L,-2) AND Ref(L,-3)Ref(L,-2) AND 
 Ref(L,-4)Ref(L,-2),Ref(L,-2));a:=Cross(H,F1);b:=Cross(F2,L);
 state:=If(BarsSince(a)BarsSince(b),1,0);
 stateRef(state,-1),If trading short positions, exit all short 
 positions today with a Market On Close (MOC) order or at the market 
 price on tomorrow's open.

 If trading long positions, enter long today with a Market On Close 
 (MOC) order or at the market price on tomorrow's open. )\
 \
 WriteIf(F1:=ValueWhen(1,HRef(H,-2) AND Ref(H,-1)Ref(H,-2) AND 
 Ref(H,-3)Ref(H,-2) AND 
 Ref(H,-4)Ref(H,-2),Ref(H,-2));F2:=ValueWhen(1,LRef(L,-2) AND 
 Ref(L,-1)Ref(L,-2) AND Ref(L,-3)Ref(L,-2) AND 
 Ref(L,-4)Ref(L,-2),Ref(L,-2));a:=Cross(H,F1);b:=Cross(F2,L);
 state:=If(BarsSince(a)BarsSince(b),1,0);
 stateRef(state,-1),If trading long positions, exit all long 
 positions today with a Market On Close (MOC) order or at the market 
 price on tomorrow's open.

 If trading short positions, enter short today with a Market On Close 
 (MOC) order or at the market price on tomorrow's open. )\
 \
 WriteIf(F1:=ValueWhen(1,HRef(H,-2) AND Ref(H,-1)Ref(H,-2) AND 
 Ref(H,-3)Ref(H,-2) AND 
 Ref(H,-4)Ref(H,-2),Ref(H,-2));F2:=ValueWhen(1,LRef(L,-2) AND 
 Ref(L,-1)Ref(L,-2) AND Ref(L,-3)Ref(L,-2) AND 
 Ref(L,-4)Ref(L,-2),Ref(L,-2));a:=Cross(H,F1);b:=Cross(F2,L);
 state:=If(BarsSince(a)BarsSince(b),1,0);
 state=Ref(state,-1),No trading signals today.)








 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
amibroker-dig...@yahoogroups.com 
amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] What a wonderful AFL - RMO - developed by Mr Rahul Mohindar

2010-04-28 Thread Mubashar Virk

Mr Rahul Mohindar did not develop anything.
He just applied a moving average to Mel Widner's Rainbow Oscillator.

On 4/28/2010 5:20 PM, Ravindra Palwankar wrote:



Dear ALL
While surfing the net , I came across this wonderful AFL. developed by .
URL
http://forum.equis.com/Training/Online%20Demo/RMO%20ATM%20Demo/RMO_ATM_DEMO.htm 
http://forum.equis.com/Training/Online%20Demo/RMO%20ATM%20Demo/RMO_ATM_DEMO.htm


But it is developed for Metastock.

May I therefore , request our Amibroker AFL Experts , to develop or 
adv. a plug-in of the same.

Thx. in advance
Brgds
Ravi






Re: [amibroker] emailer.exe file in AB directory.Kaspersky found backdoor.win32.RAdmin.bp trojan

2010-03-21 Thread Mubashar Virk

Use Eset's NOD32.

On 3/21/2010 5:16 AM, domantas rudys wrote:

Hi Tomasz,
unfortunately, even if i add it to exclutions kaspersky deletes this 
file after some time. i`ve tryed to restore it few times from 
disinfected files, but kaspersky anyway deletes it. is it very 
important file for AB?

thanks

On Sat, Mar 20, 2010 at 11:59 PM, Tomasz Janeczko 
gro...@amibroker.com mailto:gro...@amibroker.com wrote:


Hello,

That is FALSE positive. You should report it to anti-virus vendor
that
they have bug in their program.

You should probably read this:

http://blog.nirsoft.net/2009/05/17/antivirus-companies-cause-a-big-headache-to-small-developers/

http://blog.nirsoft.net/2009/05/17/antivirus-companies-cause-a-big-headache-to-small-developers/


Best regards,
Tomasz Janeczko
amibroker.com http://amibroker.com/



On 2010-03-20 21:53, gsmservplus wrote:
 emailer.exe file in AB directory.Kaspersky found
backdoor.win32.RAdmin.bp trojan, criticality High
 ??

 is it fake or it`s realy something wrong?



 


  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.

 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com http://amibroker.com/

 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)

 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/ http://www.amibroker.com/devlog/

 Yahoo! Groups Links












Re: [amibroker] (OT) Will this Acer 23.6 Monitor work ok with both of my computers.

2010-03-15 Thread Mubashar Virk

NO!
This will not work.
REASON: This Acer 23.6 inch monitor is an Asus. :-D



On 3/15/2010 10:51 AM, Ronald Davis wrote:
I thought this Amibroker board would ber a good place to ask about 
this Acer 23.6 inch monitor.
I need a new monitor, and I have decided that I will stick with NEW 
ACER  monitors.  my existing Acer Monitor is a 22 AL2216W bd, with 
1680 x1050 resolution.
This geeks link says that the RECOMMENDED resolution for  Acer 23.6  
monitors is 1920 x 1080 and it also says that the MAX resolution is 
also 1920 x 1080 
http://www.geeks.com/details.asp?invtid=VH242H-DTcat=MON 
http://www.geeks.com/details.asp?invtid=VH242H-DTcat=MON They show 
that my price is $198.44.  I paid around $250 for my existing 22 Acer 
Monitor

Below here  is a Newegg review of the Acer AL2216Wbd Black 22 monitor
As an IT Professional, I have used literally dozens of LCD's Some are 
better than this one at newegg.com http://newegg.com/ but most are 
not. And for this Price/Size NONE can even come close. Sure, there are 
panels out there that can blow this away as far as color and viewing 
angles are concerned. However, you will PAY big bucks for those. If 
all you want is a good, solid display for a steal of a price, this is 
as good as it gets. If you want Perfect Color, giant Viewing angles, 
and extra features galore, then look elsewhere, and make sure you 
bring your Platinum card with you. this newegg website states that the 
22 Acer is Currently Unavailable

http://www.newegg.com/Product/Product.aspx?item=N82E16824009094
-- 

My HP VISTA computer has NVIDIA Ge Force Go 7150 M graphics with up to 
1071 MB shared video memory to deliver sharp images for photo editing 
and more.
The company (now defunct) that made my XP64 bit pro computer left me 
with several graphics CD's.
1st CD) This CD is an Asus graphic card multi-language manual Q1496  
Q1262.  Also, directly to the  right  side of the center hole, it 
shows V400 in a black circle.
2nd CD) This is a  CD associated with the Abit mother board is titled 
Fatal1ty.
  To the right of the CD center hole, is NV8-1.01M Users manual 
drivers Acrobat

   Reader Abit u Guru Utility.
3rdCD) This is another  Asus CD is entitled VGA DRIVER 2d/3d Graphic  
Video Accelarator V407. It also has more information near the bottom.
Hopefully this is enough information to make a judgement regarding 
the suitability of the Video drivers in both of my computers regarding 
the 23.6  inch Asus 1920 x 1080 Max resolution.Ron D








[amibroker] Help: MetaStock's IsDefined

2010-03-11 Thread Mubashar Virk

Hi,
What is the AB equivalent for MetaStock's *IsDefined* function?
Thanks


Re: [amibroker] ATM breakout - Rahul Mohinder

2010-01-04 Thread Mubashar Virk
Here is an idea or two. 

1 . Obtain the Metastock code from www.viratechsoftware.com and post over here. 
Someone will translate it to AFL for you.
2. Go to forum.equis.com and copy the Metastock code for RMO and ost over here. 
Someone will translate it to AFL for you.
3. (Use this option if you are in a hurry ONLY) Google for RMO+Amibroker or 
Amibroker+RMO and you will hit the mother-load.






From: Deepak Patade 
Sent: Monday, January 04, 2010 1:35 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] ATM breakout - Rahul Mohinder


  

I am not well acquainted with Metaastock, but the same can be obtained from 
www.viratechsoftware.com
 
Deepak Patade,
Nasik. 






From: Ton Sieverding ton.sieverd...@scarlet.be
To: amibroker@yahoogroups.com
Sent: Mon, January 4, 2010 1:11:10 PM
Subject: Re: [amibroker] ATM breakout - Rahul Mohinder

  

Can you show me the MetaStock code for the ATM breakout ?

Regards, Ton.

  - Original Message - 
  From: Deepak Patade 
  To: amibro...@yahoogrou ps.com 
  Sent: Monday, January 04, 2010 5:49 AM
  Subject: [amibroker] ATM breakout - Rahul Mohinder


  
Hello ,
Does any one have the afl code for ATM breakout by rahul 
mohinder which he uses for metastock.
www.viratechsoftwar e.com
 
Deepak Patade,
Nasik.  
   
  
   
   








__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4741 (20100104) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4741 (20100104) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Emoticon3.gif

Re: [amibroker] ATM breakout - Rahul Mohinder

2010-01-04 Thread Mubashar Virk



From: Ton Sieverding 
Sent: Monday, January 04, 2010 9:20 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] ATM breakout - Rahul Mohinder


  
 

mmm. obtained ?

regards, Ton.

  - Original Message - 
  From: Deepak Patade 
  To: amibroker@yahoogroups.com 
  Sent: Monday, January 04, 2010 9:35 AM
  Subject: Re: [amibroker] ATM breakout - Rahul Mohinder




  I am not well acquainted with Metaastock, but the same can be obtained from 
www.viratechsoftware.com
   
  Deepak Patade,
  Nasik. 





--
  From: Ton Sieverding ton.sieverd...@scarlet.be
  To: amibroker@yahoogroups.com
  Sent: Mon, January 4, 2010 1:11:10 PM
  Subject: Re: [amibroker] ATM breakout - Rahul Mohinder



  Can you show me the MetaStock code for the ATM breakout ?

  Regards, Ton.

- Original Message - 
From: Deepak Patade 
To: amibro...@yahoogrou ps.com 
Sent: Monday, January 04, 2010 5:49 AM
Subject: [amibroker] ATM breakout - Rahul Mohinder



  Hello ,
  Does any one have the afl code for ATM breakout by rahul 
mohinder which he uses for metastock.
  www.viratechsoftwar e.com
   
  Deepak Patade,
  Nasik.  
 

 
 









__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4741 (20100104) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4741 (20100104) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Emoticon2.gif

Re: [amibroker] need help to plot a band under the price chart

2010-01-02 Thread Mubashar Virk
You may like to work with this.

_SECTION_BEGIN(Trend Bars);

smap = Param(SMA Length, 9,5,20,1);

WMAp = Param(WMA Length, 45,9,75,1);

rpds = Param(RSI Length, 14,3,50,1);

/*

smap = Optimize(SMA Length, 9,5,20,1);

WMAp = Optimize(WMA Length, 45,9,75,1);

rpds = Optimize(RSI Length, 14,3,50,1);

*/

p1 = MA( C, smap); //9-period on price (MA)

p2 = WMA( C, WMAp); //45-period on price (WMA)

r1 = MA( RSI(rpds), smap); //9-period on RSI (MA)

r2 = WMA( RSI(rpds), WMAp); //45-Period on RSI (WMA)

up = p1  p2 AND r1  r2; //trend is up

dn = p1  p2 AND r1  r2; //trend is down

sup = p1  p2 AND r1  r2; //trend is sideways to up

sdn = p1  p2 AND r1  r2; //trend is sideways to down

Plot( 1, , IIf(up, colorDarkGreen, IIf(dn, colorDarkRed, IIf(sup, 
colorLightBlue, IIf(sdn, colorOrange, 0, 
styleOwnScale|styleArea|styleNoLabel, -0.1, 50 );

_SECTION_END();





From: Ashis 
Sent: Saturday, January 02, 2010 5:50 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] need help to plot a band under the price chart


  
hello there ,

I would like to plot a narrow band at the bottom of the price chart with the 
color according to a trading signal, for example if the MA1 is above MA2 it 
will be colored green , else it will be colored red.

how can i do that ?..can anyone help me please ?

i shall be obliged if you kindly solve the problem for me. 

thanks in advance

ashis 





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4737 (20100102) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4737 (20100102) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



Re: [amibroker] Problem with the ZIG( 2nd TIME )

2009-12-26 Thread Mubashar Virk

I don't know.
Maybe Yves knows something new.


On 12/26/2009 1:50 PM, Graham wrote:


What result do you get from a 200% zig? This makes no sense as you 
cannot get 200% change to create a peak point.



--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com http://www.aflwriting.com

2009/12/26 Mubashar Virk mvir...@gmail.com mailto:mvir...@gmail.com



I think it is the same. Please see:
Indic = CCI(21) ;
YL = IIf(Indic100,100,IIf(Indic-100,-100,Indic)) ;
Top1 = PeakBars(YL,200,1) ;//
Top2 = PeakBars(YL,200,2) ;//
Plot(yl, Z-CCI, colorRed);
Plot(Zig(YL,200), ZIG, colorBlue);
Plot(TroughBars(YL,200,1)==0, , colorWhite, styleOwnScale);



On 12/26/2009 10:18 AM, Yves wrote:


Indic := CCI(21) ;

YL:= If(Indic100,100,

If(Indic-100,-100,Indic)) ;

Top1 := PeakBars(1,YL,200) ;

Top2 := PeakBars(2,YL,200) ;

yl;

Zig(YL,200,%) ;

{TroughBars(1,YL,200)=0 ;}

{













Re: [amibroker] Problem with the ZIG( 2nd TIME )

2009-12-25 Thread Mubashar Virk

I think it is the same. Please see:
Indic = CCI(21) ;
YL = IIf(Indic100,100,IIf(Indic-100,-100,Indic)) ;
Top1 = PeakBars(YL,200,1) ;//
Top2 = PeakBars(YL,200,2) ;//
Plot(yl, Z-CCI, colorRed);
Plot(Zig(YL,200), ZIG, colorBlue);
Plot(TroughBars(YL,200,1)==0, , colorWhite, styleOwnScale);


On 12/26/2009 10:18 AM, Yves wrote:


Indic := CCI(21) ;

YL:= If(Indic100,100,

If(Indic-100,-100,Indic)) ;

Top1 := PeakBars(1,YL,200) ;

Top2 := PeakBars(2,YL,200) ;

yl;

Zig(YL,200,%) ;

{TroughBars(1,YL,200)=0 ;}

{





Re: [amibroker] Problem with the ZIG( 2nd TIME )

2009-12-24 Thread Mubashar Virk

On 12/25/2009 1:03 AM, Yves wrote:


Indic := CCI(21) ;

YL:= If(Indic100,100, {give me the Top }

If(Indic-100,-100,Indic)) ;   {give me the Bottom }

yl;{my CCI }

Zig(YL,200,%) ;   {my


Indic = CCI(21) ;
YL = IIf(Indic100,100, /*{give me the Top }*/ 
IIf(Indic-100,-100,Indic));   //{give me the Bottom }

yl;//{my CCI }
Plot(Zig(YL,200), , colorBlue);   //{my
Plot(yl, , colorRed);


Re: [amibroker] Any way to prevent my email address from being revealed in this group?

2009-12-23 Thread Mubashar Virk
There was only one active spammer on this group and I think he/she was 
taken care of some time back.
I am afraid you will have to individually block the email addresses that 
are targeting you.


On 12/23/2009 10:01 PM, peter843 wrote:


I have an email address that I only use for Yahoo Groups. Since I 
started posting to this group I am now getting spam at that email 
address. Is there any way to prevent my email address from being 
revealed in this group?







Re: [amibroker] Bollinger band cross with price

2009-12-11 Thread Mubashar Virk

P = ParamField(Price field,-1);
Periods = Param(Periods, 7, 2, 300, 1 );
Width = Param(Width, 1, 0, 10, 0.05 );
Color = ParamColor(Color, colorCycle );
Style = ParamStyle(Style);
top = BBandTop( P, Periods, Width );
bot =  BBandBot( P, Periods, Width );

Plot( top, BBTop + _PARAM_VALUES(), Color, Style );
Plot( bot, BBBot + _PARAM_VALUES(), Color, Style );
Plot ( C, , colorWhite, styleCandle );

Buy = Cross(p, bot);
Sell = Cross(p, top);

PlotShapes( shapeSmallCircle* Buy, colorLime, 0, L, -20 );// plots small 
lime circle below the price bar for a buy-signal
PlotShapes( shapeSmallCircle* Sell , colorRed, 0, H, 20 );// plots small 
red circle above the price bar for a sell-signal


On 12/11/2009 9:46 PM, Deepak Patade wrote:




Hi,
Can any body help me.
i want to buy when price touches Bollinger band bottom and sell when 
it touches Bollinger band top.

How to write this in afl.

_SECTION_BEGIN(Bollinger Bands);

P = ParamField(Price field,-1);

Periods = Param(Periods, 7, 2, 300, 1 );

Width = Param(Width, 1, 0, 10, 0.05 );

Color = ParamColor(Color, colorCycle );

Style = ParamStyle(Style);

Plot( BBandTop( P, Periods, Width ), BBTop + _PARAM_VALUES(), Color, 
Style );


Plot( BBandBot( P, Periods, Width ), BBBot + _PARAM_VALUES(), Color, 
Style );


this is BB afl.

Do help out


Deepak Patade,
Nasik.









Re: [amibroker] Re: Trader Tax

2009-12-06 Thread Mubashar Virk
I think you guys need to get your money out of the US. Invest in India, 
Pakistan, China, etc. and deposit your profits in Swiss banks.

dloyer123 wrote:

 Right. They dont want activity to move overseas. They just dont want 
 it to happen unless they get their cut.

 I live in Mass and here there is a 12% state tax on short term cap 
 gains on top of the fed income tax.

 At least those taxes are only on the profits.

 --- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
 Edward Pottasch empotta...@... wrote:
 
  well it is my understanding that they want to enforce this trading tax
  globally.
 
  I quote: Pelosi and other lawmakers have said the bill would have 
 to apply
  internationally to ensure that financial activity does not move 
 overseas.
 
 
 
  - Original Message -
  From: Mubashar Virk mvir...@...
  To: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com
  Sent: Saturday, December 05, 2009 1:26 PM
  Subject: Re: [amibroker] Re: Trader Tax
 
 
   Sorry, I did not know all AB users were in the US or traded the US
   markets.
  
  
   Edward Pottasch wrote:
   well if they introduce a 0.25% transaction tax then you will not 
 need any
   software package to track or backtest the markets because you 
 will not be
   able to make any money.
  
   On the ES mini you will need to make at least 5.5 points profit 
 before
   you
   will start making money. On a 20$ stock the first 10 cents profit 
 are
   for
   the government, the next 2 cents for the broker, so you will need 
 to make
   a
   profit of 12 cents before you start making money.
  
   If you can make a system that makes more than 0.25% per trade on 
 average
   you
   are a good man.
  
  
   - Original Message -
   From: Mubashar Virk mvir...@...
   To: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com
   Sent: Saturday, December 05, 2009 11:33 AM
   Subject: Re: [amibroker] Re: Trader Tax
  
  
  
   By the way how does this issue relate to AB?
  
   wooziwog wrote:
  
   Ed,
   I don't want to seem like an alarmist but the US income tax was
   considered benign (1% of income) when it was implemented, the 
 Social
   Security contribution was also benign, (don't have exact 
 figures but
   it was something like 0.5% of first $1000 of earnings) as was the
   Medicare contribution. The sad fact is that when a parasite 
 attaches
   itself to the host it will keep sucking blood, as it grows it needs
   more blood. Good parasites never kill their host - the question 
 is how
   smart is our parasite? Based on the current spending I am seeing I
   consider paying more taxes as a cure is the same as curing an
   alcoholic by giving them more alcohol. Consider any tax that is
   imposed as the initial offering to get it passed, it will 
 continue
   to grow after it is passed.
  
   David K.
  
   --- In amibroker@yahoogroups.com 
 mailto:amibroker%40yahoogroups.com mailto:amibroker%40yahoogroups.com,
   Ed Fast fasttrader@ wrote:
  
   The presenter (not sure who it was as I am certainly not glued to
  
   CNBC as I
  
   trade) made it sound like the Trader Tax is a very benign tax
  
   measure and
  
   would not effect anyone important except the Wall Street Fat 
 Cats
  
   as it
  
   generated all this free money for the government.
  
  
  
   It would affect me and I am certainly not a Fat Cat
  
  
  
   Ed Fast
  
  
  
   _
  
   From: amibroker@yahoogroups.com 
 mailto:amibroker%40yahoogroups.com mailto:amibroker%40yahoogroups.com
  
   [mailto:amibroker@yahoogroups.com 
 mailto:amibroker%40yahoogroups.com
   mailto:amibroker%40yahoogroups.com] On Behalf
  
   Of Potato Soup
   Sent: Friday, December 04, 2009 11:56 AM
   To: AmiBroker (Discussion List)
   Subject: Re: [amibroker] Trader Tax
  
  
  
  
  
   Yes. Do not fall asleep at the wheel. Congress is desperate to 
 find
   tax
   revenues and score another populist win. Don't just call your
   representatives, call every friend and family member and 
 ezplain why
  
   this
  
   isn't good for mainstreet.
  
   _
  
   From: Ed Fast fasttrader@
  
   Date: Fri, 4 Dec 2009 11:50:28 -0800
  
   To: amibroker@yahoogroups.com 
 mailto:amibroker%40yahoogroups.com mailto:amibroker%40yahoogroups.com
  
   Subject: [amibroker] Trader Tax
  
  
  
   If you have just watched the CNBC interview, you will 
 understand how
   important it is to contact your senator and representative and let
  
   them know
  
   that the Trader Tax is being presented in a very skewed manner 
 and
   will
   devastate the Financial Markets and the underlying Liquidity
  
  
  
   Ed Fast
  
  
  
  
   __ Information from ESET NOD32 Antivirus, version of virus
   signature database 4659 (20091203) __
  
   The message was checked by ESET NOD32 Antivirus.
  
   http://www.eset.com http://www.eset.com
  
  
   __ Information from ESET NOD32 Antivirus, version of virus
   signature database 4659 (20091203

Re: [amibroker] Re: Trader Tax

2009-12-05 Thread Mubashar Virk
By the way how does this issue relate to AB?

wooziwog wrote:

 Ed,
 I don't want to seem like an alarmist but the US income tax was 
 considered benign (1% of income) when it was implemented, the Social 
 Security contribution was also benign, (don't have exact figures but 
 it was something like 0.5% of first $1000 of earnings) as was the 
 Medicare contribution. The sad fact is that when a parasite attaches 
 itself to the host it will keep sucking blood, as it grows it needs 
 more blood. Good parasites never kill their host - the question is how 
 smart is our parasite? Based on the current spending I am seeing I 
 consider paying more taxes as a cure is the same as curing an 
 alcoholic by giving them more alcohol. Consider any tax that is 
 imposed as the initial offering to get it passed, it will continue 
 to grow after it is passed.

 David K.

 --- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com, 
 Ed Fast fasttra...@... wrote:
 
  The presenter (not sure who it was as I am certainly not glued to 
 CNBC as I
  trade) made it sound like the Trader Tax is a very benign tax 
 measure and
  would not effect anyone important except the Wall Street Fat Cats 
 as it
  generated all this free money for the government.
 
 
 
  It would affect me and I am certainly not a Fat Cat
 
 
 
  Ed Fast
 
 
 
  _
 
  From: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com 
 [mailto:amibroker@yahoogroups.com 
 mailto:amibroker%40yahoogroups.com] On Behalf
  Of Potato Soup
  Sent: Friday, December 04, 2009 11:56 AM
  To: AmiBroker (Discussion List)
  Subject: Re: [amibroker] Trader Tax
 
 
 
 
 
  Yes. Do not fall asleep at the wheel. Congress is desperate to find tax
  revenues and score another populist win. Don't just call your
  representatives, call every friend and family member and ezplain why 
 this
  isn't good for mainstreet.
 
  _
 
  From: Ed Fast fasttra...@...
 
  Date: Fri, 4 Dec 2009 11:50:28 -0800
 
  To: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com
 
  Subject: [amibroker] Trader Tax
 
 
 
  If you have just watched the CNBC interview, you will understand how
  important it is to contact your senator and representative and let 
 them know
  that the Trader Tax is being presented in a very skewed manner and will
  devastate the Financial Markets and the underlying Liquidity
 
 
 
  Ed Fast
 

 


 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 4659 (20091203) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4659 (20091203) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
amibroker-dig...@yahoogroups.com 
amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] Re: Trader Tax

2009-12-05 Thread Mubashar Virk
Sorry, I did not know all AB users were in the US or traded the US markets.


Edward Pottasch wrote:
 well if they introduce a 0.25% transaction tax then you will not need any 
 software package to track or backtest the markets because you will not be 
 able to make any money.

 On the ES mini you will need to make at least 5.5 points profit before you 
 will start making money.  On a 20$ stock the first 10 cents profit are for 
 the government, the next 2 cents for the broker, so you will need to make a 
 profit of 12 cents before you start making money.

 If you can make a system that makes more than 0.25% per trade on average you 
 are a good man.


 - Original Message - 
 From: Mubashar Virk mvir...@gmail.com
 To: amibroker@yahoogroups.com
 Sent: Saturday, December 05, 2009 11:33 AM
 Subject: Re: [amibroker] Re: Trader Tax


   
 By the way how does this issue relate to AB?

 wooziwog wrote:
 
 Ed,
 I don't want to seem like an alarmist but the US income tax was
 considered benign (1% of income) when it was implemented, the Social
 Security contribution was also benign, (don't have exact figures but
 it was something like 0.5% of first $1000 of earnings) as was the
 Medicare contribution. The sad fact is that when a parasite attaches
 itself to the host it will keep sucking blood, as it grows it needs
 more blood. Good parasites never kill their host - the question is how
 smart is our parasite? Based on the current spending I am seeing I
 consider paying more taxes as a cure is the same as curing an
 alcoholic by giving them more alcohol. Consider any tax that is
 imposed as the initial offering to get it passed, it will continue
 to grow after it is passed.

 David K.

 --- In amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com,
 Ed Fast fasttra...@... wrote:
   
 The presenter (not sure who it was as I am certainly not glued to
 
 CNBC as I
   
 trade) made it sound like the Trader Tax is a very benign tax
 
 measure and
   
 would not effect anyone important except the Wall Street Fat Cats
 
 as it
   
 generated all this free money for the government.



 It would affect me and I am certainly not a Fat Cat



 Ed Fast



 _

 From: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com
 
 [mailto:amibroker@yahoogroups.com
 mailto:amibroker%40yahoogroups.com] On Behalf
   
 Of Potato Soup
 Sent: Friday, December 04, 2009 11:56 AM
 To: AmiBroker (Discussion List)
 Subject: Re: [amibroker] Trader Tax





 Yes. Do not fall asleep at the wheel. Congress is desperate to find tax
 revenues and score another populist win. Don't just call your
 representatives, call every friend and family member and ezplain why
 
 this
   
 isn't good for mainstreet.

 _

 From: Ed Fast fasttra...@...

 Date: Fri, 4 Dec 2009 11:50:28 -0800

 To: amibroker@yahoogroups.com mailto:amibroker%40yahoogroups.com

 Subject: [amibroker] Trader Tax



 If you have just watched the CNBC interview, you will understand how
 important it is to contact your senator and representative and let
 
 them know
   
 that the Trader Tax is being presented in a very skewed manner and will
 devastate the Financial Markets and the underlying Liquidity



 Ed Fast

 


 __ Information from ESET NOD32 Antivirus, version of virus
 signature database 4659 (20091203) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com
   

 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 4659 (20091203) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com




 

  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.

 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com

 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)

 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/

 Yahoo! Groups Links



 



 

  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.

 TO GET TECHNICAL SUPPORT send an e-mail directly to 
 SUPPORT {at} amibroker.com

 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)

 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/

 Yahoo! Groups Links






 __ Information from ESET NOD32 Antivirus, version of virus signature 
 database 4661 (20091204) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com


   



__ Information from ESET NOD32

Re: [amibroker] How can add more sheet to Amibroker

2009-12-02 Thread Mubashar Virk
1. Launch AB
2. Press F1.
3. Type Preference window in the help program's search box.
4. Select Preference window from the results in the left-hand column.



trocito1997 wrote:

 Hello

 I saw some pictures wher can say 13 sheets, My amibroker has only 8 
 sheets and want to know How can add more below sheets ? I am reffering 
 at below Sheet I have only 8 and want add more sheets to analysis

 Thanks

 


 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 4655 (20091202) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4655 (20091202) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
amibroker-dig...@yahoogroups.com 
amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] Problem with PLOT and IIF

2009-11-07 Thread Mubashar Virk
Plot(RSI(9),RSI, IIf(Result,colorRed,0),styleThick |styleDashed) ;

1. AmiBroker has a product manual.
2. AmiBroker also has a buit-in HELP, which can accessed by pressing F1 
on your keyboard.
Please give a thought to using these two items, sometime.



Yves wrote:

 I'm would have:

 IIF(Result, Plot RSI in *colorRed* and *styleThick*, *colorRed* and 
 *styleDashed*)

 I'm try with that, but is NO GOOD:

 Plot(RSI(9),RSI, IIf(Result,*colorRed,*|*styleThick*,*styleDashed*) ;

 Thank You
 Merci

 YLTech ( Yves L. )

 Le présent message et les documents qui y sont joints sont réservés 
 exclusivement au destinataire indiqué. Il est strictement interdit 
 d'en utiliser ou d'en divulguer le contenu. Si vous recevez le présent 
 message par erreur, veuillez le détruire S.V.P. et nous en aviser 
 immédiatement afin que nous puissions corriger nos dossiers. Merci.

 This message and the attached documents may contain privileged or 
 confidential information that are intended to the addressee only. Any 
 unauthorized disclosure is strictly prohibited. If you happen to 
 receive this message by error, please delete it and notify us 
 immediately so that we may correct our internal records. Thank you.

 ylt...@videotron.ca mailto:ylt...@videotron.ca
 


 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 4539 (20091024) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4539 (20091024) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
amibroker-dig...@yahoogroups.com 
amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] OT: Minimum requirements for graphic card by using Amibroker

2009-10-18 Thread Mubashar Virk
I have run 7 trail without any issues on a machine with NVIDIA GForce 6500, 
128RAM card.

But I would advise you to spend around 70 for a good card.
http://computers.pricegrabber.com/video-cards/p/5/st=sort/popup1%5B%5D=100:387/sortby=priceA




From: Trinolix Derry 
Sent: Sunday, October 18, 2009 11:04 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] OT: Minimum requirements for graphic card by using 
Amibroker


  Thanks, this was helpful.
I've searched for graphic cards, but did not find WDDM support. Only DirextX 10 
was listed.
Is WDDM maybe different mentioned on the graphic card pages?
Can i be sure if i buy a card that is Windows 7 ready?
Like the ones listed on the NVIDIA page:
http://www.nvidia.com/object/io_1241025430517.html







2009/10/18 Tomasz Janeczko gro...@amibroker.com


  AmiBroker is not what you should be concerned about.
  Windows 7 is.

  Windows 7 alone has more requirements than business software.

  For Windows 7 you need to buy card that supports DirectX 10 and Windows 
Display Driver Model (WDDM) 1.1
  http://en.wikipedia.org/wiki/Windows_Display_Driver_Model

  Best regards,
  Tomasz Janeczko
  amibroker.com


  - Original Message - 
  From: Trinolix trino...@gmail.com
  To: amibroker@yahoogroups.com
  Sent: Sunday, October 18, 2009 3:23 PM
  Subject: [amibroker] OT: Minimum requirements for graphic card by using 
Amibroker

   Hello,
  
   i want to purchase a new graphic card for AmiBroker and Windows 7 with 3D 
aero. I never play computer games, therefore i assume 
   that a cheap card is good enough, but i'm not sure, because i also want to 
use AmiBroker's chart play back functionallity with 
   fast speed.
  
   So is a cheap card for about USD 40 - 50 good enough or would you rather 
recommend a better one?
  
  
  

    

  
    IMPORTANT PLEASE READ 
   This group is for the discussion between users only.
   This is *NOT* technical support channel.
  
   TO GET TECHNICAL SUPPORT send an e-mail directly to
   SUPPORT {at} amibroker.com
  
   TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
   http://www.amibroker.com/feedback/
   (submissions sent via other channels won't be considered)
  
   For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
   http://www.amibroker.com/devlog/
  

   Yahoo! Groups Links
  
  
  





-- 
Regards





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4520 (20091018) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4520 (20091018) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



Re: [amibroker] HELP: Trend Reversal Index

2009-09-30 Thread Mubashar Virk
hmmm.
I will go back to the roc and be happy with that.


From: Dennis Brown 
Sent: Tuesday, September 29, 2009 1:49 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] HELP: Trend Reversal Index


  TJ answered the same question last year: This function is not for public 
use. Sorry. 



This is an undocumented function.  It may be just for TJ's use, or it could 
have been created for a paying customer on contract.   


If you choose to use it, it is up to you to discover how it works, and it may 
disappear at any point, or the functionality could change.  I would not risk 
it.  However, you can make your own function in AFL based on your own 
specification.


I have played around with it some and I doubt it does anything you can not do 
in AFL.  It probably just runs faster for what it does.  



BR,
Dennis




On Sep 28, 2009, at 2:30 PM, Ton Sieverding wrote:





  dp = Divergence(TRI, C, 0.75)==1; 

  Something new to me. Is Divergence an AFL function ? And if so, why can't I 
find it in the AFL reference ?

  Ton.

- Original Message -
From: Mubashar Virk
To: amibroker@yahoogroups.com
Sent: Sunday, September 27, 2009 9:27 PM
Subject: [amibroker] HELP: Trend Reversal Index




I am trying to capture divergences on the TRI. I am sure I am missing 
something. Can someone please review the code.


pds = Param(Periods, 13, 3, 30, 1);

Pds1 = round(pds * 0.231);

TRI = RSI(pds) + MA(RSI(pds1),pds);

Plot( TRI, TRI(+pds+,+pds1+), ParamColor( Color, colorCycle ), 
ParamStyle(Style) );

dp = Divergence(TRI, C, 0.75)==1;  // positive ---

dn = Divergence(C, tri, 0.75)==-1; //negative --- 

shape = dp * shapeSmallCircle + dn * shapeSmallCircle ;

PlotShapes( shape, IIf( dp, colorGreen, colorRed ),0,TRI,0 );






__ Information from ESET Smart Security, version of virus signature 
database 4460 (20090926) __

The message was checked by ESET Smart Security.

http://www.eset.com












__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4468 (20090929) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



[amibroker] HELP: Trend Reversal Index

2009-09-27 Thread Mubashar Virk
I am trying to capture divergences on the TRI. I am sure I am missing 
something. Can someone please review the code.


pds = Param(Periods, 13, 3, 30, 1);

Pds1 = round(pds * 0.231); 

TRI = RSI(pds) + MA(RSI(pds1),pds);

Plot( TRI, TRI(+pds+,+pds1+), ParamColor( Color, colorCycle ), 
ParamStyle(Style) ); 

dp = Divergence(TRI, C, 0.75)==1;  // positive --- 

dn = Divergence(C, tri, 0.75)==-1; //negative --- 

shape = dp * shapeSmallCircle + dn * shapeSmallCircle ;

PlotShapes( shape, IIf( dp, colorGreen, colorRed ),0,TRI,0 );






__ Information from ESET Smart Security, version of virus signature 
database 4460 (20090926) __

The message was checked by ESET Smart Security.

http://www.eset.com



Re: [amibroker] (unknown)

2009-09-23 Thread Mubashar Virk



From: vijay aggarawal 
Sent: Thursday, September 24, 2009 9:44 AM
To: to=tiruc...@nda.vsnl.net.in ; confinel...@yahoo.com ; 
amibroker@yahoogroups.com ; commodit...@angelbroking.com ; 
etrad...@angelbroking.com ; vhidz...@email.com ; anupam30_g...@yahoo.com ; 
garganu...@ymail.com ; a...@indiainfoline.com ; ashoomee...@yahoo.com 
Subject: [amibroker] (unknown)


__ Information from ESET Smart Security, version of virus signature 
database 4452 (20090924) __

The message was checked by ESET Smart Security.

http://www.eset.com

Emoticon50.gif

Re: [amibroker] Help with MFI function

2009-09-20 Thread Mubashar Virk
nothing wrong there. if you want to run a scan use
:
periods = Param( Periods, 14, 2, 200, 1 );
Buy = Cross( (MFI( periods)), 20 ) ;
Sell = Cross( 80, (MFI( periods)) ) ;

or

add the following to the end of your AFL

Buy = BuyMFI;
Sell = SellMFI;

--
From: Vinay Gakkhar. vgakk...@yahoo.co.uk
Sent: Sunday, September 20, 2009 9:44 PM
To: Amibroker amibroker@yahoogroups.com
Subject: [amibroker] Help with MFI function

 Learned senior members,

 I need help with the MFI function.

 I want a buy signal when MFI has crossed 20 while going up, and a sell 
 signal when MFI has crossed 80 while going down.

 Can any of you please tell me what is wrong in the following formula? It 
 is showing me result 1 even when it should be 0.

 periods = Param( Periods, 14, 2, 200, 1 );
 BuyMFI = Cross( (MFI( periods)), 20 ) ;
 SellMFI = Cross( 80, (MFI( periods)) ) ;

 Many thanks.

 vgakkhar



 

  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.

 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com

 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)

 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/

 Yahoo! Groups Links




 __ Information from ESET Smart Security, version of virus 
 signature database 4441 (20090919) __

 The message was checked by ESET Smart Security.

 http://www.eset.com


 

__ Information from ESET Smart Security, version of virus signature 
database 4441 (20090919) __

The message was checked by ESET Smart Security.

http://www.eset.com







 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:amibroker-dig...@yahoogroups.com 
mailto:amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] Re: Problem using Automation with AB 5.28.1

2009-09-07 Thread Mubashar Virk
The meaning of The Meaning of Life, then. 


From: ozzyapeman 
Sent: Monday, September 07, 2009 12:49 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: Problem using Automation with AB 5.28.1


  Nah. A Monty Python movie already solved that one for me.

--- In amibroker@yahoogroups.com, sidhartha70 sidharth...@... wrote:

 The meaning of life...?
 
 --- In amibroker@yahoogroups.com, ozzyapeman zoopfree@ wrote:
 
  UAC turned off, now all scripts work again. No more mystery. Only the cold 
  hard facts of micro circuits and computer code.
  
  You have taken all the mystery out of my life! Now what should I ponder on 
  rainy days? :-)
  
  
  --- In amibroker@yahoogroups.com, Tomasz Janeczko groups@ wrote:
  
   Arghh... there is NO such thing as mystery in computers. You are 
   attempting to do operation that requires elevation and you get 
   the error because
   Vista does not allow you to do that. That's all. It does not matter what 
   version of AB you are using. All it matters is that you are
   trying to do priviliged op. And No files are written outside of the 
   AmiBroker directory is simply not true, because if you are not 
   setting the current working directory
   explicitely it may easily be C:\windows\ if you are using OLE from such 
   folder and then all your relative paths may land there.
   You may consult Microsoft web site about what operations require 
   elevation in Vista (links were listed in my previous post).
   That is entire story to it.
   Short resolution: turn this stupidest feature of Vista (i.e. UAC) off 
   or run AmiBroker with correct working directory set (from 
   the shortcut, for example).
   
   Best regards,
   Tomasz Janeczko
   amibroker.com
   - Original Message - 
   From: ozzyapeman zoopfree@
   To: amibroker@yahoogroups.com
   Sent: Sunday, September 06, 2009 7:27 PM
   Subject: [amibroker] Re: Problem using Automation with AB 5.28.1
   
   
Thanks TJ. I appreciate your feedback, as always.
   
But the point I was trying to make is that I have been running AB fine 
for many months on this Vista PC (starting with 5.10 FULL 
install, then 5.20 FULL install, then upgrade to the various betas 
thereafter).
   
On each install and upgrade there were no problems - I could run my 
automation scripts without incident. It's only with the latest 
5.28.1 that the scripts stopped working, giving the elevation error.
   
No files are written outside of the AmiBroker directory. Everything was 
installed there (again, FULL install). And then the 5.28.1 
Beta upgrade was run, in the exact same way that I have run every other 
upgrade since 5.20 (and I've installed all the betas, one 
after another, as soon as they were available). Never had any problems 
before, and that's why the current problem is a mystery.
   
   
   
   
--- In amibroker@yahoogroups.com, Tomasz Janeczko groups@ wrote:
   
Hello,
   
No, you completely miss how User Access Control works on Vista. The 
fact that you are logged as admin on vista means NOTHING.
Admin is normally degraded on vista and has NO rights other than 
normal user unless it is elevated. On Vista unelevated Admin
account means nothing.
Admin can NOT even create single
file in C:\Program Files\ without elevation, you can not register OLE 
servers, ActiveX controls, and you can not write to 
registry
HKEY_LOCAL_MACHINE.
You really NEED to read about UAC.
http://en.wikipedia.org/wiki/User_Account_Control
   
You are getting prompts because you either did not run FULL (not 
upgrade) setup of 5.20,
or you are attempting to create files inside C:\Program Files\ write 
to registry or such.
   
You must run FULL setup and you MUST NOT write anything outside 
AmiBroker directory (as installed by FULL 5.20 setup) on the C:
drive,
otherwise you need elevation.
   
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message - 
From: ozzyapeman zoopfree@
To: amibroker@yahoogroups.com
Sent: Sunday, September 06, 2009 5:50 PM
Subject: [amibroker] Re: Problem using Automation with AB 5.28.1
   
   
I had googled. My point is that I have always been using Vista, 
automation has always worked with AB, and I've made no changes 
on
my PC to any Vista settings, and yet automation no longer works with 
AB 5.28.1

 So something might have changed with AB 5.28.1 vs 5.27 and previous 
 versions that somehow affects that script call.

 The elevation error usually refers to the requirement to run 
 something with administrator privileges. But I am already logged 
 in
 as administrator, and AB has always been installed under Admin.



 --- In amibroker@yahoogroups.com, paultsho paul.tsho@ wrote:

 google your message, you'll get a lot of hits. its a Vista problem. 
 not a AB 

[amibroker] HELP with CODE

2009-09-06 Thread Mubashar Virk
Can someone please help with the code below. The longs and shorts are not 
platting... My mistake might be a very basic one, (I am sure I am messing it 
up with ValueWhen function) but I am unable to fix it.

Thanks.

///
Fim = (H-L)/V;

slick = IIf((V  Ref(V,-1) AND (fim  Ref(fim,-1))),2,0);
rake = IIf((V  Ref(V,-1)) AND (fim  Ref(fim,-1)),-2,0);
fall = IIf(fim  Ref(fim,-1) AND V  Ref(V,-1), -1,0);
green = IIf((V  Ref(V,-1) AND (fim  Ref(fim,-1))), 1,0);
Profit = slick + rake + fall + green;

DT = IIf(LValueWhen(LLV(L,7),L,2) AND ValueWhen(LLV(L,7),L,2) 
ValueWhen(LLV(L,7),L,3) AND H  ValueWhen(LLV(L,7),H,2) AND
ValueWhen(LLV(L,7),H,2)ValueWhen(LLV(L,7),H,3),-1,0);

UT = IIf(HValueWhen(HHV(H,7),H,2) AND ValueWhen(HHV(H,7),H,2) 
ValueWhen(HHV(H,7),H,3) AND L  ValueWhen(HHV(H,7),L,2) AND
ValueWhen(HHV(H,7),L,2)ValueWhen(HHV(H,7),L,3),1,0);

//long
lng = IIf(dt == -1 AND profit == 1 OR 2 AND
(ValueWhen(LLV(L,7),profit,2 == 1 OR 2) OR
(ValueWhen(LLV(L,7),profit,3 ==1 OR 2) AND
 H  ValueWhen(HHV(H,7),H,3))),1,0);

//short
sht = IIf(ut == 1 AND profit==1 OR 2 AND
(ValueWhen(HHV(H,7),profit,2 == 1 OR 2) OR
(ValueWhen(HHV(H,7),profit,3 ==1 OR 2) AND
 H  ValueWhen(LLV(L,7),L,3))),-1,0);
//
 


__ Information from ESET Smart Security, version of virus signature 
database 4400 (20090906) __

The message was checked by ESET Smart Security.

http://www.eset.com







 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:amibroker-dig...@yahoogroups.com 
mailto:amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



Re: [amibroker] Radar Screen or Market Scanner Feature

2009-07-12 Thread Mubashar Virk
AB is one up on that front, but you need to work on it. Please see 
Exploration section in help.

You may find multipurpose explorer or EOD scans in the Library or at 
amibrokerfan.com.
louies88 wrote:


 Does anyone know if AB ever include a scanner like that of 
 Tradestation? AB is great in ALMOST all aspect,except for its scanning 
 market capability.

 



[amibroker] Sugarcane cut-piece of love

2009-07-07 Thread Mubashar Virk
http://www.youtube.com/watch?v=dd4_nqCWihA  O:-)


Re: [amibroker] Checking code if it uses future values...

2009-07-02 Thread Mubashar Virk
Zigzag is forward looking.

shahariar4 wrote:


 Could any one here pls tell me if the following code is a forward 
 looking code? I have checked it with the Amibroker's code check tool 
 and there it says it does not refer future quotes but while using in 
 practical life it seems it references/uses future valuescan any 
 one pls check and tell whats the things about it...

 _SECTION_BEGIN(Zig Zag Spike);
 //--
 //
 // Formula Name: Zig Zag
 // Author/Uploader: Jeff
 // E-mail: jpar...@nobid.com mailto:jparent%40nobid.com
 // Date/Time Added: 2005-06-14 22:15:57
 // Origin:
 // Keywords:
 // Level: medium
 // Flags: indicator
 // Formula URL: http://www.amibroker.com/library/formula.php?id=472 
 http://www.amibroker.com/library/formula.php?id=472
 // Details URL: http://www.amibroker.com/library/detail.php?id=472 
 http://www.amibroker.com/library/detail.php?id=472
 //
 //--
 //
 // normal zig zag with following differences:
 //
 // - uses log difference instead of percentage
 //
 // - has trigger point indicating when highs and /lows were detected
 //
 // log difference is better because it is symmetrical, log(5/10) and 
 log(10/5)
 // has same absolute value, whereas 5/10 and 10/5 have different values.
 //
 // trigger is when you can make a trade. usually a rookie mistake, 
 trades are
 // shown to be made at the peaks and troughs of a move, especially in
 // backtesting.
 //
 //--

 // 'thold' is the threshold for the zig-zag turning points
 // it is set to a minimum of 2.5% (approx, uses log difference
 // which is more accurate) or a volatility measure
 // based on 2 day range over the past 100 days

 min_thold=0.025;
 thold=Max(min_thold,Median(ln(HHV(H,2)/LLV(L,2)),100));
 thold=IIf(IsEmpty(thold),min_thold,thold);

 // 't' is a multiplier of 'thold'
 // the larger the value of 't', the more significant the
 // turning point. Adjust it by opening the Parameter window
 // (press ctrl-R)

 t=Param(significance,2,2,6,1);

 // initialization of variables

 d=init=trig=HH=LL=z=0;

 // main body
 // this program is different than the canned zigzag in that
 // it is symmetrical, it does not use percentages, but rather
 // log differences. close price is not used either. high and
 // low trades are used. an additional item is the trigger
 // indicator. it shows the point where the zig or zag was
 // identified.

 for(i=1;iBarCount;i++){
 if (log(H[i]/L[init])HH) HH=log(H[i]/L[init]);
 if (log(L[i]/H[init])LL) LL=log(L[i]/H[init]);
 if (HH(t*thold[init])  d=0)
 { z[init]--; trig[i]=-0.5; d=1;init=i;HH=0;LL=0; }

 if (H[i]H[init]  d==1){init=i;LL=0;}

 if (LL(-t*thold[init])  d=0)
 { z[init]++; trig[i]=0.5; d=-1;init=i;HH=0;LL=0; }

 if (L[i]L[init]  d==-1){init=i;HH=0;}
 }

 z_up=z0; z_dn=z0;

 Plot(z_up,zig,colorGreen,1);
 Plot(-z_dn,zag,colorRed,1);
 Plot(trig,trigger,colorBlue,1);
 _SECTION_END();

 



Re: [amibroker] OT: zboard

2009-06-24 Thread Mubashar virk
You are doing it fine. And thank you for that.


From: brian_z111 
Sent: Wednesday, June 24, 2009 6:26 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] OT: zboard





A reminder that the zboard is a site with some educational material for 
non-mathematicians who are interested in applying statistical analysis to 
trading.

Occasionally new material is added.

The zboard is a (NewAge) ebook without a formal structure of any kind ... even 
the author doesn't know where it starts and ends .. once written, he can't find 
all of the pages againso what chance does anyone else have?

(the occasional updated summary seems to help).

One of the things I am doing, over there, is proselytizing for 'naive maths'.
If you visit the site you will be left in no doubt about what naive maths is!

Note that uploads to the zboard are not necessarily announced here, however the 
site does have RSS feed enabled.

(sometimes I upload files to the Downloads page without an accompanying post so 
not all new material will be announced ... entropy rules (in this case it comes 
in the guise of minimalism)).

It is the home of CoreMetric evaluation and BiSim ... BiSim is unusual in that 
it uses both the BiNomial distribution and an empirical distribution (for the 
concerned it does not depend on any distribution of the trades for its 
predictions).

Argument rages over whether market distributions are normal, or something else 
... Mandelbrot is criticized by some because he assumes variance is infinite .. 
others model variance of the variance (GArch etc) ... others stay true to Gauss.

So far, no one seems to have noticed that BiSim models, the extremely 
problematic, fat tails quite easily ...no fussing around required (I think .. 
haven't actually checked it yet .. as I said before .. I am working live!) ... 
possibly something to do with the pragmatic use of the empirical dist and also 
how/why fat tails occur in the market.

Nothing at the zboard is copyright .. it is all opensource or copyleft or 
whatever.

I would be chuffed if any of my ideas/terminology/ideas/methods ever appeared 
in print (hardcopy), or software applications and if any of it ever ends up in 
an academic paper I will immediately go on holiday to the beach and enjoy the 
moment with a class of wine, on the verandah, overlooking the sea.

It is all 100% free.

The purpose of computing is insight, not numbers.

... you beaut mathematician, Richard W Hamming.

http://zboard.wordpress.com/

Nothing is permanent.





Re: [amibroker] MetaStock's PREV

2009-06-16 Thread Mubashar virk
This is an excellent explanation and very example.
Thank you very much.

--
From: Thomas Ludwig thomas.lud...@gmx.de
Sent: Tuesday, June 16, 2009 7:00 PM
To: amibroker@yahoogroups.com
Subject: Re: [amibroker] MetaStock's PREV

 Hello,

 TJ once wrote:

 [quote]
 Hello,

 PREV in MS is needed because MS does NOT have looping.

 In AB, there are loop constructs so there is no need for PREV
 because loops give faster and more general way of solving coding problems.

 Since loops are more general they allow easy translation of every
 case where MS needs PREV.

 Statment like this:
 Z =(A*B)+(C*PREV);

 Using loop looks as follows:

 z = 0; // initialize
 for( i = 1; i  BarCount; i++ )
 {
  prev = Z[ i - 1 ]; // PREV is previous value of Z.
  Z[ i ] = A[ i ] * B[ i ] + C[ i ] * prev;
 }

 As you can see the statement is identical with the exception that
 AFL looping code uses [ ]  operator to access individual array elements.

 Good thing is that AFL looping code is BarCount-times faster than MS code.
 Since 5 years of EOD data is 1300 bars, AFL looping code is 1300 times 
 faster
 than MS in that case.

 It is also possible to use AMA/AMA2 instead of PREV:

 Z = AMA2( A, B, C );

 which is shorter but AMA is less general than looping code.
 [/quote]

 HTH

 Greetings,

 Thomas


 On 15.06.2009, 13:06:00 Mubashar virk wrote:
 Hi all,

 Has any one worked out a universal AFL Function = the perversity in
 MetaStock that is called  PREV.

 Thanks


 

  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.

 TO GET TECHNICAL SUPPORT send an e-mail directly to
 SUPPORT {at} amibroker.com

 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)

 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/

 Yahoo! Groups Links







 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/

* Your email settings:
Individual Email | Traditional

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

* To change settings via email:
mailto:amibroker-dig...@yahoogroups.com 
mailto:amibroker-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
amibroker-unsubscr...@yahoogroups.com

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



[amibroker] MetaStock's PREV

2009-06-15 Thread Mubashar virk
Hi all,

Has any one worked out a universal AFL Function = the perversity in MetaStock 
that is called  PREV.

Thanks

Re: [amibroker] MetaStock's PREV

2009-06-15 Thread Mubashar virk
Thanks, TJ.
I will look into the archives.


From: Tomasz Janeczko 
Sent: Monday, June 15, 2009 3:43 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] MetaStock's PREV






No, because it is sick idea implemented in MS because they don't have a normal 
loop construct in the language.
Metastock PREV essentially re-calculates entire array (number of bars)-times 
resulting (number of bars) performance degradation.
So if you have say 1 bars, the code runs 1 slower.

Everything that you do in MS using PREV should be coded using the loop in first 
place instead 
- and the resulting code will be 2 or 4 orders of magnitude faster.

Search the archive of the mailing list how to write loop equivalent.

Best regards,
Tomasz Janeczko
amibroker.com
  - Original Message - 
  From: Mubashar virk 
  To: amibroker@yahoogroups.com 
  Sent: Monday, June 15, 2009 1:06 PM
  Subject: [amibroker] MetaStock's PREV


  Hi all,

  Has any one worked out a universal AFL Function = the perversity in MetaStock 
that is called  PREV.

  Thanks



Re: [amibroker] All failing systems will eventually start working

2009-06-07 Thread Mubashar virk
Here is a static/dynamic AFL for you guys. Unfortunately, people who spend 
too much time thinking theoretical dimensions of trading systems may not be 
able to back/forward test it. 
//Start
Trading Success = All that which was silly is wise == All that which was wise 
is silly;
//END



From: dingo 
Sent: Sunday, June 07, 2009 9:20 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] All failing systems will eventually start working






All threads about winning and failing systems disolve into silliness and 
eventually fail themselves.

d


On Sun, Jun 7, 2009 at 12:12 PM, Ron Rowland rowl...@ccam.com wrote:

  1) If a system does not work, then taking the other side of the system does 
work.
  2) If all systems eventually fail, then taking the other side of the failing 
system will eventually fail.
  3) When the other side fails, then the primary system must be working.
  4) Therefore, all failing systems will eventually start working.

  QED





  

   IMPORTANT PLEASE READ 
  This group is for the discussion between users only.
  This is *NOT* technical support channel.

  TO GET TECHNICAL SUPPORT send an e-mail directly to
  SUPPORT {at} amibroker.com

  TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
  http://www.amibroker.com/feedback/
  (submissions sent via other channels won't be considered)

  For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  http://www.amibroker.com/devlog/

  Yahoo! Groups Links







Emoticon3.gif

Re: [amibroker] Do all trading systems stop working? - Howard Bandy's book

2009-05-31 Thread Mubashar virk
Dr. Bandy might have theorized on the probability of mathematical exhaustion of 
the trading systems. Such a possibility indeed exists: keeping all else equal, 
if one start counting forward from 1 then one should be able to count till the 
last number. 

However, in practical term there should not be an end to the trading system 
evolution and adaptation.

From: samu_trading 
Sent: Sunday, May 31, 2009 10:44 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Do all trading systems stop working? - Howard Bandy's book





All,

In his really good book Quantitative Trading Systems, Howard states that all 
trading systems will stop working forever at some point (because the 
inefficiency in the market they exploit will be killed by everybody jumping on 
board).

On the other hand you have momentum / ROC based systems working forever now, 
same for trend following MA crossover systems like The one propagated by Mebane 
Faber. Momentum and MA rossover trendfollowing does seem to work forever.

Any comments from the gurus here?

Thanks, Samantha





Re: [amibroker] A little help please....

2009-05-26 Thread Mubashar virk
Yes.


From: bretsmiles 
Sent: Thursday, May 21, 2009 5:08 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] A little help please







I am excited about what I see so far as I review Amibroker software, but I want 
to make sure before I make the purchase I am clear about a few issues. I have 
programming background if that helps.

1) When running the scan, backtest, and getting the results, can I add columns 
to the result page that display indicators value, like the RSI (14) was at 44 
and ADXR at 23 on that date?

2) Can I write and display a result column that would contain the results of a 
customize exit formula, for example, if the stock gaps open 3% then sell, if 
not, then sell at next days open?

3) Is it possible to write code that would rank a particular field within the 
scan, what I mean is, if I have a scan that picks up 12 stocks that meet the 
criteria RSI(14) value above 80 but I want to rank them based on their RSI(14) 
value, from greatest to least for each day and only display the top 3. So for 
example, the result screen would only display the top 3 stocks with values 99, 
97, 95 (as example) and not the other 9 whose values were greater than 80 but 
not the three highest?

Thank you so much for your time, any help in this matter is appreciated.

Bret





Re: [amibroker] Newbie here......Question about PPO

2009-05-26 Thread Mubashar virk
please google for PPO+Amibroker, you will find the code.


From: bretsmiles 
Sent: Saturday, May 23, 2009 6:56 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Newbie here..Question about PPO





I do not see the PPO as an indicator in the AFL. Does it go by another name or 
is something we have to create ourselves.Thanks in advance?





Re: [amibroker] How can one sort the Industrys under the Sector list in AB ?

2009-05-14 Thread Mubashar virk
I have renamed the first sector  Industries as INDICES. I have copied all 
indices to it. All the composite go to it automatically. It works. 


From: gmorlosky 
Sent: Friday, May 15, 2009 3:04 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] How can one sort the Industrys under the Sector list in AB 
?





Under Symbols  Sectors  Basic Material  multiple industrys, the industrys 
are not in alphabetic order.

Is there any way to fix that ?

Example:
All
Markets
Groups
Sectors
Basic Materials
Industrial Metals  Minerals
Steel  Iron
Synthetics
Oil  Gas Refining  Marketing
Independent Oil  Gas
Major Integrated Oil  Gas
Oil  Gas Drilling  Exploration
Oil  Gas Equipment  Services
Oil  Gas Pipelines
Specialty Chemicals
Copper
Gold
Agricultural Chemicals
Aluminum
Silver
Chemicals - Major Diversified
Nonmetallic Mineral Mining





Re: [amibroker] Re: HELP: Code Compaction

2009-05-12 Thread Mubashar virk
This is Beautiful. Thanks.


From: brianw468 
Sent: Monday, May 11, 2009 12:22 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: HELP: Code Compaction





Is this more compact again?

 _SECTION_BEGIN(code compaction);
 Len = Param(length,21,1,200,1);
 V1 = MA(C,len)*1618;
V2 = Ref(V1,-5);
dn = IIf(V1V2,V1-V2,0);
up = IIf(V1V2,V1-V2,0);
 Plot(dn, , colorRed, styleThick);
 Plot(up, , colorLime, styleThick);
 _SECTION_END();
Brian

--- In amibroker@yahoogroups.com, John J j_joh...@... wrote:

 some slight reduction in execution time... Hope this is what you mean by 
 compaction...
  
  
 _SECTION_BEGIN(code compaction);
 Len = Param(length,21,1,200,1);
 Val1 = MA(C,len);
 dn = IIf( (val1 - (Ref(val1,-5))) * (1000) * (1.618)  0,(val1 - 
 (Ref(val1,-5))) * (1000) * (1.618),0);
 up = IIf( (val1 - (Ref(val1,-5))) * (1000) * (1.618)  0,(val1 - 
 (Ref(val1,-5))) * (1000) * (1.618),0);
 Plot(dn, , colorRed, styleThick);
 Plot(up, , colorLime, styleThick);
 _SECTION_END();
  
  
 Regards,
 John 
 
 --- On Mon, 5/11/09, dingo waledi...@... wrote:
 
 From: dingo waledi...@...
 Subject: Re: [amibroker] HELP: Code Compaction
 To: amibroker@yahoogroups.com
 Date: Monday, May 11, 2009, 2:18 AM
 
 
 
 
 
 
 
 
 
 Len=Param(length,21,9,200,1) ;
 Plot(IIf((MA( C,len)-(Ref( MA(C,len) ,-5)))*(1000) *(1.618)0,(MA(C,len) 
 -(Ref(MA( C,len),-5) ))*(1000) *(1.618), 0),,colorRed,styleThic k);
 Plot(IIf((MA( C,len)-(Ref( MA(C,len) ,-5)))*(1000) *(1.618)0,(MA(C,len) 
 -(Ref(MA( C,len),-5) ))*(1000) *(1.618), 0),,colorLime,styleThi ck);
  
 d
 
 
 On Sun, May 10, 2009 at 5:15 PM, Mubashar Virk mvir...@gmail. com wrote:
 
 
 
 
 
 
 Can someone please help in compacting this code:
 Len = Param(length,21,9,200,1);
 dn = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) 
 - (Ref(MA(C,len),-5))) * (1000) * (1.618),0);
 up = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) 
 - (Ref(MA(C,len),-5))) * (1000) * (1.618),0);
 Plot(dn, , colorRed, styleThick); 
 Plot(up, , colorLime, styleThick);
 
 
 
  






Re: [amibroker] Re: Performance of anti virus programs

2009-05-12 Thread Mubashar virk
NOD32.


From: kevin...@aol.com 
Sent: Wednesday, May 13, 2009 4:50 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] Re: Performance of anti virus programs






I'm looking for a anti Virus program. have done some tests and decided the 
Virus S/W is worse than any virus I've had...

Huge difference in run speed on many programs

So is there any virus S/W out there that you can exclude file types from 
scanning?

Kevin Campbell



In a message dated 3/26/2009 11:14:11 A.M. Central Daylight Time, 
gro...@amibroker.com writes:
  No matter what antivirus is used, it is always recommended
  to turn OFF virus checking on DATA files, especially inside
  AmiBroker database folders, because no matter how antivirus is written,
  checking data files by antivirus can slow the performance of scans
  by factor of 10. Checking data files anyway has no sense because
  the data are never executed.

  Best regards,
  Tomasz Janeczko
  amibroker.com
  - Original Message - 
  From: Steve Dugas sjdu...@comcast.net
  To: amibroker@yahoogroups.com
  Sent: Thursday, March 26, 2009 4:53 PM
  Subject: Re: [amibroker] Re: Performance of anti virus programs


   Hi - FWIW, the latest Norton product has been seriously reworked and the 
   improvments have gotten some pretty good reviews, better than the 2009 
   versions of most other security suites.  Much less of a drag on the system 
   now, and they want to prove it to you so they have added this monitor so 
you 
   can look at the CPU load and how much of it is attributable to NIS.  Just 
   thought I would pass it along FYI...
   
   Steve
   
   - Original Message - 
   From: Mike sfclimb...@yahoo.com
   To: amibroker@yahoogroups.com
   Sent: Thursday, March 26, 2009 1:43 AM
   Subject: [amibroker] Re: Performance of anti virus programs
   
   
   But only about 30 written by TJ :)
  
   Most likely candidate is this:
   http://finance.groups.yahoo.com/group/amibroker/message/123867
  
   P.S. I'm always logged in, and I still get many many many failed searches.
  
   Mike
  
   --- In amibroker@yahoogroups.com, Paul Ho paul.t...@... wrote:
  
   The server is always busy for those who dont bother to log in.
   login first and do the search and you will get the result. Just checked 
   myself. There are 214 hits with Norton anti virus.
  
   --- In amibroker@yahoogroups.com, umrperumal umrperumal@ wrote:
   
Hi,
   
In one of his messages, TJ has given a detailed analysis of performance 
of various anti virus programs with respect to time taken for each 
process.   He has shown that Norton anti virus program takes more time 
(and hence machine gets slower) compared to other programs.
   
I am not able to get hold of that msg since yahoo group search engine 
always reports server busy error and i am not able to see the 
message.
   
Can TJ or anybody has any pointer to the msg.  Thanks in advance
   
Perumal
   
  
  
  
  
  
   
  
    IMPORTANT PLEASE READ 
   This group is for the discussion between users only.
   This is *NOT* technical support channel.
  
   TO GET TECHNICAL SUPPORT send an e-mail directly to
   SUPPORT {at} amibroker.com
  
   TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
   http://www.amibroker.com/feedback/
   (submissions sent via other channels won't be considered)
  
   For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
   http://www.amibroker.com/devlog/
  
   Yahoo! Groups Links
  
  
  
   
   
   
   
   
    IMPORTANT PLEASE READ 
   This group is for the discussion between users only.
   This is *NOT* technical support channel.

   
   TO GET TECHNICAL SUPPORT send an e-mail directly to 
   SUPPORT {at} amibroker.com
   
   TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
   http://www.amibroker.com/feedback/
   (submissions sent via other channels won't be considered)
   
   For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
   http://www.amibroker.com/devlog/
   
   Yahoo! Groups Links
   
   
   
  


  

   IMPORTANT PLEASE READ 
  This group is for the discussion between users only.
  This is *NOT* technical support channel.

  TO GET TECHNICAL SUPPORT send an e-mail directly to 
  SUPPORT {at} amibroker.com

  TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
  http://www.amibroker.com/feedback/
  (submissions sent via other channels won't be considered)

  For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  http://www.amibroker.com/devlog/

  Yahoo! Groups Links







Recession-proof vacation ideas. Find free things to do in the U.S.



Re: [amibroker] Re: Expectancy - and related--specifically K-rato

2009-05-10 Thread Mubashar Virk
Hi Brian,

Please understand that I intend no disrespect. I am a fan of yours (I have 
almost have all of your AFLs)  and other friends who are engaged in this higher 
order discussion. 
It is just that I feel that an ordinary trader:

1. needs to study the market over time
2. have a couple of simple systems (trend lines, averages, chart or price 
patterns).
3. have a money management system (stop-loss, equity commitment  allocation 
rules, etc.)

Optimization, forward testing, oosings and aasings, and expectancies are more 
of academic pursuits, and results have limited application because of the 
market is stationary assumption.



From: brian_z111 
Sent: Sunday, May 10, 2009 6:10 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: Expectancy - and related--specifically K-rato





Hi Mubashar,

I am pretty certain that you have had a better math education than moi.

I am surprized that you didn't answer the question for the benefit of the forum 
yourself.

On a case by case basis your frequency distribution is probably not normal.

However cumulative distribution is asymptotic and so if you reference the CD, 
for any trading system, it will give you the prob of receiving any particular 
value on your next trade.

(This assumes that the market is stationary).

It is very hard to find any firm footing, anywhere, in system evaluation but 
the CD is one place were we can start to approach something akin to certainty 
(as N -- oo)

oo infinity

In fact my .xl file on BiSim, posted at the Zboard) relies on this principle to 
do a quite good job of predicting the distribution of equity outcomes for a 
trading system with a non-N dist of the trades.

--- In amibroker@yahoogroups.com, Mubashar Virk mvir...@... wrote:

 Sorry to barge in, if I make 100 points on a system after oosing and aasing, 
 what is the probability that I will make 100 points in actual real life trade?
 
 
 From: Howard B 
 Sent: Saturday, May 09, 2009 5:45 PM
 To: amibroker@yahoogroups.com 
 Subject: Re: [amibroker] Re: Expectancy - and related--specifically K-rato
 
 
 
 
 
 Hi Keith, and all --
 
 Exactly my point.
 
 Thanks,
 Howard
 
 
 
 
 On Fri, May 8, 2009 at 10:26 PM, Keith McCombs kmcco...@... wrote:
 
 
 
 
 I've been told that no question is a dumb question. So here goes:
 If I have a system with good OOS performance, why should I care what the IS 
 performance is? And similarly, why should I care what the OOS/IS ratio is?
 
 Couldn't it be more important that I have a high OOS/BH (buy and hold) ratio, 
 so that I don't confuse brains with a bull market? Or at least something 
 that gives me confidence that I haven't just accidentally stumbled on a once 
 in a lifetime event, that, of coarse, will disappear the minute I start 
 trading real money? Does OOS/IS ratio somehow help?
 -- Keith
 
 
 
 brian_z111 wrote: 
  I also create a t-test of the ave returns.
 
 How do you do that?
 
 --- In amibroker@yahoogroups.com, Rajiv Arya rajivarya87@ wrote:
 
  
  I also create a t-test of the ave returns.
  
  The in-sample is almost always significant
  
  And try to have the out of sample t-test greater than 1.64, which happens 
  for about 50% for the out-of sample results.
  
  
  
  
  
  
  
  To: amibroker@yahoogroups.com
  From: dloyer123@
  Date: Sat, 9 May 2009 03:03:16 +
  Subject: [amibroker] Re: Expectancy - and related--specifically K-rato
  
  
  
  
  
  
  
  --- In amibroker@yahoogroups.com, Rajiv Arya rajivarya87@ wrote:
  
   
   I like to compute a ratio of the out-sample metric and divide it by the 
   in-sample metric. 
   
   And I like to look for multiple runs of out-sample/in-sample ratio to be 
   above 0.5 and with little fluctuation.
   
  
  That is similar to Pardo's WFE (Walk forward efficiency), or a measure of 
  how much curve fitting inflated test results. Pardo suggests taking the 
  concatenated out of sample returns and divide by the result treating the 
  entire combined data set as in sample. Anything below 0.65 will probably 
  not trade well live. The higher, the better.
  
  
  
  
  
  
  
  
  
  __
  Hotmail® has a new way to see what's up with your friends.
  http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
 






[amibroker] HELP: Code Compaction

2009-05-10 Thread Mubashar Virk
Can someone please help in compacting this code:

Len = Param(length,21,9,200,1);

dn = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) - 
(Ref(MA(C,len),-5))) * (1000) * (1.618),0);

up = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) - 
(Ref(MA(C,len),-5))) * (1000) * (1.618),0);

Plot(dn, , colorRed, styleThick);

Plot(up, , colorLime, styleThick);





Re: [amibroker] HELP: Code Compaction

2009-05-10 Thread Mubashar Virk
Thanks Dingo 


From: dingo 
Sent: Monday, May 11, 2009 1:48 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] HELP: Code Compaction






Len=Param(length,21,9,200,1);
Plot(IIf((MA(C,len)-(Ref(MA(C,len),-5)))*(1000)*(1.618)0,(MA(C,len)-(Ref(MA(C,len),-5)))*(1000)*(1.618),0),,colorRed,styleThick);
Plot(IIf((MA(C,len)-(Ref(MA(C,len),-5)))*(1000)*(1.618)0,(MA(C,len)-(Ref(MA(C,len),-5)))*(1000)*(1.618),0),,colorLime,styleThick);

d


On Sun, May 10, 2009 at 5:15 PM, Mubashar Virk mvir...@gmail.com wrote:




  Can someone please help in compacting this code:

  Len = Param(length,21,9,200,1);

  dn = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) 
- (Ref(MA(C,len),-5))) * (1000) * (1.618),0);

  up = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  0,(MA(C,len) 
- (Ref(MA(C,len),-5))) * (1000) * (1.618),0);

  Plot

  (dn, , colorRed, styleThick); 
  Plot

  (up, , colorLime, styleThick);









Emoticon1.gif

Re: [amibroker] HELP: Code Compaction

2009-05-10 Thread Mubashar Virk
This is very nice sir. Thank you.


From: John J 
Sent: Monday, May 11, 2009 8:42 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] HELP: Code Compaction





  some slight reduction in execution time... Hope this is what you mean by 
compaction...


  _SECTION_BEGIN(code compaction);
  Len = Param(length,21,1,200,1);
  Val1 = MA(C,len);
  dn = IIf( (val1 - (Ref(val1,-5))) * (1000) * (1.618)  0,(val1 - 
(Ref(val1,-5))) * (1000) * (1.618),0);
  up = IIf( (val1 - (Ref(val1,-5))) * (1000) * (1.618)  0,(val1 - 
(Ref(val1,-5))) * (1000) * (1.618),0);
  Plot
  (dn, , colorRed, styleThick); 
  Plot
  (up, , colorLime, styleThick); 
  _SECTION_END
  (); 


  Regards,
  John 

  --- On Mon, 5/11/09, dingo waledi...@gmail.com wrote:

From: dingo waledi...@gmail.com
Subject: Re: [amibroker] HELP: Code Compaction
To: amibroker@yahoogroups.com
Date: Monday, May 11, 2009, 2:18 AM


Len=Param(length,21,9,200,1) ;
Plot(IIf((MA( C,len)-(Ref( MA(C,len) ,-5)))*(1000) 
*(1.618)0,(MA(C,len) -(Ref(MA( C,len),-5) ))*(1000) *(1.618), 
0),,colorRed,styleThic k);
Plot(IIf((MA( C,len)-(Ref( MA(C,len) ,-5)))*(1000) 
*(1.618)0,(MA(C,len) -(Ref(MA( C,len),-5) ))*(1000) *(1.618), 
0),,colorLime,styleThi ck);

d


On Sun, May 10, 2009 at 5:15 PM, Mubashar Virk mvir...@gmail. com 
wrote:




  Can someone please help in compacting this code:
  Len = Param(length,21,9,200,1);
  dn = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  
0,(MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618),0);
  up = IIf( (MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618)  
0,(MA(C,len) - (Ref(MA(C,len),-5))) * (1000) * (1.618),0);
  Plot
  (dn, , colorRed, styleThick); 
  Plot
  (up, , colorLime, styleThick);







 





Re: [amibroker] Re: Expectancy - and related--specifically K-rato

2009-05-09 Thread Mubashar Virk
Sorry to barge in, if I make 100 points on a system after oosing and aasing, 
what is the probability that I will make 100 points in actual real life trade?


From: Howard B 
Sent: Saturday, May 09, 2009 5:45 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] Re: Expectancy - and related--specifically K-rato





Hi Keith, and all --

Exactly my point.

Thanks,
Howard




On Fri, May 8, 2009 at 10:26 PM, Keith McCombs kmcco...@engineer.com wrote:




  I've been told that no question is a dumb question.  So here goes:
  If I have a system with good OOS performance, why should I care what the IS 
performance is?  And similarly, why should I care what the OOS/IS ratio is?

  Couldn't it be more important that I have a high OOS/BH (buy and hold) ratio, 
so that I don't confuse brains with a bull market?  Or at least something 
that gives me confidence that I haven't just accidentally stumbled on a once in 
a lifetime event, that, of coarse, will disappear the minute I start trading 
real money?  Does OOS/IS ratio somehow help?
  -- Keith



  brian_z111 wrote: 
 I also create a t-test of the ave returns.

How do you do that?

--- In amibroker@yahoogroups.com, Rajiv Arya rajivary...@... wrote:

 
 I also create a t-test of the ave returns.
 
 The in-sample is almost always significant
 
 And try to have the out of sample t-test greater than 1.64, which happens 
for about 50% for the out-of sample results.
 
 
 
 
 
 
 
 To: amibroker@yahoogroups.com
 From: dloyer...@...
 Date: Sat, 9 May 2009 03:03:16 +
 Subject: [amibroker] Re: Expectancy - and related--specifically K-rato
 
 
 
 
 
 
 
 --- In amibroker@yahoogroups.com, Rajiv Arya rajivarya87@ wrote:
 
  
  I like to compute a ratio of the out-sample metric and divide it by the 
in-sample metric. 
  
  And I like to look for multiple runs of out-sample/in-sample ratio to 
be above 0.5 and with little fluctuation.
  
 
 That is similar to Pardo's WFE (Walk forward efficiency), or a measure of 
how much curve fitting inflated test results. Pardo suggests taking the 
concatenated out of sample returns and divide by the result treating the entire 
combined data set as in sample. Anything below 0.65 will probably not trade 
well live. The higher, the better.
 
 
 
 
 
 
 
 
 
 __
 Hotmail® has a new way to see what's up with your friends.
 
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009









[amibroker] Pascal Willain's Effective Volume

2009-05-07 Thread Mubashar Virk
Has anyone coded Pascal Willain's Effective Volume for EOD analysis?

Re: [amibroker] Re: Cycles Tool - Finding cylic stocks

2009-05-06 Thread Mubashar Virk
You may like to look for Ehlers in the library.


From: gmorlosky 
Sent: Wednesday, May 06, 2009 9:07 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: Cycles Tool - Finding cylic stocks





Is there any code around that will check for cylic-ness ? Some stocks tend to 
go thru quarterly cycles (more or less) on a routine basis no matter what the 
major trend is.

--- In amibroker@yahoogroups.com, wavemechanic fim...@... wrote:

 AB's cycle tool does not support being able to specify a specific cycle 
 length although that is a often found as a standard feature in charting 
 programs. You could suggest that this be included in future updates in the 
 feedback section. In the meantime, you have to write code for what you want - 
 there might be some in the library or knowledge base that would provide a 
 starting point.
 
 Bill
 - Original Message - 
 From: larypowell 
 To: amibroker@yahoogroups.com 
 Sent: April 14, 2009 1:04 AM
 Subject: RE: [amibroker] Re: Cycles Tool
 
 
 Blair, I appreciate the help, but that isn't what I need. Suppose, I want
 to set the cycle for 233 bars, how do you do that without counting out 233
 bars? A very useful approach would be to have a bars selection instead of
 just dates. This feature is in the Automatic Analysis, imagine how hard
 that tool would be to use if you always had to know the dates you wanted to
 test over.
 
 Larry M. Powell
 
 
 -Original Message-
 From: amibroker@yahoogroups.com [mailto:amibro...@yahoogroups.com] On Behalf
 Of Blair
 Sent: Monday, April 13, 2009 7:42 PM
 To: amibroker@yahoogroups.com
 Subject: [amibroker] Re: Cycles Tool
 
 Larry,
 
 If you are talking about the cycle tool in the tool bar, you just drag it to
 whatever size you want.
 
 Click on the tool, Click AND HOLD the mouse button down on the bar you want
 to start on, and DRAG out to the distance you want - Watch the lower left of
 the screen to see how many bars your cycle length is...
 
 Hope this helps.
 
 Blair
 
 
 
 
 
  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.
 
 TO GET TECHNICAL SUPPORT send an e-mail directly to 
 SUPPORT {at} amibroker.com
 
 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)
 
 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
  IMPORTANT PLEASE READ 
 This group is for the discussion between users only.
 This is *NOT* technical support channel.
 
 TO GET TECHNICAL SUPPORT send an e-mail directly to 
 SUPPORT {at} amibroker.com
 
 TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
 http://www.amibroker.com/feedback/
 (submissions sent via other channels won't be considered)
 
 For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
 http://www.amibroker.com/devlog/
 
 Yahoo! Groups Links






Re: [amibroker] What's your favorite background color?

2009-05-03 Thread Mubashar Virk
Vey interesting. I never thought about bars vs. patterns. I use black only 
because white is a pain to look at.



From: tradinghumble 
Sent: Monday, May 04, 2009 8:30 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] What's your favorite background color?





I normally use white as background but recently noticed that by using black I 
focus a lot more on individual bars where as with the white background I tend 
to look more at the patterns...

do you have similar experience? What color do you use?





Re: [amibroker] HELP: Fractals are not Plotting

2009-04-28 Thread Mubashar Virk
Yes, re future.
Thanks about the IIFs. 


From: Tomasz Janeczko 
Sent: Monday, April 27, 2009 4:57 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] HELP: Fractals are not Plotting





 

All those IIF are not needed at all, because boolean conditions result in 1 or 
0 results by themselves:

So you can REMOVE all those IIFs.

FD1 = H  Ref(H,2) AND H  Ref(H,1) AND H  Ref(H,-1) AND H  Ref(H,-2));
FD2 = H  Ref(H, 3 ) AND FD1;
FD3 = H  Ref(H, 4 ) AND FD2;

BTW: You are aware that your code looks into the future, aren't you?

Best regards,
Tomasz Janeczko
amibroker.com
  - Original Message - 
  From: Mubashar Virk 
  To: amibroker@yahoogroups.com 
  Sent: Sunday, April 26, 2009 9:20 AM
  Subject: Re: [amibroker] HELP: Fractals are not Plotting


  WOW! To the Simplicity of the AFL!!
  Thank you very much, sir.


  From: wavemechanic 
  Sent: Sunday, April 26, 2009 3:10 AM
  To: amibroker@yahoogroups.com 
  Subject: Re: [amibroker] HELP: Fractals are not Plotting


   

  Change your definitions as follows:

  fd1 = iif(  , 1, 0);
  fd2 = iif( h  ref(h, 3) and fd1, 1, 0);
  fd2 = iif( h  ref(h, 4) and fd2, 1, 0);

  and the same for fu1, fu2, and fu3

  Then it will plot OK
- Original Message - 
From: Mubashar Virk 
To: amibroker@yahoogroups.com 
Sent: April 25, 2009 5:55 PM
Subject: [amibroker] HELP: Fractals are not Plotting


Can someone please help with the following code. I am not getting the 
fractal shapes to plot.
THanks in advance.

COLOR = IIf(C  O, colorGreen, colorRed);


//SetChartOptions(0,chartShowDates|chartShowArrows|chartLogarithmic|chartWrapTitle);

_N( Title = StrFormat( {{NAME}} -  + SectorID( 1 ) +  - {{INTERVAL}} 
{{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol  + WriteVal( V, 1.0 ) + 
 {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );

Plot( C, Close, Color, styleBar | styleThick | styleNoTitle );

 

_SECTION_BEGIN(F);

//SetBarsRequired(200,0);

FD1 = IIf((H  Ref(H,2) AND H  Ref(H,1) AND H  Ref(H,-1) AND H  
Ref(H,-2)),1,0);

FD2 = IIf((H  Ref(H,3) AND H  Ref(H,2) AND H=Ref(H,1) AND H  Ref(H,-1) 
AND H  Ref(H,-2)),1,0);

FD3 = IIf((H  Ref(H,4) AND H  Ref(H,3) AND H=Ref(H,2) AND H = Ref(H,1) 
AND H  Ref(H,-1) AND H  Ref(H,-2)),1,0);

 

FU1 = IIf((L  Ref(L,2) AND L  Ref(L,1) AND L  Ref(L,-1) AND L  
Ref(L,-2)),1,0);

FU2 = IIf((L  Ref(L,3) AND L  Ref(L,2) AND L = Ref(L,1) AND L  Ref(L,-1) 
AND L  Ref(L,-2)),1,0);

FU3 = IIf((L  Ref(L,4) AND L  Ref(L,3) AND L = Ref(L,2) AND L = Ref(L,1) 
AND L  Ref(L,-1) AND L  Ref(L,-2)),1,0);

 

PlotShapes( IIf(FD1 OR FD2 OR FD3, shapeSmallCircle,0) , 
colorOrange,0,H,10);

PlotShapes( IIf(FU1 OR FU2 OR FU3, shapeSmallCircle,0) , colorLime,0,L,-10);

_SECTION_END();



Emoticon41.gif

Re: [amibroker] HELP: Fractals are not Plotting

2009-04-27 Thread Mubashar Virk
WOW! To the Simplicity of the AFL!!
Thank you very much, sir.


From: wavemechanic 
Sent: Sunday, April 26, 2009 3:10 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] HELP: Fractals are not Plotting





 

Change your definitions as follows:

fd1 = iif(  , 1, 0);
fd2 = iif( h  ref(h, 3) and fd1, 1, 0);
fd2 = iif( h  ref(h, 4) and fd2, 1, 0);

and the same for fu1, fu2, and fu3

Then it will plot OK
  - Original Message - 
  From: Mubashar Virk 
  To: amibroker@yahoogroups.com 
  Sent: April 25, 2009 5:55 PM
  Subject: [amibroker] HELP: Fractals are not Plotting


  Can someone please help with the following code. I am not getting the fractal 
shapes to plot.
  THanks in advance.

  COLOR = IIf(C  O, colorGreen, colorRed);

  
//SetChartOptions(0,chartShowDates|chartShowArrows|chartLogarithmic|chartWrapTitle);

  _N( Title = StrFormat( {{NAME}} -  + SectorID( 1 ) +  - {{INTERVAL}} 
{{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol  + WriteVal( V, 1.0 ) + 
 {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );

  Plot( C, Close, Color, styleBar | styleThick | styleNoTitle );

   

  _SECTION_BEGIN(F);

  //SetBarsRequired(200,0);

  FD1 = IIf((H  Ref(H,2) AND H  Ref(H,1) AND H  Ref(H,-1) AND H  
Ref(H,-2)),1,0);

  FD2 = IIf((H  Ref(H,3) AND H  Ref(H,2) AND H=Ref(H,1) AND H  Ref(H,-1) AND 
H  Ref(H,-2)),1,0);

  FD3 = IIf((H  Ref(H,4) AND H  Ref(H,3) AND H=Ref(H,2) AND H = Ref(H,1) AND 
H  Ref(H,-1) AND H  Ref(H,-2)),1,0);

   

  FU1 = IIf((L  Ref(L,2) AND L  Ref(L,1) AND L  Ref(L,-1) AND L  
Ref(L,-2)),1,0);

  FU2 = IIf((L  Ref(L,3) AND L  Ref(L,2) AND L = Ref(L,1) AND L  Ref(L,-1) 
AND L  Ref(L,-2)),1,0);

  FU3 = IIf((L  Ref(L,4) AND L  Ref(L,3) AND L = Ref(L,2) AND L = Ref(L,1) 
AND L  Ref(L,-1) AND L  Ref(L,-2)),1,0);

   

  PlotShapes( IIf(FD1 OR FD2 OR FD3, shapeSmallCircle,0) , colorOrange,0,H,10);

  PlotShapes( IIf(FU1 OR FU2 OR FU3, shapeSmallCircle,0) , colorLime,0,L,-10);

  _SECTION_END();




[amibroker] HELP: Fractals are not Plotting

2009-04-25 Thread Mubashar Virk
Can someone please help with the following code. I am not getting the fractal 
shapes to plot.
THanks in advance.

COLOR = IIf(C  O, colorGreen, colorRed);

//SetChartOptions(0,chartShowDates|chartShowArrows|chartLogarithmic|chartWrapTitle);

_N( Title = StrFormat( {{NAME}} -  + SectorID( 1 ) +  - {{INTERVAL}} 
{{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol  + WriteVal( V, 1.0 ) + 
 {{VALUES}}, O, H, L, C, SelectedValue( ROC( C, 1 ) ) ) );

Plot( C, Close, Color, styleBar | styleThick | styleNoTitle );

 

_SECTION_BEGIN(F);

//SetBarsRequired(200,0);

FD1 = IIf((H  Ref(H,2) AND H  Ref(H,1) AND H  Ref(H,-1) AND H  
Ref(H,-2)),1,0);

FD2 = IIf((H  Ref(H,3) AND H  Ref(H,2) AND H=Ref(H,1) AND H  Ref(H,-1) AND H 
 Ref(H,-2)),1,0);

FD3 = IIf((H  Ref(H,4) AND H  Ref(H,3) AND H=Ref(H,2) AND H = Ref(H,1) AND H 
 Ref(H,-1) AND H  Ref(H,-2)),1,0);

 

FU1 = IIf((L  Ref(L,2) AND L  Ref(L,1) AND L  Ref(L,-1) AND L  
Ref(L,-2)),1,0);

FU2 = IIf((L  Ref(L,3) AND L  Ref(L,2) AND L = Ref(L,1) AND L  Ref(L,-1) AND 
L  Ref(L,-2)),1,0);

FU3 = IIf((L  Ref(L,4) AND L  Ref(L,3) AND L = Ref(L,2) AND L = Ref(L,1) AND 
L  Ref(L,-1) AND L  Ref(L,-2)),1,0);

 

PlotShapes( IIf(FD1 OR FD2 OR FD3, shapeSmallCircle,0) , colorOrange,0,H,10);

PlotShapes( IIf(FU1 OR FU2 OR FU3, shapeSmallCircle,0) , colorLime,0,L,-10);

_SECTION_END();


Re: [amibroker] MT3 Plugin

2009-04-06 Thread Mubashar Virk
Me too.
And thanks in advance.


From: Ton Sieverding 
Sent: Monday, April 06, 2009 6:34 AM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] MT3 Plugin



Yes. I am Aron. Where can I download mentioned Plugin ?

Regards, Ton.

  - Original Message - 
  From: Aron 
  To: amibroker@yahoogroups.com 
  Sent: Monday, April 06, 2009 12:54 PM
  Subject: Re: [amibroker] MT3 Plugin


  If anyone is interested in mt3plugin for AB, let me know.

  Connectivity to:
  IBFX
  FXDD
  Alpari
  any other still supporting MT3






Re: [amibroker] MT3 Plugin

2009-04-06 Thread Mubashar Virk
Thank you.


From: Aron 
Sent: Monday, April 06, 2009 12:01 PM
To: amibroker@yahoogroups.com 
Subject: Re: [amibroker] MT3 Plugin


You can download the file form here






Re: [amibroker] Re: issue with plot shapes

2009-03-25 Thread Mubashar Virk
It is plotting fine with me - the lightblue as per condition, that is);
  - Original Message - 
  From: murthysuresh 
  To: amibroker@yahoogroups.com 
  Sent: Wednesday, March 25, 2009 10:47 PM
  Subject: [amibroker] Re: issue with plot shapes


  pl help with my prob below
  --- In amibroker@yahoogroups.com, murthysuresh mo...@... wrote:
  
   i am trying to plot the ones with Highest range in 7 bars in different 
colors. the criteria i am using is 
   averange = MA( H - L, 14 );
   rang = High - Low;
   hr = IIf( rang == HHV( rang, 7 ), shapeDigit7 ,shapeNone);
   PlotShapes( hr,IIf(hr averange*2,colorLightBlue, colorBlue), 0, L, -10 );
   
   basically if the hr2* averange, it should be colorLightBlue 
   
   In my case, i can see all the samples in colorBlue even though visually, i 
can find cases where it does not meet the criteria.
  


  


  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3960 (20090325) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


Re: [amibroker] Re: Yahoo becoming too unreliable to maintain this group...???

2009-03-23 Thread Mubashar Virk
Just happened to visit the forum: amibroker.org. That forum is 1 followed by 1 
million 0s times more superior to this Yahoo Mailing List.

Question: Why was the forum made inactive?

  - Original Message - 
  From: DStricek12 
  To: amibroker@yahoogroups.com 
  Sent: Monday, March 23, 2009 12:10 AM
  Subject: Re: [amibroker] Re: Yahoo becoming too unreliable to maintain this 
group...???



  Yahoo is fine.

- Original Message - 
From: Henrik Rasmussen 
To: amibroker@yahoogroups.com 
Sent: 22. ožujak 2009 16:35
Subject: Re: [amibroker] Re: Yahoo becoming too unreliable to maintain this 
group...???


I also prefer Yahoo groups to Forums. (I manage 28 Yahoo Goups).

The way I search in Yahoo groups, and I find it works very well, is to use 
the Google toolbar's search feature. I go to the Yahoo Group site and select 
the Messages area, then enter my search phrase in the Google toolbar. I then 
select Search Site. I get good results this way.

I am a member of many Forums also, and find that the majority have Search 
problems. I have never understood why this is the case, but it is a very common 
forum problem.

I also like the fact that I can easily receive and read these Yahoo emails 
on my Windows Mobile type cell phone. Most forums do not do well on the mobile 
platforms.

Rik Rasmussen






__ NOD32 3953 (20090321) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


  


  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3953 (20090321) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


Re: [amibroker] how to program this

2009-03-23 Thread Mubashar Virk
This will give you a simple hi-low activator.

Plot(Ref(MA(L,3),-1), , ColorRed);
Plot(Ref(MA(H,3),-1), , ColorGreen);

  - Original Message - 
  From: goukotegawa 
  To: amibroker@yahoogroups.com 
  Sent: Sunday, March 22, 2009 3:18 PM
  Subject: [amibroker] how to program this



  anyone know how to program this indicator using AMI??

  http://www.fibonaccitrader.com/HELP40/INDICATORS/hiloactivator.htm


  


  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3953 (20090321) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


[amibroker] HELP

2009-03-06 Thread Mubashar Virk
Guys, Please help. I am unable to change the color from GREEN to WHITE (when 
the RMO slope down in the positive region. Here is the whole code.
THANKS.

Len1 = Param(ma_len1,2,2,40,1);

Len2 = Param(sum_len2,10,2,40,1);

Len3 = Param(ema_len2,30,2,100,1);

Len4 = 81;

//Indicators

MAz = Cum(0);

MAy = C;



for (i = 1; i = Len2; i++)

{

MAy = MA(MAy, Len1);

MAz = MAz + MAy;

}

UpC = colorGreen;

DnC = colorOrange;

DnC1 = colorLightBlue;

ST1 = 100 * (C - (MAz / Len2)) / (HHV(C, Len2) - LLV(C, Len2));

RMO = EMA(ST1,Len4);

Color = IIf(RMO  0, UpC, IIf((RMO  0 AND RMO  Ref(RMO,-1)), colorWhite, 
IIf(RMO  0 AND RMO  Ref(RMO,-1), DnC1, DnC)));// THE PROBLEM AREA

PlotOHLC(0,RMO,0,0, RMO Oscillator,Color, styleCloud); 

  - Original Message - 
  From: brian_z111 
  To: amibroker@yahoogroups.com 
  Sent: Friday, March 06, 2009 3:20 PM
  Subject: OT: Re: Re: [amibroker] Re: update Saturn uranus opposition .


  I am not a fan of Astro Trading ... don't know anything about but I am not a 
fan of excessive censorship either.

  I don't have a problem with it if it is moderate and fair.

  I'm cool :-) 

  --- In amibroker@yahoogroups.com, Tomasz Janeczko gro...@... wrote:
  
   Brian,
   
   Cool down. You may be fan of astrology, but accept the fact that not 
everyone must be the same.
   I just asked to mark this thread as Off-Topic and I see nothing wrong with
   having two characters prepended to the subject line for easy filter.
   In my opinion it is off topic and that's it. Accept it pretty please with 
sugar on top.
   
   Best regards,
   Tomasz Janeczko
   amibroker.com
   - Original Message - 
   From: brian_z111 brian_z...@...
   To: amibroker@yahoogroups.com
   Sent: Friday, March 06, 2009 11:01 AM
   Subject: OT: Re: [amibroker] Re: update Saturn uranus opposition .
   
   
This mailing list is to discuss AmiBroker and AmiBroker-related stuff.
I guess that there are other lists where you can discuss astrology.
   
I thought it was a discussion on Astrological Trading, not Astrology per 
se, AND Natasha invited anyone from the group to discuss 
AmiBroker applications.
   
Did you read her posts and look at the attachments where she marked some 
astrologically significant points (her defintion not 
mine) on an AmiBroker chart?
   
Isn't that ON TOPIC.
   
OR I am misunderstanding N's posts and the forum' rules?
   
Please return to AmiBroker-related discussion or at least clearly mark
your off-topic threads as OT: in the subject line as per forum rules,
so people can filter out off-topic subjects automatically.
   
I agree that it is courtesy to mark OT as OT.
   
However, could you please clarify what is OT e.g. here are two of your 
posts ... one is a Youtube video where US interest rates 
are being discussed and another is a discussion on the US financial 
system and paper money.
   
They were both started by you and WERE NOT marked as OT.
   
http://finance.groups.yahoo.com/group/amibroker/message/114069
   
http://finance.groups.yahoo.com/group/amibroker/message/119088
   
I guess it depends on our personal viewpoint but I think Astrological 
Trading, where the Hulbert digest (an independent review) 
ranks AstroTraders as 1  2out of 10, for 2008, has more relevance to 
trading than commentary on economic indicators.
   
I notice that no one bothered to make an objective analysis of that claim 
e.g. is it a one off fluke OR has an AstroTrader been in 
the top ten on other occasions?
   
Many of the posters were too busy falling over themselves to try to be 
funny that they didn't have the time to follow their own 
Law of Objective Analysis'.
   
Also, Amibroker has built-in drawing tools for Gann Fans and Fibonacci 
and they have no scientific credibility so why single out 
Astro Trading as 'allowable for forum members to make 'innocent' fun of 
and post 'anus' jokes about'?
   
My inclination was to email the moderator asking him to take down the 
'fun poking' posts that were 'going nowhere' and 
collectively intended to ridicule Natasha.
   
Is there a difference between ridicule and humiliation?
   
   
   
--- In amibroker@yahoogroups.com, Tomasz Janeczko groups@ wrote:
   
Hello,
   
Sorry but this is OFF TOPIC discussion.
   
This mailing list is to discuss AmiBroker and AmiBroker-related stuff.
   
I guess that there are other lists where you can discuss astrology.
   
Please return to AmiBroker-related discussion or at least clearly mark
your off-topic threads as OT: in the subject line as per forum rules,
so people can filter out off-topic subjects automatically.
   
   
Best regards,
Tomasz Janeczko
amibroker.com
- Original Message - 
From: Natasha ~~!!!
To: amibroker@yahoogroups.com
Sent: Friday, March 06, 2009 7:41 AM
Subject: Re: [amibroker] Re: update Saturn uranus opposition .
   

Re: [amibroker] Re: HELP

2009-03-06 Thread Mubashar Virk
Thanks. I reliaze that. The problem is I unable to make seperate conditions :(
- Original Message - 
  From: Mike 
  To: amibroker@yahoogroups.com 
  Sent: Friday, March 06, 2009 11:51 PM
  Subject: [amibroker] Re: HELP



  Your IIF logic is flawed;
  You are saying that if RMO  0, then use UpC.
  If RMO is not  0 then the alternative (which includes a case for white) will 
be assigned. However, your condition within the alternative again looks for RMO 
 0, which of course is impossible, since if it was the original would have 
been selected.
  Color = IIf(RMO  0,
UpC,  --- When RMO  0 this one will always win
IIf((RMO  0 AND RMO  Ref(RMO,-1)),
  colorWhite,  --- This is impossible since you are asking for both 0 
= RMO  0
  IIf(RMO  0 AND RMO  Ref(RMO,-1),
DnC1,
DnC)));
  Mike

  --- In amibroker@yahoogroups.com, Mubashar Virk mvir...@... wrote:
  
   Guys, Please help. I am unable to change the color from GREEN to WHITE 
(when the RMO slope down in the positive region. Here is the whole code.
   THANKS.
   
   Len1 = Param(ma_len1,2,2,40,1);
   
   Len2 = Param(sum_len2,10,2,40,1);
   
   Len3 = Param(ema_len2,30,2,100,1);
   
   Len4 = 81;
   
   //Indicators
   
   MAz = Cum(0);
   
   MAy = C;
   
   
   
   for (i = 1; i = Len2; i++)
   
   {
   
   MAy = MA(MAy, Len1);
   
   MAz = MAz + MAy;
   
   }
   
   UpC = colorGreen;
   
   DnC = colorOrange;
   
   DnC1 = colorLightBlue;
   
   ST1 = 100 * (C - (MAz / Len2)) / (HHV(C, Len2) - LLV(C, Len2));
   
   RMO = EMA(ST1,Len4);
   
   Color = IIf(RMO  0, UpC, IIf((RMO  0 AND RMO  Ref(RMO,-1)), colorWhite, 
IIf(RMO  0 AND RMO  Ref(RMO,-1), DnC1, DnC)));// THE PROBLEM AREA
   
   PlotOHLC(0,RMO,0,0, RMO Oscillator,Color, styleCloud); 
   
   - Original Message - 
   From: brian_z111 
   To: amibroker@yahoogroups.com 
   Sent: Friday, March 06, 2009 3:20 PM
   Subject: OT: Re: Re: [amibroker] Re: update Saturn uranus opposition .
   
   
   I am not a fan of Astro Trading ... don't know anything about but I am not 
a fan of excessive censorship either.
   
   I don't have a problem with it if it is moderate and fair.
   
   I'm cool :-) 
   
   --- In amibroker@yahoogroups.com, Tomasz Janeczko groups@ wrote:
   
Brian,

Cool down. You may be fan of astrology, but accept the fact that not 
everyone must be the same.
I just asked to mark this thread as Off-Topic and I see nothing wrong with
having two characters prepended to the subject line for easy filter.
In my opinion it is off topic and that's it. Accept it pretty please with 
sugar on top.

Best regards,
Tomasz Janeczko
amibroker.com
- Original Message - 
From: brian_z111 brian_z111@
To: amibroker@yahoogroups.com
Sent: Friday, March 06, 2009 11:01 AM
Subject: OT: Re: [amibroker] Re: update Saturn uranus opposition .


 This mailing list is to discuss AmiBroker and AmiBroker-related stuff.
 I guess that there are other lists where you can discuss astrology.

 I thought it was a discussion on Astrological Trading, not Astrology 
per se, AND Natasha invited anyone from the group to discuss 
 AmiBroker applications.

 Did you read her posts and look at the attachments where she marked 
some astrologically significant points (her defintion not 
 mine) on an AmiBroker chart?

 Isn't that ON TOPIC.

 OR I am misunderstanding N's posts and the forum' rules?

 Please return to AmiBroker-related discussion or at least clearly mark
 your off-topic threads as OT: in the subject line as per forum rules,
 so people can filter out off-topic subjects automatically.

 I agree that it is courtesy to mark OT as OT.

 However, could you please clarify what is OT e.g. here are two of your 
posts ... one is a Youtube video where US interest rates 
 are being discussed and another is a discussion on the US financial 
system and paper money.

 They were both started by you and WERE NOT marked as OT.

 http://finance.groups.yahoo.com/group/amibroker/message/114069

 http://finance.groups.yahoo.com/group/amibroker/message/119088

 I guess it depends on our personal viewpoint but I think Astrological 
Trading, where the Hulbert digest (an independent review) 
 ranks AstroTraders as 1  2out of 10, for 2008, has more relevance to 
trading than commentary on economic indicators.

 I notice that no one bothered to make an objective analysis of that 
claim e.g. is it a one off fluke OR has an AstroTrader been in 
 the top ten on other occasions?

 Many of the posters were too busy falling over themselves to try to be 
funny that they didn't have the time to follow their own 
 Law of Objective Analysis'.

 Also, Amibroker has built-in drawing tools for Gann Fans and Fibonacci 
and they have no scientific credibility so why single out 
 Astro

Re: [amibroker] Composite Index formula

2009-03-05 Thread Mubashar Virk
HI,

Esasy was to find if a formula or script is available for AmiBroker:

Google for : Formula Name for AmiBroker or Formula Name+Amibroker.

Cheers

  - Original Message - 
  From: massandtime 
  To: amibroker@yahoogroups.com 
  Sent: Wednesday, March 04, 2009 12:36 AM
  Subject: [amibroker] Composite Index formula


  After many failed attempts to replicate an index, from MetaStock
  format, I am very hopeful someone can help me.

  The MetaStock Format

  A RSI(14)-REF(RSI(14),-9)+Mov(RSI(3),3,S);
  PLOT1 = Mov(A,13,S);
  Plot2 = Mov(A,33,S);
  A;Plot1;Plot2; 

  This is the Composite Index to Detect RSI Divergence Failure developed
  by Constance Brown and is presented in the Book ,Breakthroughs In
  Technical Analysis. New Thinking from the World's Top Minds.

  Does anyone have the this Index in Amibroker format?

  Chris


  


  __ Information from ESET NOD32 Antivirus, version of virus signature 
database 3910 (20090305) __

  The message was checked by ESET NOD32 Antivirus.

  http://www.eset.com


Re: [amibroker] Re: update Saturn uranus opposition .

2009-03-05 Thread Mubashar Virk
Forgive my bickering. Mumbo jumbo bring it out.
  - Original Message - 
  From: Natasha ~~!!! 
  To: amibroker@yahoogroups.com 
  Sent: Thursday, March 05, 2009 11:25 PM
  Subject: Re: [amibroker] Re: update Saturn uranus opposition .


  hey , 

  check it out  ..as mentioned in previous mail  .

Forget your bickers or whatever   .

This butterfly has great wings ..hop on it .. 

  There is money to be made ...

   Note : tomorrow is Venus retro 

   and march 11 seems to be appointment with  the devil .  




  As mentioned  in mail ...


  My Index targets are now revised downwards to ..

   Dow : 6655~6664first and then approx 5730 ... 

  Dow   6,696.23   179.61 (2.61%) 
 
 
   
   
   

   SP~500 : 728  696first   and then  619 approx .. 


 
   SP 500  687.33   25.54 (3.58%) 
   



  On 3/1/09, MAVIRK mvir...@gmail.com wrote:

How do you explain the recent phenomenon of sexy bickers at the AmiBroker 
Texas mailing list?
Also, do you know anything about the butterflies that flap their wings and 
cause great events to happen?

I WANT TO BELIEVE. 


From: Natasha ~~!!! 
Sent: Sunday, March 01, 2009 10:48 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: update Saturn uranus opposition .


hi ,

   An update on the astro chart . I have enclosed three more charts in 
addition to the original Saturn Uranus Opp chart .


  a.. first is the sp500 chart with the astro signature dates . 
  b.. next is a full moon chart which is due next week (important) 
  c.. Venus Echo point chart .
  sp 500 chart :

   shows the various times where the astro effects (aspects ) took place 
which are relevant .There are other effects also but they are not so relevant 
for medium term moves . 
   THE full moon last year on sept 2008 is shown . The first two Sat Uranus 
Opp dates are shown and the Venus echo point is shown .. 

   The longest running ASPECT (planet postions) and major for the financial 
markets is the Sat Uranus Oppositon .which takes every 45 years and lasts upto 
2010 .The first two are shown .As can be seen the markets sold off huge after 
both of them .
Nearly 1300pts , dow from Feb 5  NOTE : this aspect is not just for a 
market .It affects a major part of the planet .


full moon chart : The full moon on march 11 2009 is  ...as shown in 
chart .
 NOTE : this full moon is exactly 180 degrees to the full moon in Sept 
2008 (shown on chart of sp500 ) .during that full moon in 2008 the Major banks 
asked for a bailout and Jp morgan took over bear sterns on Sept 17 around that 
time .
  This time the full moon is exactly 180 degrees on the Zodiac .
to that full moon . and the most interesting thing is ..

Mar 11, 2009 2:38 AM Sun 20 Pis 40 Oppos Moo 20 Vir 40

check the coordinates of that full moon 20 Pisces 40 and check 

the FEB 5 SAT Uranus opposition Co ordinates ... (chart 1)

 Feb 5, 2009 10:56 AM (Jan 10 to Feb 20) Sat 20 Vir 40 Oppos Ura 20 Pis 40 

   THEY ARE THE SAME  

  and also those planets are very close by . 

 THIS IS CURTAINS for Global equity markets  . I think they are staring at 
an ABYSS . THEY ARE GOING TO TANK FURHTUR and badly ...

 Everyone online on the net everywhere i read  thinks of a imminent 
bear rally and a long term bottom  , I think around this date(full moon) 
mentioned above chances of another huge entity is going to conk out ..and take 
a lot of others with it ... and its mostly not going to get bailed out like 
Bear Sterns ..
 
  
  The venus echo point : The fourth chart : An echo point is a point 
which is already over . Those coordinates come when any planet gets RETROGRADE 
, means it moves reverse to motion of earth . This happens with venus and more 
with mercury .
The echo point is point where the planet goes to max reverse point and then 
moves again with direction of earth .(in brief ) .

One can expect a bottome to occur comfortably around that echo point 
coordinates and that is around ...the dates :

 NOTE : as shown on the gspc chart at those coordinates the mkts moved 
up substantially . 


  
Apr 17, 2009 7:24 PM Ven Direct 29 Pis 12

   when venus again stations and goes direct ..at the echo coordinates ... 

...  Other important dates are :: 

  Mar 6, 2009 5:17 PM Ven Rx 15 Ari 28 

   venus goes retrograde  

 ``
Mar 13, 2009 1:27 AM (Mar 12 to Mar 14) Sun 22 Pis 36 Conj Ura 22 Pis 36 

 Mar 8, 2009 7:53 PM (Mar 8 to Mar 9) Sun 18 Pis 23 Oppos Sat 18 Vir 23

Mar 23, 2009 6:35 PM (Mar 22 to Mar 24) Sun 3 Ari 16 Sqr Plu 3 Cap 16 

The above three days one can expect sharp downmoves approx around the date 
(  shown in brackets dates are when 

Re: [amibroker] Re: update Saturn uranus opposition .

2009-03-05 Thread Mubashar Virk
I hope you get it NOW, Ozzayapeman!!!
  - Original Message - 
  From: Natasha ~~!!! 
  To: amibroker@yahoogroups.com 
  Sent: Friday, March 06, 2009 9:06 AM
  Subject: Re: [amibroker] Re: update Saturn uranus opposition .


   Its very simple Ozzyapeman , i want to know if any other astrologer is 
there
  onboard here and what afls he has if he is willing to share even a plug in
  direct into amibroker for Planet data for the ephemeris  from any online 
websource .
 Thats why the trade and explaination to get him/her interested .  
 I have searched many other forums for such an individual using 
  astro with amibroker but no such  luck . No such luck here also upto today . 

  Other trading software do have planetary postions data 
  but they dont have amibroker backtester facilities for that . 

   The moon phases  afl is basic astro  and application  basic math only ,

   its not too effective unless you

  optimise the moon-phases which is against the basics of astro .

   Or if amibroker is contemplating any plans for the astro in future 
models 

  and upgrades . 

   Sorry if it spammed you .. 
 ..


  On 3/6/09, ozzyapeman zoopf...@hotmail.com wrote:
What do these astrology posts have to do with AB and AFL? 

Ozzyapeman fails to see the connection.

--- In amibroker@yahoogroups.com, Natasha ~~!!! 
ghostship.blackpar...@... wrote:

 *hey ,
 
 check it out ..as mentioned in previous mail .
 
 Forget your bickers or whatever .
 
 This butterfly has great wings ..hop on it ..
 
 There is money to be made ...
 
 Note : tomorrow is Venus retro
 
 and march 11 seems to be appointment with the devil .
 
 
 
 
 As mentioned  in mail ...
 
 
 My Index targets are now revised downwards to ..
 
 Dow : 6655~6664 first and then approx 5730 ...
 
 * Dow http://finance.yahoo.com/q?s=%5EDJI *6,696.23* [image: Down]
 179.61 (2.61%)*
 *
 
 
 
 * SP~500 : 728  696 first and then 619 approx ..
 
 *
 SP 500 http://finance.yahoo.com/q?s=%5EGSPC *687.33* [image: Down] 
25.54
 (3.58%)
 
 On 3/1/09, MAVIRK mvir...@... wrote:
 
  How do you explain the recent phenomenon of sexy bickers at the
  AmiBroker Texas mailing list?
  Also, do you know anything about the butterflies that flap their wings 
and
  cause great events to happen?
 
  I WANT TO BELIEVE.
 
  *From:* Natasha ~~!!! ghostship.blackpar...@...
  *Sent:* Sunday, March 01, 2009 10:48 PM

  *To:* amibroker@yahoogroups.com
  *Subject:* [amibroker] Re: update Saturn uranus opposition .
 
  hi ,
 
  An update on the astro chart . I have enclosed three more charts in
  addition to the original Saturn Uranus Opp chart .
 
 
  - first is the sp500 chart with the astro signature dates .
  - next is a full moon chart which is due next week (important)
  - Venus Echo point chart .
 
  sp 500 chart :
 
  shows the various times where the astro effects (aspects ) took place
  which are relevant .There are other effects also but they are not so
  relevant for medium term moves .
  THE full moon last year on sept 2008 is shown . The first two Sat Uranus
  Opp dates are shown and the Venus echo point is shown ..
 
  The longest running ASPECT (planet postions) and major for the financial
  markets is the Sat Uranus Oppositon .which takes every 45 years and 
lasts
  upto 2010 .The first two are shown .As can be seen the markets sold off 
huge
  after both of them .
  Nearly 1300pts , dow from Feb 5  NOTE : this aspect is not just for 
a
  market .It affects a major part of the planet .
 
 
  full moon chart : The full moon on march 11 2009 is ...as shown in
  chart .
  NOTE : this full moon is exactly 180 degrees to the full moon in Sept
  2008 (shown on chart of sp500 ) .during that full moon in 2008 the Major
  banks asked for a bailout and Jp morgan took over bear sterns on Sept 17
  around that time .
  This time the full moon is exactly 180 degrees on the Zodiac .
  to that full moon . and the most interesting thing is ..
 
  Mar 11, 2009 2:38 AM Sun 20 Pis 40 Oppos Moo 20 Vir 40
 
  check the coordinates of that full moon 20 Pisces 40 and check
 
  the FEB 5 SAT Uranus opposition Co ordinates ... (chart 1)
 
  Feb 5, 2009 10:56 AM (Jan 10 to Feb 20) Sat 20 Vir 40 Oppos Ura 20 Pis 
40
 
 
  THEY ARE THE SAME 
 
  and also those planets are very close by .
 
  THIS IS CURTAINS for Global equity markets . I think they are staring at
  an ABYSS . THEY ARE GOING TO TANK FURHTUR and badly ...
 
  Everyone online on the net everywhere i read thinks of a imminent
  bear rally and a long term bottom , I think 

Re: [amibroker] Re: update Saturn uranus opposition .

2009-03-05 Thread Mubashar Virk
I am sorry. I did not realize that I was bullying. I was just trying to have 
some innocent fun at the expense of the of astrology, which is also the second 
most successful trading philosophy/methodology known to mankind after the 
religion.

I hereby take this opportunity to aplogise to Natasha for my offense (that I 
did not intend). I also apologise to Messers Gann and Fibonacci and the 
followers for the implied second-hand bullying. I futher apologise for 
hogging the screen.

I will say no more on this topic.

Peace.

  - Original Message - 
  From: brian_z111 
  To: amibroker@yahoogroups.com 
  Sent: Friday, March 06, 2009 11:39 AM
  Subject: [amibroker] Re: update Saturn uranus opposition .


  Not picking on you Mubashar, but collectively some of the posts in this 
thread are getting very close to being internet bullying

  I doubt very much that you will ruffle Natashas (parrot) feathers but it is a 
matter of principle.

  If some one wants to discuss a 'left of center' trading idea in the forum why 
can't they?

  In this case:

  - Natasha is simply looking for like minded traders to talk to
  - she is interested in AFL applications
  - she is a long term member who doesn't hog the screen
  - a % of traders are interested in Astro trading (+Gann, +Fibonacci), 
including a few in this forum

  Not to mention the fact that she is a trading survivor so she must be doing 
something right.

  I have seen an awful lot of trading Mumbo Jumbo pass through this forum in 
the guise of AFL code.

  --- In amibroker@yahoogroups.com, Mubashar Virk mvir...@... wrote:
  
   I hope you get it NOW, Ozzayapeman!!!
   - Original Message - 
   From: Natasha ~~!!! 
   To: amibroker@yahoogroups.com 
   Sent: Friday, March 06, 2009 9:06 AM
   Subject: Re: [amibroker] Re: update Saturn uranus opposition .
   
   
   Its very simple Ozzyapeman , i want to know if any other astrologer is there
   onboard here and what afls he has if he is willing to share even a plug in
   direct into amibroker for Planet data for the ephemeris from any online 
websource .
   Thats why the trade and explaination to get him/her interested . 
   I have searched many other forums for such an individual using 
   astro with amibroker but no such luck . No such luck here also upto today . 
   
   Other trading software do have planetary postions data 
   but they dont have amibroker backtester facilities for that . 
   
   The moon phases afl is basic astro and application basic math only ,
   
   its not too effective unless you
   
   optimise the moon-phases which is against the basics of astro .
   
   Or if amibroker is contemplating any plans for the astro in future models 
   
   and upgrades . 
   
   Sorry if it spammed you .. 
   ..
   
   
   On 3/6/09, ozzyapeman zoopf...@... wrote:
   What do these astrology posts have to do with AB and AFL? 
   
   Ozzyapeman fails to see the connection.
   
   --- In amibroker@yahoogroups.com, Natasha ~~!!! ghostship.blackparrot@ 
wrote:
   
*hey ,

check it out ..as mentioned in previous mail .

Forget your bickers or whatever .

This butterfly has great wings ..hop on it ..

There is money to be made ...

Note : tomorrow is Venus retro

and march 11 seems to be appointment with the devil .




As mentioned  in mail ...


My Index targets are now revised downwards to ..

Dow : 6655~6664 first and then approx 5730 ...

* Dow http://finance.yahoo.com/q?s=%5EDJI *6,696.23* [image: Down]
179.61 (2.61%)*
*



* SP~500 : 728  696 first and then 619 approx ..

*
SP 500 http://finance.yahoo.com/q?s=%5EGSPC *687.33* [image: Down] 
25.54
(3.58%)

On 3/1/09, MAVIRK mvirk67@ wrote:

 How do you explain the recent phenomenon of sexy bickers at the
 AmiBroker Texas mailing list?
 Also, do you know anything about the butterflies that flap their wings 
and
 cause great events to happen?

 I WANT TO BELIEVE.

 *From:* Natasha ~~!!! ghostship.blackparrot@
 *Sent:* Sunday, March 01, 2009 10:48 PM
   
 *To:* amibroker@yahoogroups.com
 *Subject:* [amibroker] Re: update Saturn uranus opposition .

 hi ,

 An update on the astro chart . I have enclosed three more charts in
 addition to the original Saturn Uranus Opp chart .


 - first is the sp500 chart with the astro signature dates .
 - next is a full moon chart which is due next week (important)
 - Venus Echo point chart .

 sp 500 chart :

 shows the various times where the astro effects (aspects ) took place
 which are relevant .There are other effects also but they are not so
 relevant for medium term moves .
 THE full moon last year on sept 2008 is shown . The first two Sat Uranus
 Opp dates are shown and the Venus echo point is shown ..

 The longest running

Re: [amibroker] write a text juste above a ribbon

2009-03-02 Thread Mubashar Virk
BEAUTIFUL!!!
  - Original Message - 
  From: reinsley 
  To: amibroker@yahoogroups.com 
  Sent: Tuesday, March 03, 2009 3:55 AM
  Subject: Re: [amibroker] write a text juste above a ribbon



  Here is the little stuff. The idea is to decipher a trend-counter 
  trend-trend.

  Best Regards

  // Trix Bars number

  // Trix Bars number for each swing

  periods = Param( Periods, 5, 2, 200, 1 );
  TrixOnClose = Trix( periods );

  uptx = TrixOnClose = Ref( TrixOnClose, -1 );
  dntx = TrixOnClose = Ref( TrixOnClose, -1 );

  Peaktrix = TrixOnClose  Ref( TrixOnClose, -1 )AND TrixOnClose  Ref( 
  TrixOnClose, 1 );
  Troughtrix = TrixOnClose  Ref( TrixOnClose, -1 )AND TrixOnClose  Ref( 
  TrixOnClose, 1 ) ;

  BarsUp = BarsSince( dntx );
  BarsDn = BarsSince( uptx );

  Colortx = IIf( uptx , colorGreen, IIf( dntx , colorRed, colorGreen ) );

  Plot( TrixOnClose, Trix ( + periods + ) , Colortx, styleThick );

  // Trix's ribbon
  Ribbon = IIf( uptx , colorBrightGreen, IIf( dntx , colorRed, 
  colorBrightGreen ) );
  Plot( 3, , Ribbon , styleOwnScale | styleArea | styleNoLabel, 0, 100 );

  // plot a text at 5% from bottom's pane
  percent = Param( PositText%, 5, 2, 90, 0.5 );
  Miny = Status( axisminy );
  Maxy = Status( axismaxy );
  y = Miny + ( Maxy - Miny ) * percent / 100; // at 5 % above bottom of 
  the pane

  for ( i = 0; i  BarCount; i++ )
  {
  if ( Peaktrix [i] )
  PlotText(  + BarsUp [ i ], i - BarsUp [ i ] / 2 + 1, y, 
  colorGreen );

  if ( Troughtrix [i] )
  PlotText(  + BarsDn [ i ], i - BarsDn [ i ] / 2 + 1, y, 
  colorRed );
  }

  GraphXSpace = 10;

  reinsley a écrit :
  
  
   Thank you Aron, it's what I was looking for.
  
   Yofa, I keep your code to learn more about Gfx. Thank you
  
   Best regards
  
   Aron a écrit :
   
|
Plot(*C*,Price, *colorBlack*, *styleLine* );
   
   
Miny = Status(axisminy);
Maxy = Status(axismaxy);
y= Miny+ (Maxy - Miny) *20/100; // at 20%
   
*Buy*= Cross(RSI(), 50);
*for*( i = 0; i  *BarCount*; i++ )
{
*if*( *Buy*[i] ) PlotText( Buy:\n + *C*[ i ], i, y, *colorGreen* );
}
|
   
reinsley wrote:
   
Hi,
   
How can I write a text juste above a ribbon ?
   
I saw the KB's plot text examples but they refered to High, Low ...
   
Ribbon defines its height in percent of pane width and I suppose 
   starts
from the bottom
   
How can I place some text in % of a pane (Y axis) or always at the
bottom of a pane ?
   
Thank you for the help.
   
Best regards
   
_SECTION_BEGIN(trending ribbon);
uptrend=PDI()MDI()AND Signal()MACD();
downtrend=MDI()PDI()AND Signal()MACD();
Plot( 6, ribbon,
IIf( uptrend, colorGreen, IIf( downtrend, colorRed, 0 )),
styleOwnScale|styleArea|styleNoLabel, -0.5, 100 );
_SECTION_END();
dist = ATR(10);
for( i = 0; i  BarCount; i++ )
{
if( uptrend[i] ) PlotText( Buy + dist[ i ], i, dist[ i ]-dist[i],
colorGreen );
//if( downtrend[i] ) PlotText( Sell + dist[ i ], i, dist[ i 
   ]+dist[i],
colorRed, colorYellow );
}
   
   
   

   
 IMPORTANT PLEASE READ 
This group is for the discussion between users only.
This is *NOT* technical support channel.
   
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
   
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/ http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
   
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/ http://www.amibroker.com/devlog/
   
Yahoo! Groups Links
   
   
   
   
   
   
  
   


  

Re: [amibroker] OT: PC / Hard Disk Failure?

2008-09-16 Thread Mubashar Virk
Have you play around with backup PC bios after reinstalling the disk.?
I once had same problem. However, resetting the bios to default during the boot 
fixed the issue.


From: Ara Kaloustian 
Sent: Tuesday, September 16, 2008 8:55 PM
To: AB-Main 
Subject: [amibroker] OT: PC / Hard Disk Failure?



My backup PC will not boot up because disk does not contain (or can not access) 
critical bootup records.

I transfered disk to primary computer, ran chkdsk and fixed disk problems.

Transfered disk back to backup PC. It booted up ONCE. Then same problem!!

Does it sound like a failed disk (it's a fairly new disk) or PC is working 
improperly? (Interl Pentium PC)

Any suggestions???

TIA

ara

 

[amibroker] How about reviving AB's AFL and AT (yahoo) Groups

2008-08-30 Thread Mubashar Virk
Who came up with the bright idea of killing , AFL and AT groups and posting 
all the stuff over here.
Maybe, senior members would like to consider re-activating AFL, AT and even 
Plug-in Groups and have this one as a general purpose HOW TO group.
Just a thought.


From: brian_z111 
Sent: Saturday, August 30, 2008 5:08 AM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Help Manual



There are far too many Help Manual questions posted in this forum.

This takes up our valueable time answering questions that should have 
been answered by AmiBroker.

In fact they waste far more time than OT posts.

Our precious time would be far better spent answering more interesting 
questions.

Some of the features in AB aren't explained in the manual, some things 
are out of date and sometimes the explanations are a bit cryptic.

Example:

Prettify was added to the Formula Editor in beta version 5.04
- included in devlog under version 5.05 Feb08
- official release v5.10 in June08 which includes manual 5.10

Ami website PDF manual is still version 5.00

- Search PDF for prettify == nothing
- Search AB manual version 5.1 for prettify == nothing
- Use AB site search engine == nothing
- Google amibroker.com == 3 hits from devlog
- devlog records release but has no info about it and no explanation in 
the read me
- searched KB == nothing
- searched UKB == nothing

The screenshot of the FE edit dropdown menu, in the Help Manual is out 
of date (at least it looks different to my version 5.10)

http://www.amibroker.com/guide/w_afledit.html

The Devlog just says that the Prettify function was added ... looked in 
the AFL function list and couldn't find anything... is it a function or 
a function()?

New features should be explained in the official help manual that comes 
out immediately after the beta inclusion.
We should not have to search elsewhere but even if we do we, in this 
case, we still find nothing.

It shouldn't be up to volunteers to explain help manual items in this 
forum, or the UKB, or anywhere else.

It saves AB some effort if they don't have to keep the manual up to 
date but the effort is transferred to the volunteers, who have to 
answer it scores of times, instead of AB answering it once.

If we all took the rationalist approach, that some people are 
advocating e.g. users should have skills or lower their sights or pay 
Graham, and charged AB for the time we spend providing AB support then 
the program would cost thousands of dollars and wouldn't look so cheap, 
up against other software, afterall

brian_z



 Emoticon3.gif

Re: [amibroker] Re: Forum or Mailing List - please vote

2008-08-29 Thread Mubashar Virk
phpBB


From: brian_z111 
Sent: Friday, August 29, 2008 5:30 PM
To: amibroker@yahoogroups.com 
Subject: [amibroker] Re: Forum or Mailing List - please vote


I vote to move the UKB to a new forum provided it has email send and 
receive.

I will reformat my posts and do some new ones.

brian_z

--- In amibroker@yahoogroups.com, Tomasz Janeczko [EMAIL PROTECTED] 
wrote:

 Progster,
 
 I disagree, and not because of unexperience as you said.
 
 You did not hear private discussions about UKB therefore you have 
no idea
 about kind of layout capability expectations people have. They are 
way over top 
 any forum.
 
 Best regards,
 Tomasz Janeczko
 amibroker.com
 - Original Message - 
 From: progster01 [EMAIL PROTECTED]
 To: amibroker@yahoogroups.com
 Sent: Friday, August 29, 2008 1:01 PM
 Subject: [amibroker] Re: Forum or Mailing List - please vote
 
 
  Speaking of phpBB3 as the forum:
  
  --- In amibroker@yahoogroups.com, Tomasz Janeczko groups@ 
wrote:
 
  the forum is *very* limited when it comes to formatting the 
article.
  
  Wow, I have to disagree with that statement!
  
  Sorry to quibble with you on your own list, TJ, but I think the
  opinion you've expressed above is misleading to the
  uninformed/unexperienced (in phpBB3), and would be widely 
rejected by
  those who routinely use properly enabled phpBB3 Forums.
  
  PhpBB3 Forum, IMO, provides generous and easy-to-use formatting 
with
  control of text styles, in-line images, visual compression of 
large
  images into the page area, and far too many more specifics to list
  individually.
  
  PhpBB3 is not a pixel-by-pixel publishing layout program (is
  WordPress?), but that is irrelevant (IMO).
  
  What is relevant is that with only a very tiny learning curve 
phpBB3
  will allow anyone willing to make the slightest effort to produce 
very
  nice messages, with text styling, with blocks and indents, with
  images, with attached files, with segregated, selectable code 
blocks.
  
  If phpBB3 were to become the AB community forum platform, members
  would be unfettered from the very serious expressive/presentation
  limitations of the Yahoo email list format. The trade-off is 
that the
  whole ball of wax doesn't appear in your email inbox 
automatically (if
  that's what you are used to).
  
  If this change is adopted, I predict UKB in WordPress will become 
a
  lame duck. Virtually no one will use it, because phpBB3, properly
  configured, is _so much easier to use_, and perfectly adequate 
for all
  but the most demanding magazine-like presentations.
  
  
  
  
  
  
  
  
  
  
  
  Please note that this group is for discussion between users only.
  
  To get support from AmiBroker please send an e-mail directly to 
  SUPPORT {at} amibroker.com
  
  For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
  http://www.amibroker.com/devlog/
  
  For other support material please check also:
  http://www.amibroker.com/support.html
  Yahoo! Groups Links
  
  
 




 

Re: [amibroker] Anyone actually making money?

2008-07-31 Thread Chaudhry Mubashar Virk
Hi Louis,
Seven months, only. Give yourself more time.
Cheers


From: MarkK 
Sent: Thursday, July 31, 2008 2:45 PM
To: amibroker@yahoogroups.com 
Subject: RE: [amibroker] Anyone actually making money?



Louis,

First what is making money to you?

2% annual? 20%?  30%

What Mdd is acceptable to you?



Second, are you searching for that AFL that will make you money?  Trying to see 
where in the Library it may be?



AB is a tool that allows one to keep on track once they have their rules in 
place for trading





MarkK











From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Louis P.
Sent: Thursday, July 31, 2008 12:15 AM
To: amibroker@yahoogroups.com
Subject: [amibroker] Anyone actually making money?



Hi,

I was only wondering...  Anyone actually making money or making a living with 
AB and trading?

I've been working on ideas and plans for over 7 months now and didn't find 
anything convincing yet.  I've been searching daily data, then hourly, 
15-minute and now I am into 1-minute data and nothing seems satisfying.  Been 
searching RSI, MFI, ADX, MA, HHV, LLV... nothing seems to work.

So... Anyone is making consistent money with this, and if so, at which 
timeframe and how do you do it?  

I'm beginning to think about switching to tick database; it seems even 1-minute 
is too slow for intraday trading.  Anyone making money with 1-minute?

Thanks,

Louis


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.5.7/1581 - Release Date: 7/30/2008 6:56 
AM


 

Re: SV: [amibroker] Re: Anyone actually making money?

2008-07-31 Thread Chaudhry Mubashar Virk
JM, there is no single focal point to the discussion, apart form making money; 
unfortunately, as pointed out by many, this is not the proper forum for that. 


From: Jan Malmberg 
Sent: Thursday, July 31, 2008 7:00 PM
To: amibroker@yahoogroups.com 
Subject: SV: [amibroker] Re: Anyone actually making money?



Hi people,

I am a discretionary trader myself.



The whole discussion has now evolved to the point of know yourself etcetera. 
Then, why do you argue about discretionary versus system? Is it not obvious to 
you that some people's personality calls for a trading system, while others 
personality calls for a discretionary approach.



It seems to me that the focus of the discussion has been lost.



Best regards / JM




Från: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] För sidhartha70
Skickat: den 31 juli 2008 15:56
Till: amibroker@yahoogroups.com
Ämne: [amibroker] Re: Anyone actually making money?



Ohh Paul... I agree about knowing yourself as I said in my answer to
Brian. But that's a given surely...?? You only learn that from years
of trading and observing yourself... you can of course become informed
on the subject of yourself... there's plenty of literature on it...
Mark Douglas obviously.

But I stand by what I said... you can become a great trader by really
understanding trendlines, support  resistance in it's many forms and
studying price  volume action...

I know it... because I've seen it... and I've done it.

You have your techniques Paul... and good luck to you. Great if they
work for you. For me, this is what has worked for me...

Henrik thanks for your response. Good to see others agree.

Paul, might I suggest you get out more and make some more human
connections... you'd probably find you'd be happier, less angry, less
arrogant, less superior and might even enjoy some of this money you
make trading...

--- In amibroker@yahoogroups.com, Paul Ho [EMAIL PROTECTED] wrote:

 I'm still waiting for your to say something sensible, that's of value,
  rather than just dig everyone out...???
 
 LOL, I just told you. YOu cant become a good trader until you know 
 yourself, really know yourself. Knowing how to draw a few lines makes 
 you a TA guy, not a trader. understanding the market makes you a 
 market analyst. Even know how to develop a system doesnt make you a 
 trader either, you are merely a system developer. When you master 
 yourself, you are on your way to become a real trader.
 Just because you've been involved in trading for years, seeing others 
 making millions, no more makes your a trader than me an olympian just 
 because I've been watching olypmics for the last 45 years.
 You might think I'm slagging you off, but in years to come, you will 
 find out for yourself whats true.
 
 --- In amibroker@yahoogroups.com, sidhartha70 sidhartha70@ 
 wrote:
 
  Paul,
  
  I programme too... nothing wrong with programming and making your 
 life
  easier. And nothing wrong with asking for someone to 'throw you a
  bone' in that goal... I'm new to AFL. So what??
  
  I've been involved in trading for many years... market making, index
  arbitrage, statistical arbitrage, long/short prop etc.. many years.
  And some of the best money makers I've ever seen have been traders,
  not system traders, who genuinely have a great read of the market
  based off tape reading skills... they have achieved returns,
  consistently, that systems traders can only dream of...
  
  I've traded both... systems and otherwise... you can programme all 
 the
  most complicated indictaors you like... they are all based on the 
 same
  things tape reading is... which is price  volume action...
  
  I'm still waiting for your to say something sensible, that's of 
 value,
  rather than just dig everyone out...???
  
  --- In amibroker@yahoogroups.com, Paul Ho paul.tsho@ wrote:
  
   learn everything you can
   about trendlines, support  resistance and the old tape reading 
 skills
   and you will be miles ahead of 'system developers' in terms of
   actually understanding the markets and becoming a better trader.
   ...
   So you think understanding a few lines on the chart you will 
 become
  a better
   trader!!!
   So you think understanding the market will make you a better 
 trader!!!
   So you think you are miles ahead just because you know how to 
 draw a
  lines
   rather than a system trader who write a few hundred lines of 
 codes.
   NONE OF THE ABOVE WILL MAKE YOU A GOOD TRADER
   YOU WILL ONLY BECOME A GOOD TRADER IF YOU KNOW YOUSELF.
   
   I'LL KEEP THIS IN A SAFE PLACE AND USE IT AS A REPLY WHEN YOU ASK
  SOMEONE TO
   THROW YOU A BONE.
   
   
   
   From: amibroker@yahoogroups.com 
 [mailto:[EMAIL PROTECTED]
   On Behalf Of sidhartha70
   Sent: Thursday, 31 July 2008 10:47 PM
   To: amibroker@yahoogroups.com
   Subject: [amibroker] Re: Anyone actually making money?
   
   
   
   

  1   2   >