Here is an example of how to ask for help:
The following code counts the number of bars since the beginning of
2016. Is there a more efficient way of doing this?
//Counts the number of bars since the beginning of 2016
BarsSince_ = IIf(DateNum() >= 1160101,Cum(1),0);
BarsBefore_ = Highest(IIf(DateNum() <= 1160101,Cum(1),0));
TotalBars = IIf(DateNum() <= 1160101,0,BarsSince_ - BarsBefore_);
Plot(TotalBars,"Total Number of Bars Since the beginning of 2016 = ",
colorblack);
On 3/5/2016 9:11 AM, fxshrat wrote:
> Nope, you are absolutely correct.
>
>
>
> Alan alan@thenorthams.us [amibroker] wrote:
>> Anyone from the group disagree with this assessment? -Alan
>
>
__._,_.___
Posted by: Alan <alan@thenorthams.us>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (5) |
Check out the automatic photo album with 1 photo(s) from this topic.

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
.
__,_._,___
EmoticonEmoticon