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

Re: [amibroker] Re: two "ownscale" indicators out of sync graphically



PureBytes Links

Trading Reference Links

Nice solution !

fMACD = MACD( 6, 19 );
fSignal = Signal( 6, 19, 9 );

Plot( fMACD, "\nCurrent chart MACD", colorGreen, styleLine );
Plot( fSignal, "\nCurrent chart Signal", colorGreen, styleDashed  );

axismin = Status("axisminy");
axismax = Status("axismaxy");

Plot( fMACD, "\nCurrent chart MACD ownScale", colorRed, styleLine | 
styleOwnScale, axismin, axismax  );
Plot( fSignal, "\nCurrent chart Signal ownScale", colorRed, styleDashed 
| styleOwnScale, axismin, axismax );


reinsley a écrit :
>  
> 
> 
> I have forgotten these options. TJ, you old devil ! You tought of
> everything...
> 
> It's a good opportunity to master minvalue and maxvalue.
> 
> Thank you Mike.
> 
> Mike a écrit :
>  >
>  >
>  > You could try passing arguments to the Plot function for min and max 
> values.
>  >
>  > Mike
>  >
>  > --- In amibroker@xxxxxxxxxxxxxxx <mailto:amibroker%40yahoogroups.com> 
> <mailto:amibroker%40yahoogroups.com>,
>  > "Reinsley" <reinsley@xxx> wrote:
>  > >
>  > > Hi,
>  > >
>  > > As soon as we plot two "ownscale" indicators onto a third indicator
>  > "autoscale",the graphic is not correct while the values are right (it's
>  > the specification of ownscale, of course).
>  > >
>  > > In the following snippet, red Macd-Signal cross is graphically out of
>  > sync.
>  > > Green couple is graphically correct (autoscale).
>  > >
>  > > Does it exist an easy way to synchronise the "ownscales plots"
>  > between them, supposing they are close enough as in Macd and its signal ?
>  > >
>  > > Best regards
>  > >
>  > >
>  > >
>  > > fMACD = MACD( 26, 12 );
>  > > fSignal = Signal( 26, 12, 9 );
>  > >
>  > >
>  > > Plot( fMACD, "\nCurrent chart MACD", colorGreen, styleLine );
>  > > Plot( fSignal, "\nCurrent chart Signal", colorGreen, styleDashed );
>  > >
>  > >
>  > > Plot( fMACD, "\nCurrent chart MACD ownScale", colorRed, styleLine |
>  > styleOwnScale );
>  > > Plot( fSignal, "\nCurrent chart Signal ownScale", colorRed,
>  > styleDashed | styleOwnScale );
>  > >
>  >
>  >
> 
> 



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

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