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

[amibroker] Re: 20-WMA shown as a Ribbon



PureBytes Links

Trading Reference Links

Thankyou for your suggestion reinsley.
Rowdy

--- In amibroker@xxxxxxxxxxxxxxx, reinsley <reinsley@xxx> wrote:
>
> 
> Hi,
> 
> This is not your request, but after a while and many attemps, it's 
> difficult to remember what the ribbon is.
> 
> You could appreciate this snippet...
> 
> Please, adapt your text " T3Classic cross T3reset " to fit your need.
> 
> Best regards
> 
> // plot a text at 0.5% from bottom's pane
> percent = Param( "PositText%", 0.5, 0, 90, 0.5 );
> Miny = Status( "axisminy" );
> Maxy = Status( "axismaxy" );
> y = Miny +  ( Maxy - Miny ) * percent / 100; // at 5 % above bottom of 
> the pane
> begbar = Status( "firstvisiblebar" ) ;
> PlotText( " T3Classic cross T3reset "  , begbar + 5 , y, colorWhite );
> 
> 
> rowdy358116 a écrit :
> >  
> > 
> > Thanks for your help Anthony, it's much appreciated.
> > Rowdy
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>, 
> > "Anthony Faragasso" <ajf1111@> wrote:
> >  >
> >  > Rowdy,
> >  >
> >  > Plot( Close, "Price", colorBlue, styleCandle );
> >  >
> >  >
> >  >
> >  > Plot( 5, /* defines the height of the ribbon in percent of pane width */
> >  >
> >  > "",IIf( WMA(C,20) < Low, colorGreen, IIf( WMA(C,20) > High, colorRed, 
> > 0 )), /* choose color */
> >  >
> >  > styleOwnScale|styleArea|styleNoLabel, -0.5, 100 );
> >  >
> >  > ----- Original Message -----
> >  > From: rowdy358116
> >  > To: amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>
> >  > Sent: Thursday, November 05, 2009 6:13 AM
> >  > Subject: [amibroker] Re: 20-WMA shown as a Ribbon
> >  >
> >  >
> >  >
> >  > Thanks for your reply and help Joris.
> >  > I wanted a ribbon that took up a little space as possible. And I 
> > wanted the ribbon to change colour when it changed direction.
> >  > Thanks Again
> >  > Rowdy
> >  >
> >  > --- In amibroker@xxxxxxxxxxxxxxx 
> > <mailto:amibroker%40yahoogroups.com>, "Joris M.schuller" <jmschuller@> 
> > wrote:
> >  > >
> >  > > /*
> >  > >
> >  > > Not sure what you want, but apart from that, there are at least 2 
> > ways to do
> >  > > this:
> >  > >
> >  > > 1. (2 panes). Plot the WMA in a separate pane directly underneath 
> > the Price
> >  > > pane (simplest)
> >  > >
> >  > > 2. (If same pane preferred)
> >  > >
> >  > > */
> >  > >
> >  > > Title = EncodeColor(4)+ _DEFAULT_NAME()+"; "+EncodeColor(1) +
> >  > > StrFormat("{{NAME}} - {{INTERVAL}}; {{DATE}}; O=%g, H=%g, L=%g, C=%g
> >  > > (%.1f%%)
> >  > >
> >  > > {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) );
> >  > >
> >  > > ScalingFactor=Param("ScalingFactor",10,1,20,0.25);
> >  > >
> >  > > P = ParamField("Price field",-1);// omit if only C required
> >  > >
> >  > > WMAPeriods = Param("WMAPeriods",20,2,100,1);
> >  > >
> >  > > WMAMin=LowestVisibleValue(WMA( C, WMAPeriods));//clamps the lowest 
> > WMA value
> >  > > on the bottom of pane; Alternative: WMAMin=LowestVisibleValue( L);
> >  > >
> >  > > WMAMax=HighestVisibleValue(WMA( C,WMAPeriods));//Alternative:
> >  > > WMAMax=HighestVisibleValue(H);
> >  > >
> >  > >
> >  > >
> >  > > Plot(C,"C",1,64);
> >  > >
> >  > > Plot( WMA( P,WMAPeriods ), "WMA("+WriteVal(WMAPeriods,1.0)+")",
> >  > > colorBlack,5); //use if choice between OHLC,AVG,OI and V is desired
> >  > >
> >  > > Plot( WMA( P,WMAPeriods ), "WMA("+WriteVal(WMAPeriods,1.0)+")",
> >  > > colorGreen,styleOwnScale|5,WMAMin,(WMAMax-WMAMin)*ScalingFactor);
> >  > >
> >  > > /* use if only C is used
> >  > >
> >  > > Plot( WMA( C,WMAPeriods ), "WMA("+WriteVal(WMAPeriods,1.0)+")",
> >  > > colorBlack,5);
> >  > >
> >  > > Plot( WMA( C,WMAPeriods ), "WMA("+WriteVal(WMAPeriods,1.0)+")",
> >  > > colorGreen,styleOwnScale|5,WMAMin,(WMAMax-WMAMin)*ScalingFactor);
> >  > >
> >  > >
> >  > >
> >  > > From: amibroker@xxxxxxxxxxxxxxx 
> > <mailto:amibroker%40yahoogroups.com> [mailto:amibroker@xxxxxxxxxxxxxxx 
> > <mailto:amibroker%40yahoogroups.com>] On Behalf
> >  > > Of rowdy358116
> >  > > Sent: Wednesday, November 04, 2009 9:54 PM
> >  > > To: amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com>
> >  > > Subject: [amibroker] 20-WMA shown as a Ribbon
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >
> >  > > Hello All,
> >  > > Can anyone show me how to put a 20-WMA on my charts as a ribbon on the
> >  > > bottom of the chart? I find MAs on the price chart clutter it up?
> >  > > Thankyou
> >  > > Rowdy
> >  > >
> >  > >
> >  > >
> >  > > No virus found in this incoming message.
> >  > > Checked by AVG - www.avg.com
> >  > > Version: 8.5.423 / Virus Database: 270.14.45/2476 - Release Date: 
> > 11/02/09
> >  > > 07:51:00
> >  > >
> >  >
> > 
> >
>




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

**** 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-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/