PureBytes Links
Trading Reference Links
|
This is some code i found in the archives
BarsInTrade=IIf(Sell, BarsInTrade=BarsSince(Buy),
BarsInTrade=BarsSince(Short));
MaximumPrice=HHV(H,BarsInTrade);
MinimumPrice=LLV(L,BarsInTrade);
MFE=IIf(Sell, 100 * (MaximumPrice-BuyPrice)/BuyPrice, 100 *
(ShortPrice-MinimumPrice)/ShortPrice);
MAE=IIf(Sell, 100 * (MinimumPrice-BuyPrice)/BuyPrice, 100 *
(ShortPrice-MaximumPrice)/ShortPrice);
this calc includes the buy signal bar in the total number of points
that the trade goes against you. Since i am buying on the CLOSE of the
buy signal bar this bar should not be part of the calc. I want to see
how many points it goes against me after in enter the trade
Is there a way to modify this so that i can see max points against
after the close of the entry bar??
thanks for the help
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 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/
<*> 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/
|