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

[amibroker] Is there a "Bars Since Entry" Function ?



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "finops_tonyshomework" 
<finops_tonyshomework@xxxx> wrote:
> I am trying to find a function that will let me access the 
> security "Information"--in particular I would like to use 
the "Point 
> Value" field.
> 
> Is there something like "Name()"?
> 
> Thanks!


Hello,
  Maybe this is what you want.
  I found this in the AmiBroker Users Guide under;

Tutorial: Back-testing systems for futures contracts



Point value


Point-value is per-symbol setting (definable in Symbol-Information 
window - (picture above)) that determines the amount of profit 
generated by one contract for a one point increase in price. Example: 
copper is quoted in cents per pound, a price quote of 84.65 (or 8465) 
equals 84 cents and 65/100 of a cent per pound. A change of +.37 or 
37 represents 37/100ths of a cent you will normally hear it quoted as 
37 points. But because of the fact that point value for copper is 2.5 
every point change gives $2.5 profit/loss, so in this example 
profit/loss for the day would be 2.5 * 37 = $92.50.

You can also set it from the formula level using PointValue reserved 
variable, for example:

PointValue = 2.5;


HaND,
Brian



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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:
     http://docs.yahoo.com/info/terms/