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

[amibroker] Re: PlotShapes with Trade Delay Question



PureBytes Links

Trading Reference Links

Try 
Ref(Buy,-1)*shapeStar
Dan


--- In amibroker@xxxxxxxxxxxxxxx, "ozzyapeman" <zoopfree@xxx> wrote:
>
> Hope someone can help with this very basic (maybe dumb) question. I 
have
> trade delays set to:  SetTradeDelays(1,1,1,1)
> 
> Therefore "Buy" is just the buy signal (not entry) and the actual 
entry
> price occurs at the next bar over, due to trade delay.
> 
> I want to plot an up arrow at the buy signal and a star at the 
actual
> entry.
> 
> This works for the buy signal:
> 
> PlotShapes(Buy * shapeUpArrow, colorOrange);
> 
> But what do I replace "?" with, in order to plot at the entry price:
> 
> PlotShapes(?,*shapeStar, ColorGreen);
> 
> I need to somehow specify "Buy signal plus one bar over" within the
> PlotShapes command, to plot at the entry.
>



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

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/