PureBytes Links
Trading Reference Links
|
Hello,
I have been trying to code a simple formula but have been stuck at a
couple of points.
I want to Compute the Gains made by a scrip over the last 15 Days
ie, If On Day 1, Scrip moves by 15 points, the 15 point should be added
to a temporary storage value. On the next day, if Scrip gains another 5
points, the Temp value should reflect 20, else if scrip has moved down,
it should remain at 15. This should continue for 15 days (ie, this
formula will look at the last 15 Days data and compute the same). The
value hence derived should be able to be used outside of the array
where it gets generated since the value is just one part of the formula.
Thanks
***S***
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/
|