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

[amibroker] Plot Shapes



PureBytes Links

Trading Reference Links


Sorry for the 2 prev sends.  Tough to manage e-mail with the shakes... Better get a cup of coffee after I send this.. : )
Here's code that works and illustrates the point:
 SetTradeDelays(1, 1, 1, 1);
Buy = C > MA(C, 20);Sell = C < MA(C, 20); WhichEquity = Param("Which Equity Flavor 0 - 2?", 0, 0, 2, 1); if (WhichEquity == 1){   MyEquity = Equity(1);} if (WhichEquity == 2){  MyEquity = Equity(2);} if (WhichEquity == 0){  MyEquity = Equity();}Plot(C, "Close", colorDefault, styleCandle);Plot(MyEquity, "Equity", colorDefault, styleLine + styleLeftAxisScale);PlotShapes(Buy * shapeUpArrow + Sell * shapeDownArrow,                  Buy * colorBrightGreen + Sell * colorYellow, 0,                  Buy * L + Sell * H, -15);
 
 
 
		Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.