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

Re: [amibroker] Re: Showing buy sell prices with arrows?



PureBytes Links

Trading Reference Links

Perhaps you can modify this to meet your needs, just append it to the end of your system's code. Sell and Buy prices must be defined.


herman


Plot(C,"Close",colorBlack,styleBar);

PlotShapesIIf(BuyshapeSmallCircleshapeNone),colorGreen0BuyPrice0  );

PlotShapesIIfSellshapeSmallCircleshapeNone),colorRed0 ,SellPrice0 ); 

FirstVisibleBar = Status"FirstVisibleBar" );

Lastvisiblebar = Status("LastVisibleBar");

for( b = Firstvisiblebar; b <= Lastvisiblebar AND b < BarCount; b++)

       {

       ifBuy[b] )                 PlotText("\n Buy\n "+NumToStr(BuyPrice[b],1.2),b,BuyPrice[b],colorBrightGreen);

       else ifSell[b] )        PlotText("\n Sell\n "+NumToStr(SellPrice[b],1.2),b,SellPrice[b],colorRed);

       }


Sunday, April 22, 2007, 12:20:51 PM, you wrote:


> --- In amibroker@xxxxxxxxxxxxxxx, "David Smith" <david.smith5@xxx> 

> wrote:


>> I have just tried the function Plot(BuyPrice, "Buy", colorGreen, 

> styleLine),

>> & called exrem before this to filter extra buy/sell signals, but 

> just seem

>> to get a line from every entry signal.  What I was trying to do was 

> show for

>> actual trades, the buy sell price with the arrow for an actual 

> trade taken.

>> Is this actually possible in AB?

>>  



> In AB is possible to see on a chart the arrows for the actual trades 

> taken.


> From the AA windows, after a backtest, just go with the mouse in the 

> trade by trade report, rightclick and then choose the option "Show 

> arrows for actual trades".


> As far as I know there's no way to get a "tag" inside the bar, 

> showing the price level at what the trade was triggered.


>  




> 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

__,_._,___