[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Indicator Request



PureBytes Links

Trading Reference Links

Hi Francois,

Here is an ongoing project re Bill Williams Profitunity System. It 
contains the indicators you mentioned plus some extra goodies. Import 
the file into the custom folder in the AFL Charts section. The colors 
are set up for a black background so might require some tweaking.

Hope this helps,

Wayne

Francois Germain wrote:

>Hi,
>
>I would like to see if people on the group have access to some AFL to draw a
>few indicators that I am looking for in AB.
>
>I would like: 
>
>Alligator
>Awesome Oscillator
>Fractals
>NRTR
>
>Can someone hook me up with these?
>
>Thanks!
>Francois
>
>
>-----Original Message-----
>From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
>Of ronbo
>Sent: Monday, October 10, 2005 1:15 PM
>To: amibroker@xxxxxxxxxxxxxxx
>Subject: [amibroker] RE: IB backfill for bonds....
>
>I don't have QT so i can't check it---
>
>Are you saying the backfill on QT correctly BACKFILLS these symbols?? or
>correctly displays TODAY'S data.  AB also displays correct data while you
>are logged on, but a later backfill will overwrite it.
>
>i have personally used the backfill from the browser based TWS and it works
>fine, but it is a Beta and a version greater than what is available for the
>standalone (iow there is no beta yet for the standalone), so i have no doubt
>what the TS folks on IB say is true---but if you find that different, you
>should email support@xxxxxxxxxxxxxx
>
>ron
>
>  
>
>>Seems that not is a IB problem. QuoteTracker graphs correctly the
>>symbols (ZN,ZB ...)
>>    
>>
>
>
>-----Original Message-----
>From: notify@xxxxxxxxxxxxxxx [mailto:notify@xxxxxxxxxxxxxxx]On Behalf Of
>oblongo0
>Sent: Monday, October 10, 2005 1:58 AM
>To: ronbo
>Subject: Re: IB backfill for bonds....
>
>
>--- In amibroker@xxxxxxxxxxxxxxx, "ronbo" <ronbo@xxxx> wrote:
>  
>
>>IB is aware.  they will release an update to the standalone TWS
>>    
>>
>soon---SO
>  
>
>>THEY SAY!!.  i've been waiting for 2 weeks for it!!  the problem
>>    
>>
>is--it's
>  
>
>>just whole numbers which are backfilled---no fractions/decimals.
>>
>>you can use the browser version of TWS to backfill ZB & ZN.  this
>>    
>>
>works for
>  
>
>>me.  When using the standalone version, do NOT Backfill the ZB nor
>>    
>>
>ZN cuz
>  
>
>>it'll replace the good data with whole numbered data.
>>
>>This is not an AB problem.
>>
>>hth, ron
>>    
>>
>
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.344 / Virus Database: 267.11.13/124 - Release Date: 10/7/2005
>
>
>
>
>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 other support material please check also:
>http://www.amibroker.com/support.html
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>
>
>
>
>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 other support material please check also:
>http://www.amibroker.com/support.html
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>.
>
>  
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
_SECTION_BEGIN("Profitunity Sys");
GraphXSpace= 5;
GraphZOrder= 1;

price= (H+L+2*C)/4;


//Awesome Oscillator

price= (H+L)/2;

AO= MA(price,5) - MA(price,34);

AOcolor= IIf(AO > Ref(AO,-1), 42, 32);


// Chaos Accelerator_AC

price= (H+L)/2;

AC= MA(price,5) - MA(price,34) - MA(MA(price,5) - MA(price,34),5);

ACcolor= IIf(AC > Ref(AC,-1),42,32);

Colorbar= IIf(AOcolor == 42 AND ACcolor == 42, 42, IIf(AOcolor == 32 AND ACcolor == 32, 32, 55));


Plot(Close,"Price",Colorbar,styleCandle);



/*The following builds Fractal Up*/

var1=ValueWhen((Ref(H,-2) > Ref(H, -4)) AND(Ref(H,-2) > Ref(H, -3)) AND
(Ref(H,-2) > Ref(H, -1)) AND (Ref(H,-2) > H), Ref(H,-2),1); 

FractalUp= HighestSince(var1>0,var1,1);
Plot(FractalUp,"Fractal Up",28,24);



/*The following builds Fractal Down*/

var2= (Ref(L,-2) <= Ref(L, -1)) AND (Ref(L,-2) <= Ref(L, 0)) AND
(Ref(L,-2) <= Ref(L, -3)) AND (Ref(L,-2) <= Ref(L, -4));

FractalDown= ValueWhen( var2,Ref(L,-2),1);
Plot(FractalDown,"FractalDown",28,24);

/*********************/

//Alligator

Jaw= Wilders(price,13);
Teeth= Wilders(price,8);
Lips= Wilders(price,5);

Plot(Jaw,"Jaws",29,4|styleNoLabel,Null,Null,8);
Plot(Teeth,"Teeth",32,4|styleNoLabel,Null,Null,5);
Plot(Lips,"Lips",34,4|styleNoLabel,Null,Null,3);



//Title version


PC=TimeFrameGetPrice("C",inDaily,-1); 
CHG=100*((Close-PC)/PC); 

Title= Name()+"     "+ WriteVal(Interval()/60,1)+ " Min. "+EncodeColor
(colorBrightGreen) +"   Open- "+WriteVal(Open,1.4)+"   High- "+WriteVal(High,1.4)
+"   Low- "+WriteVal(Low,1.4)+EncodeColor(42)+"   Close- "+WriteVal(Close,1.4) +
"    Change: "+WriteVal(CHG,1.2,1)+" %";  
_SECTION_END();
//Awesome Oscillator

GraphXSpace= 5;

price= (H+L)/2;
percent= 3;

AO= MA(price,5) - MA(price,34);

AOcolor= IIf(AO > Ref(AO,-1), 42, 32);

Plot(AO,"AO",AOcolor,2+4); 

PlotGrid(0,55);

AOcrossUp= IIf(AO > 0 AND Ref(AO,-1) < 0,AO*2.5,Null);
AOcrossDn= IIf(AO < 0 AND Ref(AO,-1) > 0,AO*2.5,Null);

AOsaucerUp= IIf(AO > Ref(AO,-1) AND Ref(AO,-1) < Ref(AO,-2) AND AO > 0,AO*1.2,Null);
AOsaucerDn= IIf(AO < Ref(AO,-1) AND Ref(AO,-1) > Ref(AO,-2) AND AO < 0,AO*1.2,Null);

AO2peakUp= IIf(LLV(AO,-1) > LLV(AO,-34) AND AO < 0,AO*2.5,Null);
AO2peakDn= IIf(Peak(AO,5,1) < Peak(AO,5,2) AND AO > 0,AO*2.5,Null);


Plot(AOcrossUp,"",34,24);
Plot(AOcrossDn,"",34,24);

Plot(AOsaucerUp,"",55,24);
Plot(AOsaucerDn,"",55,24);

Plot(AO2peakUp,"",44,24);
//Plot(AO2peakDn,"",44,24);
// Chaos Accelerator_AC

price= (H+L)/2;

AC= MA(price,5) - MA(price,34) - MA(MA(price,5) - MA(price,34),5);

ACcolor= IIf(AC > Ref(AC,-1),42,32);

Plot(AC,"AC",ACcolor,2+4);

PlotGrid(0,55);