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

Re: [amibroker] Re: Someone please guide me



PureBytes Links

Trading Reference Links

It is already built into the plot function:
SYNTAX  Plot( array, name, color/barcolor, style = styleLine, minvalue = {empty}, maxvalue = {empty}, XShift = 0 ) 

Vinay Gakkhar. wrote:
Dear Barry,

Thanks for your guidance.

I perhaps did not word my query correctly. I do not want the result for  
one bar forward or backward, I want to plot the existing result to be  
plotted one bar ahead of its usual place. And I also want to know how to  
plot it more than one bar, say 5 bars, ahead of its usual place.

Best regards,

Vinay


On Thu, 06 Nov 2008 09:51:34 +0530, Barry Scarborough  
<razzbarry@xxxxxxxxxxxx> wrote:

  
You can use Ref to move it forward or backward. But it is dangerous
to move it forward and will not work correctly on the last bar. Try
Plot( Ref(CP1, 1), "CP1"...., Then try Plot( Ref(CP1, -1), "CP1"....,
and see which you like better.

Barry

 --- In amibroker@xxxxxxxxxxxxxxx, "Vinay Gakkhar." <vgakkhar@xxx>
wrote:
    
I want to shift the result of the following to the next bar instead
      
of the
    
current bar. What should I add?

Plot( CP1, "CP1", ParamColor("Color", colorRed ), styleDots |
ParamStyle("Style") | GetPriceStyle() );


And if I want to see if after 5 bars, what should I add?

Thanks.

Vinay

      

    



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

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

*********************
TO GET TECHNICAL 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

<*> 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-digest@xxxxxxxxxxxxxxx 
    mailto: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/


  
__._,_.___

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

*********************
TO GET TECHNICAL 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

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___