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

Re: [amibroker] HOW TO PLOT RESULTS IN NEXT BARS



PureBytes Links

Trading Reference Links

For 1 bar after the last bar shift # is 1, for 2 bars after the last bar shift # is 2 and so on. The way you are doing it you are shifting the computed value just 1 bar to the right. So you need to write your plot statement keeping in view the number of bars you want to shift the data to the right.



On 6/3/07, Vinay Gakkhar. <vgakkhar@xxxxxxxxxxx> wrote:
I have written three different formulas to give me three different values. I want to plot the results one after the other after the last bar - I mean first formula's result should be plotted in the first bar after the last bar giivng today's EOD price or today's last price if prices are IEOD; and similarly second formula's result should be plotted in the second bar after the last bar giving today's price; and similarly third formula's result should be plotted in the third bar.

I wrote

Plot ( Formula1 , " Formula1" , colorRed , styleLine , XShift = 1 )

but this gave me all the three results in the same one single bar which is giving today's price, not in the next three bars one after the other as I want.

What mistake am I doing?

What should I do now?

Best regards,

gakkhar


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

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


__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

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

__,_._,___